TTS
Speech Synthesis
Murivo-TTS
African NLP
Flow Matching
On-Device AI
Open Source

From Brazilian Portuguese to Nigerian Tongues: How Murivo-TTS Was Built in 21 Million Parameters

November 12, 2026 13 min read
From Brazilian Portuguese to Nigerian Tongues: How Murivo-TTS Was Built in 21 Million Parameters

From Brazilian Portuguese to Nigerian Tongues: How Murivo-TTS Was Built in 21 Million Parameters

Explore the Murivo-TTS collection on Hugging Face

Most modern text-to-speech systems trade efficiency for scale. Large models can sound excellent, but their memory footprint and latency make them difficult to run on a laptop, an edge device, or an offline conversational assistant.

Murivo-TTS began with a different question: could a compact flow-matching model preserve natural speech while making high-quality synthesis practical for under-served African languages? Starting from Anurag Kanade’s lightweight Rápido TTS, a 20.9M-parameter architecture was adapted into four open-source checkpoints for Yorùbá, Hausa, Igbo, and English.

Each checkpoint is about 42 MB, runs offline, produces native 48 kHz audio through a continuous VoxCPM2 AudioVAE, and reaches between 12.0× and 13.6× real-time generation in cloud GPU measurements.

1. The starting point: a 42 MB speech model

Rápido TTS showed that a small non-autoregressive flow-matching Transformer could generate useful speech without the parameter count associated with much larger TTS systems. Its 20.9M-parameter DiT, compact text stack, and continuous audio representation provided a practical donor model.

The acoustic backbone was retained while the language-facing layers were adapted. This matters for transfer learning: the model already knew useful properties of speech, including timing, spectral structure, and the relationship between text conditioning and vocal latents. Rebuilding those priors from random initialization would have required more data and would have made the project less accessible to researchers working with modest compute.

The result is a four-model suite:

2. The architecture

Murivo keeps the core flow-matching path compact and separates language normalization from acoustic generation:

Text normalization and phoneme IDs
              |
              v
Text encoder + duration predictor
              |
              v
RoPE acoustic aligner
              |
              v
20.9M Flow-Matching DiT
              |
              v
25 Hz continuous speech latents
              |
              v
VoxCPM2 48 kHz AudioVAE

The DiT contains eight layers, six attention heads, AdaLN conditioning, and SwiGLU feed-forward blocks. During inference, Euler integration follows a straight interpolation path from Gaussian noise to the target speech latent distribution:

x_t = (1-t)x_0 + tx_1
(dx_t / dt) = v_theta(x_t, c, t)

With 16 to 20 integration steps, the model resolves speech latents quickly instead of decoding a long sequence autoregressively.

The final audio stage uses the continuous VoxCPM2 AudioVAE from OpenBMB. Its 64-dimensional latent representation operates at 25 Hz and decodes directly to 48 kHz audio. That gives Murivo a full-band output path without depending on discrete RVQ token streams or a lossy 24 kHz mel-spectrogram handoff.

3. Teaching a Portuguese donor model new orthographies

The hardest part of cross-lingual transfer was not adding a language label. It was preserving the orthographic information that carries meaning in Nigerian languages.

Hausa requires hooked consonants such as ɓ, ɗ, ƙ, and ƴ, as well as apostrophe glottal stops. Yorùbá and Igbo require tonal marks, subdot vowels, and Unicode combining characters. Text was normalized to Unicode NFC before tokenization so that precomposed and combining forms would not create inconsistent vocabulary entries.

Donor-mapped embeddings were also used for characters missing from the Portuguese vocabulary. A new ɓ token started near the acoustic representation of b, ọ near o, and ṣ near s, with a small amount of Gaussian jitter. This gave the language layers a sensible starting point instead of forcing every new glyph to learn from random noise.

English needed a different solution. Because spelling alone does not reliably identify pronunciation, the English pipeline uses offline eSpeak-ng IPA phonemes with an embedded CMU-derived dictionary. Words such as “cough,” “tough,” and “through” therefore reach the acoustic model as pronunciation-aware input rather than ambiguous letters.

4. The two-stage training curriculum

The models were trained in two stages so the checkpoints could gain regional phonetic coverage without losing the donor model’s stable acoustic behavior.

Stage 1: studio acoustic foundation

The first stage used the OpenBible Multilingual Dataset. For the first 2,500 steps, the DiT was frozen. The optimizer updated the text encoder, character embeddings, aligner, and duration predictor at a learning rate of 2 × 10⁻⁴.

This warmup forced the Nigerian-language text representations into the existing speech manifold. From step 2,501 to step 3,500, all 20.9M parameters were unfrozen at 2 × 10⁻⁵ for acoustic blending. Meta MMS forced alignment supplied word boundaries and syllable timing targets for the duration predictor.

Stage 2: conversational prosody

Studio readings give clean pronunciation, but they can sound formal. The Benjamin Ogbonna Nigerian Common Voice dataset was used for conversational adaptation. Voice activity detection removed dead air and restricted clips to a two-to-seven-second range. A micro learning rate of 1 × 10⁻⁵ helped the models absorb more natural pacing while protecting the acoustic clarity learned in Stage 1.

For the English checkpoint, LJSpeech was added after the OpenBible foundation and Nigerian Common Voice adaptation. LJSpeech provided a clean, consistent English-speaker reference set for stabilizing pronunciation, stress, and sentence-level prosody. The English recipe therefore combines OpenBible, Nigerian Common Voice, and LJSpeech rather than treating the English model as a simple by-product of the Nigerian-language runs.

