
Table of Contents
- From Cairo to the Cape: Engineering Murivo-TTS Octa in 8 Languages with 21 Million Parameters
- 1. The objective: eight African languages in an edge-friendly footprint
- 2. The architectural stack
- 3. Built-in multi-speaker support: 41 pretrained voices
- 4. The data engine: multi-source acoustic ingestion
- 5. The data-cleaning and alignment pipeline
- 6. Audio showcase: eight languages
- 7. Benchmark results
- 8. Running inference locally
- 9. Looking forward
From Cairo to the Cape: Engineering Murivo-TTS Octa in 8 Languages with 21 Million Parameters
Explore the Murivo-TTS Octa model on Hugging Face
Murivo-TTS Octa asks whether one compact speech model can cover eight African languages without sacrificing pronunciation, timing, or practical deployment speed. The model carries 20.97 million parameters, produces native 48 kHz audio, and fits into an approximately 40 MB FP16 PyTorch checkpoint. An INT8 ONNX build is 15.5 MB.
The eight-language release covers speech varieties across West, East, and Central Africa:
- 🟢 Swahili (
sw_ke): 95.1% phonetic accuracy, 20.4% WER - 🔴 Luo (
luo_ke): 92.8% phonetic accuracy, 34.5% WER - 🟡 Fulfulde / Fula (
ff_sn): 89.2% phonetic accuracy, 41.5% WER - 🔵 Hausa (
ha_ng): 88.2% phonetic accuracy, 88.5% toneless accuracy - 🟣 Luganda (
lg_ug): 87.4% phonetic accuracy - 🟠 Igbo (
ig_ng): 83.3% phonetic accuracy - 🟤 Twi (
twi_gh): 82.6% phonetic accuracy - 🟢 Yorùbá (
yo_ng): 81.0% toneless accuracy and 62.1% strict tonal accuracy
The release includes model weights, ONNX conversion, evaluation scripts, and native audio samples in the Murivo-TTS Octa Hugging Face repository.
1. The objective: eight African languages in an edge-friendly footprint
Multilingual speech systems often grow into the hundreds of millions or billions of parameters. That makes them expensive to run on local machines and difficult to deploy in regions where power, bandwidth, and GPU access are limited.
Murivo-TTS Octa started with a narrower engineering target: extend a compact 20.9M-parameter Flow-Matching Diffusion Transformer to eight languages while keeping synthesis faster than 15× real time on standard GPUs.
The model was initialized from the pre-trained English checkpoint samuelolubukun/murivo-tts-21m-english. The Octa adaptation expands the vocabulary, adds dedicated language and speaker conditioning heads, and shares a single acoustic generator across Bantu, Chadic, Niger-Congo, Nilotic, and Senegambian language families.
2. The architectural stack
Murivo-TTS Octa uses an optimal-transport flow-matching path connected to a continuous neural audio autoencoder:
Pan-African orthography and UTF-8 token IDs
|
v
Multi-syllabic duration predictor
|
v
Language and speaker conditioning bus
|
v
20.97M Flow-Matching DiT
|
v
64-dimensional latents at 25 Hz
|
v
VoxCPM2 continuous AudioVAE
|
v
Native 48 kHz waveformThe DiT contains eight layers, six attention heads, a hidden dimension of 384, an intermediate dimension of 1024, SwiGLU activations, and Adaptive LayerNorm conditioning. The acoustic latents use a 64-dimensional continuous space sampled at 25 Hz. VoxCPM2 decodes those latents to a 48 kHz waveform.
Language and speaker conditioning
A shared acoustic model is useful only if the conditioning path preserves language-specific structure. Murivo-TTS Octa therefore separates language and speaker information through dedicated conditioning slots. The training loop assigns speaker slots spk=0..7 while the language embeddings identify the target phonetic system.
This prevents the model from treating Swahili rhythm, Yorùbá tone, Hausa implosives, and Luganda’s agglutinative word lengths as interchangeable acoustic patterns.
Flow matching in a compact model
The DiT learns a velocity field between Gaussian noise and target speech latents. A straight interpolation path can be written as:
x_t = (1 - t)x_0 + tx_1
(dx_t / dt) = v_theta(x_t, c, t)With a small number of integration steps, the model generates the continuous speech representation without the sequential decoding cost of a traditional autoregressive TTS system.
3. Built-in multi-speaker support: 41 pretrained voices
Murivo-TTS Octa includes 41 individually trained speaker embedding vectors inside its acoustic model parameter table, spk_emb.weight, with each embedding using 384 dimensions. This enables multi-speaker synthesis without an additional fine-tuning pass, voice-cloning delay, or adapter overhead.
The speaker catalog is organized into three groups:
- Default language anchors, slots 0–7: Hausa (0), Yorùbá (1), Igbo (2), Swahili (3), Twi (4), Luganda (5), Fulfulde (6), and Luo (7).
- Generic multi-speaker slots, slots 8–23: alternate gendered voice timbres covering F1–F4, Female 1–4, M1–M4, and Male 1–4.
- Dedicated FLEURS native speakers, slots 24–40: benchmark speaker profiles including
swahili_fleurs_spk0,swahili_fleurs_spk1,hausa_fleurs_spk0,hausa_fleurs_spk1,yoruba_fleurs_spk0,yoruba_fleurs_spk1,igbo_fleurs_spk0,igbo_fleurs_spk1,luo_fleurs_spk0,luo_fleurs_spk1,fulfulde_fleurs_spk0,fulfulde_fleurs_spk1,luganda_fleurs_spk0,luganda_fleurs_spk1,luganda_fleurs_spk2,english_fleurs_spk0, andenglish_fleurs_spk1.
This design separates language conditioning from speaker identity. A single compact checkpoint can therefore produce the default native anchor for each language, alternate voice timbres, or profiles aligned with the human speakers represented in the FLEURS evaluation set.
4. The data engine: multi-source acoustic ingestion
Training eight languages in one 21M-parameter model requires more than a large undifferentiated audio folder. The data engine combines targeted broadcast, studio, and conversational sources so each language receives enough phonetic and prosodic coverage.
Google WaxalNLP broadcast corpus
The main multilingual source includes:
- Swahili:
swa_tts, 1,387 broadcast clips - Fulfulde:
ful_tts, 3,100 Sahelian studio clips - Luganda:
lug_tts, 1,608 clean clips - Luo:
luo_tts, 1,552 Nilotic clips - Twi:
twi_tts, 872 Akan clips - Hausa:
hau_tts, 1,572 clean clips - Igbo:
ibo_tts, 1,552 clean clips - Yorùbá:
yor_tts, 1,500 clips
Regional studio anchors
The multilingual corpus was supplemented with targeted sources:
- NaijaVoices (
naijavoices/naijavoices-dataset) for culturally grounded Nigerian intonation across Hausa, Yorùbá, and Igbo. - Dedicated Yoruba studio data (
Hidi-agili/yoruba_tts_dataset) for a high-clarity female acoustic reference and tonal stability. - Multilingual OpenBible Speech (
multilingual-tts/open-bible) for consistent narrative cadence across Swahili, Twi, Luganda, and Hausa.
Stratified multilingual batching
Randomly shuffling this data would allow the largest or cleanest corpora to dominate training. The training loop instead uses stratified multilingual batches with dedicated speaker conditioning slots. Every optimization step receives balanced exposure across the phonetic families, reducing catastrophic forgetting and preventing one language’s rhythm from distorting another’s.
5. The data-cleaning and alignment pipeline
Small multilingual models are sensitive to noisy boundaries and inconsistent loudness. Murivo-TTS Octa uses several preprocessing stages before latent extraction.
Neural voice isolation and boundary leveling
DeepFilterNet 3 suppresses background noise, room reverb, and preamp hiss in 48 kHz recordings. A raised-cosine Hanning fade is applied over 25 ms at zero-crossing boundaries to remove DC-offset pops and vocoder squeaks. Uniform 0.95 peak normalization brings quieter Fulfulde and Luganda recordings into the same broadcast-level range as the other sources.
Adaptive multi-syllabic duration modeling
African languages contain both short grammatical particles and long compound words. A standard duration predictor can swallow a one-character particle or rush a long agglutinative word.
Murivo-TTS Octa applies two protections:
- Short-word protection: isolated particles receive a minimum of four latent frames, or 160 ms, so tone markers and prepositions remain audible.
- Compound-word protection: long words receive an adaptive floor of
0.95frames per phoneme to preserve rhythmic pacing.
Atomic tone normalization
The text frontend converts combining Unicode sequences into NFC-normalized precomposed forms. This binds tone marks to their host vowels and prevents token fragmentation from creating floating duration offsets during flow matching. The vocabulary covers Hausa implosives and hooked consonants, Yorùbá and Igbo diacritics, Akan open vowels ɛ and ɔ, and the orthographies of the other four languages.
Meta MMS forced alignment
Meta’s mms-300m multilingual forced aligner extracts word boundaries. The resulting timing supervision is passed into the duration and RoPE alignment layers so the DiT receives explicit syllable timing rather than inferring every boundary only from acoustic loss.
6. Audio showcase: eight languages
The following samples are hosted directly in the Murivo-TTS Octa Hugging Face repository at native 48 kHz.
Part 1: one concept across eight languages
The shared sentence expresses the idea: “Every new day gives us an opportunity to learn something good and make a positive difference in the lives of the people around us.”
| Language | Audio player | Native transcript |
|---|---|---|
| Swahili | Kila siku mpya inatupa fursa ya kujifunza kitu kizuri na kuleta mabadiliko chanya. | |
| Hausa | Kowace sabuwar rana tana ba mu damar koyon wani abu mai kyau. | |
| Yorùbá | Olukaluku ojo titun fun wa ni anfaani lati ko nkan ti o dara. | |
| Igbo | Ụbọchị ọhụrụ ọ bụla na-enye anyị ohere ịmụta ezi ihe. | |
| Luganda | Buli lunaku olupya lutuweereza omukisa okuyiga ekintu ekirungi. | |
| Fulfulde | Kala ñalawma keso ina hokka en feere janngude huunde moƴƴere. | |
| Luo | Kiny ka kiny ma nyien miyowa thuolo mar puonjore gimoro maber. | |
| Twi | Da foforo biara ma yɛn kwan sɛ yɛbɛsua ade pa bi. |
Part 2: held-out references and synthesis
These samples place human reference audio beside Murivo-TTS Octa synthesis for the held-out evaluation sentences.
| Language | Ground-truth reference | Murivo-TTS Octa synthesis | Transcript |
|---|---|---|---|
| Swahili | Moja ya tatu ya sitini ni ishirini, au theluthi ya sitini ni ishirini. | ||
| Hausa | Za a samu kadawar iska kadan-kadan. | ||
| Yorùbá | Àkàrà àti bọ́tà jẹ́ ọlọ́rọ̀ ènìyàn oúnjẹ. | ||
| Igbo | otu gbakwunyere abụọ bu atọ | ||
| Luganda | Olunaku Olusooka mu mwaka abantu abasinga baluyingirira mu masinzizo. | ||
| Fulfulde | Korwal ngal goobu cooyo; ɓernde, nde goobu haako ina nataa e dow korwal ngal. | ||
| Luo | Od bura maduong mar piny Kenya yudore e boma ma Nairobi. | ||
| Twi | Wɔwo wo Yawoada a, wɔfrɛ wo Yaw. |
7. Benchmark results
Evaluation used a round-trip speech-recognition protocol with Meta MMS-1B-all (facebook/mms-1b-all) on Google FLEURS test samples and held-out splits. Synthesized audio was transcribed by the frozen ASR model and compared with the reference text.
| Language | Test split | Strict phonetic accuracy | Word accuracy | Human reference accuracy | Speed |
|---|---|---|---|---|---|
| Swahili | FLEURS test | 95.1% | 79.6% | 87.7% | 18.3× real time |
| Luo | FLEURS test | 92.8% | 65.5% | 75.6% | 17.0× real time |
| Fulfulde | FLEURS test | 89.2% | 58.5% | 54.6% | 20.6× real time |
| Hausa | FLEURS test | 88.2% | 51.6% | 76.8% | 16.7× real time |
| Luganda | FLEURS test | 87.4% | 43.8% | 56.0% | 18.0× real time |
| Igbo | FLEURS test | 83.3% | 49.8% | 61.1% | 19.6× real time |
| Twi | Waxal holdout | 82.6% | 37.2% | 50.9% | 12.9× real time |
| Yorùbá | FLEURS test | 62.1% strict, 81.0% toneless | 18.5% | 79.4% strict, 44.2% word | 17.0× real time |
What the benchmark shows
Fulfulde surpassed the human reference on word accuracy. Murivo-TTS Octa reached 58.5% compared with 54.6% for the human FLEURS recordings. Clean studio priors and reduced room reverb made the synthetic speech easier for the ASR judge to transcribe.
Latency stayed low across the language set. The reported real-time factors range from 12.9× to 20.6×, with the fastest configurations generating a five-second sentence in under 260 milliseconds on standard GPU hardware.
Yorùbá needs tone-aware interpretation. Strict character accuracy falls to 62.1% because MMS is highly sensitive to pitch accents. Toneless phonetic accuracy reaches 81.0%, showing that the consonants, vowels, and vocabulary remain substantially intact even when the tonal judge penalizes the output.
Why the scores differ by language
The benchmark should be read as a phonetic and deployment evaluation, not as a single measure of human listening quality. The same Meta MMS-1B-all recognizer transcribed both synthesized audio and human reference recordings under identical conditions.
- Swahili reached 95.05% character accuracy and 79.64% word accuracy at 18.3× real time. Its regular Latin orthography and open-syllable rhythm transferred cleanly into the shared model.
- Luo reached 92.75% character accuracy at 17.0× real time. Most of the word-level gap came from apostrophe contractions and ASR segmentation rather than broad phonetic failure.
- Fulfulde was the only language to exceed the human reference on word accuracy: 58.51% for Murivo-TTS Octa versus 54.60% for the human recordings. Clean studio priors and reduced room noise made the synthetic audio easier for MMS to transcribe.
- Hausa reached 88.20% strict and 88.48% toneless accuracy. Hooked consonants were preserved, while spacing, hyphenation, and clitic segmentation widened the WER gap.
- Luganda reached 87.38% character accuracy at 17.97× real time. Its long agglutinative words make WER look harsher because one character error can mark an entire word as incorrect.
- Igbo reached 83.31% strict character accuracy and 83.38% toneless accuracy. The close scores indicate that sub-dot vowels and the underlying vowel system were retained well.
- Twi reached 82.63% character accuracy despite the smallest WaxalNLP training slice, with 12.85× real-time throughput.
- Yorùbá is the clearest example of why tone-aware scoring matters. Strict character accuracy was 62.08%, but toneless accuracy rose to 80.97%. MMS penalizes tone-mark substitutions heavily even when native listeners can recover the intended word from the spoken context.
Error-rate and deployment reference
| Language | WER | CER | Toneless CER | RTF | Throughput |
|---|---|---|---|---|---|
| Swahili | 20.36% | 4.95% | 4.95% | 0.055× | 18.30× real time |
| Luo | 34.51% | 7.25% | 7.25% | 0.059× | 16.96× real time |
| Fulfulde | 41.49% | 10.82% | 10.82% | 0.049× | 20.55× real time |
| Hausa | 48.39% | 11.80% | 11.52% | 0.060× | 16.73× real time |
| Luganda | 56.16% | 12.62% | 12.62% | 0.056× | 17.97× real time |
| Igbo | 50.18% | 16.69% | 16.62% | 0.051× | 19.63× real time |
| Twi | 62.80% | 17.37% | 17.37% | 0.078× | 12.85× real time |
| Yorùbá | 81.49% | 37.92% | 19.03% | 0.059× | 16.99× real time |
The evaluation used unseen Google FLEURS test splits for seven languages and an unseen WaxalNLP holdout for Twi. The results support the main deployment claim: a 20.97M-parameter model can synthesize intelligible multilingual speech between 12.85× and 20.55× real time while remaining small enough for local CPU or GPU inference.
8. Running inference locally
The Hugging Face repository contains the 40 MB PyTorch checkpoint and the 15.5 MB INT8 ONNX build. Clone the repository first, then install the minimal dependencies:
pip install torch soundfile numpy onnxruntimePython API: PyTorch FP16
from infer import MurivoSynthesizer
import soundfile as sf
# Supported languages: swahili, hausa, yoruba, igbo,
# luganda, fulfulde, luo, and twi.
synth = MurivoSynthesizer(language="swahili", device="cuda")
# Use device="cpu" when a CUDA device is unavailable.
audio = synth.synthesize(
text="Kila siku mpya inatupa fursa ya kujifunza kitu kizuri.",
steps=24,
speed=1.0,
)
sf.write("output_swahili.wav", audio, 48000)Edge and mobile deployment: ONNX Runtime INT8
The 15.5 MB quantized ONNX model can run in Python, C++, Rust, Node.js, or a mobile application:
import onnxruntime as ort
session = ort.InferenceSession("murivo_tts_octa_int8.onnx")9. Looking forward
Murivo-TTS Octa shows that multilingual speech synthesis across African languages does not require a model with hundreds of millions of parameters. A compact flow-matching generator, continuous audio latents, language and speaker conditioning, careful duration modeling, and disciplined preprocessing can produce useful voices across diverse phonetic families.
The model weights, INT8 ONNX build, and audio samples are available in the Murivo-TTS Octa Hugging Face repository.