5. Evaluation and what the numbers mean

Round-trip evaluations were run on 100 held-out sentences per language from Google FLEURS. Each sentence was synthesized, rendered at 48 kHz, and transcribed by frozen ASR judges: Meta MMS-1B language adapters for Yorùbá, Hausa, and Igbo, and Whisper Large v3 for English.

LanguageCharacter accuracyCERWERGeneration speed
Yorùbá78.2%21.8%79.6%12.1× real time
Hausa76.4%23.6%65.4%12.0× real time
Igbo76.8%23.2%60.3%13.6× real time
English92.4%7.6%15.0%12.2× real time

These figures need context. Tonal languages remain difficult for automatic judges, including when the audio comes from native human speakers. On the same benchmark, the reported human baselines leave substantial room between a synthesized signal and a perfect transcription. The benchmark is therefore useful for measuring progress, but it is not a substitute for listening tests or native-speaker review.

The practical result is a small, fast set of checkpoints that can run locally. The models are intended for offline assistants, language-learning tools, accessibility software, and experiments where a 300M-plus model is too expensive or too large.

6. Listen to the Models: Official Audio Showcase

Here are direct synthesis samples generated by all four models, streamed from their Hugging Face repositories at native 48 kHz. Each player points to the released WAV file, so readers can listen without downloading the full checkpoint.

🟢 Yorùbá (samuelolubukun/murivo-tts-21m-yoruba)

SampleAudio playerUtterance
1Ọjọ́ kọ̀ọ̀kan ń fún wa ní àǹfààní tuntun láti kọ́ ohun tuntun àti láti túbọ̀ dára sí i nínú ohun tí a ń ṣe.
Every day gives us another opportunity to learn something new and become better at what we do.
2Ẹ̀kọ́ ń ṣí ilẹ̀kùn sí àwọn àǹfààní tuntun, ó sì ń ran àwọn ènìyàn lọ́wọ́ láti kọ́ ọjọ́ ọ̀la tó dára.
Education opens doors to new opportunities and helps people build a better future.
3Nígbà tí àwọn ènìyàn bá ṣiṣẹ́ pọ̀ tí wọ́n sì pín ìmọ̀ wọn, wọ́n lè ṣe àwọn ohun ńlá.
When people work together and share their knowledge, they can achieve great things.

🔵 Hausa (samuelolubukun/murivo-tts-21m-hausa)

SampleAudio playerUtterance
1Da haƙuri da jajircewa, za mu iya shawo kan matsaloli kuma mu cim ma manufofin da muka sanya wa kanmu.
With patience and determination, we can overcome challenges and achieve our goals.
2Fasaha tana sauya yadda muke rayuwa, sadarwa, da magance matsaloli a cikin al’ummominmu.
Technology is changing how we live, communicate, and solve problems.
3Ana gina al’umma ta gari bisa girmamawa, fahimtar juna, da son taimakon juna.
A good community is built on respect, understanding, and a willingness to help.

🟡 Igbo (samuelolubukun/murivo-tts-21m-igbo)

SampleAudio playerUtterance
1Ọdịnihu anyị chọrọ na-amalite site na mkpebi anyị na-eme taa na mbọ anyị na-agba n’ọrụ anyị.
The future we want begins with today’s decisions and the effort we put into our work.
2Asụsụ na omenala anyị bụ akụkụ dị mkpa nke njirimara anyị, anyị ga-echekwakwa ha maka ọgbọ ndị na-abịa n’ọdịnihu.
Our languages and cultures are important parts of who we are.
3Ezi ọganihu na-abịa mgbe anyị ji ihe ọmụma na ikike anyị eme ka ndụ dịrị ndị ọzọ mma.
True progress comes when we use our knowledge to make life better for others.

⚪ English (samuelolubukun/murivo-tts-21m-english)

The English checkpoint combines the OpenBible and Nigerian Common Voice stages with LJSpeech stabilization and the offline eSpeak-ng/CMU IPA pronunciation path.

SampleAudio playerUtterance
1Every day gives us another opportunity to learn something new and become better at what we do.
2Education opens doors to new opportunities and helps people build a better future.
3When people work together and share their knowledge, they can achieve great things.

If a browser does not render the inline players, the same WAV files can be opened directly from the model repositories linked above.

7. What comes next

Murivo-TTS is a starting point for compact regional speech systems, not a claim that one benchmark captures every dimension of language quality. The next improvements should come from broader speaker coverage, stronger native-speaker evaluation, better tone-aware scoring, and more transparent measurements on low-power CPUs.

The central lesson is simple: useful speech technology does not always require a massive model. Careful vocabulary design, staged transfer learning, aligned data, and an efficient decoder can make a small checkpoint serve languages that are often left out of mainstream speech tooling.

The work builds on Rápido TTS, the OpenBible corpus, Nigerian Common Voice, the LJSpeech dataset for English stabilization, VoxCPM2, and Meta’s MMS tooling. Murivo-TTS is released so others can inspect the approach, reproduce the experiments, and build applications for Nigerian languages.

Samuel Olubukun

Samuel Olubukun

Full Stack AI & Machine Learning Engineer

I focus on applied AI, machine learning, production AI systems, autonomous agents, and full-stack applications.

Tags:
TTS
Speech Synthesis
Murivo-TTS
African NLP
Flow Matching
On-Device AI
Open Source