Small, fast German and English text to speech with zero-shot voice cloning, trained from scratch. A 4-step distilled flow-matching model on 25 Hz audio latents: 25 M parameters run per step, about 110 M in total with text, voice and audio codecs. It speaks 12× faster than real time on a single CPU core, and runs offline. It streams: text can arrive piece by piece, for example from a language model, and every finished sentence is spoken right away. Code and weights are Apache 2.0, and commercial use is allowed.
| Languages | German (main), English (limited) |
| Voice | any voice from a 3 to 8 second reference recording (zero-shot cloning) |
| Output | 24 kHz mono |
| Speed (whole pipeline) | 12× real time on 1 CPU core, 46× on 8 CPU cores, 152× on an Apple M3 Pro (MLX), about 100× on an RTX 4070 |
| Intelligibility, unseen speakers | 4.7 % WER in German (real recordings: 9.1 %), 2.1 % in English (real: 2.6 %), Whisper large-v3 |
| Streaming | sentence by sentence while the text is still arriving; first sentence after 0.07 s on a GPU, 0.1–0.4 s on a CPU |
| Sampling | 4 network passes per sentence, no classifier-free guidance at inference |
| Training data | 850 h of licensed speech from 60,498 speakers (CC0 / CC BY 4.0 / public domain) |
| License | Apache 2.0 for code and weights |
| Version | Weights | Code | For |
|---|---|---|---|
| PyTorch | this repository | eigenhand/articulino | Python on CPU or GPU; reference implementation and specification |
| ONNX (fp32, fp16, int8) | -ONNX | eigenhand/articulino-onnx | ONNX Runtime without PyTorch, also in the browser |
| GGUF (F32, F16, Q8_0) | -GGUF | eigenhand/articulino.cpp | C++ engine on ggml (CPU, Vulkan), no Python |
| MLX (fp32, fp16, q8) | -MLX | eigenhand/articulino-mlx | Apple silicon, 152× real time on an M3 Pro |
Every clip is made with say() at seed 0, straight from the text shown (digits, units and symbols go through the
German text frontend), with the voice prompt below. The prompt is a synthetic voice made from the author's own studio
recording with a radio-like effect, published with his consent.
Voice prompt:
| Text | Audio |
|---|---|
| Guten Morgen! Dein Termin beim Zahnarzt ist heute um 15:30 Uhr in der Bahnhofstraße 7. | |
| Die Stromrechnung über 87,40 € ist am 15.11. fällig; das PDF liegt in deinem Postfach. | |
| Es gilt E = mc², und die Lichtgeschwindigkeit beträgt rund 300.000 km/s. | |
| The delivery arrives tomorrow between ten and twelve. |
pip install "articulino[hub] @ git+https://github.com/eigenhand/articulino"
from articulino import TTS
tts = TTS.from_pretrained("eigenhand/Articulino-DE-EN-Realtime-Stream-TTS") # or a local folder; GPU if there is one
tts.set_voice("voice.wav") # 3–8 s of clean speech from someone who agreed to this
speech = tts.say("Guten Morgen! Der Termin ist um 15:30 Uhr.", path="morgen.wav")
print(speech.duration, speech.sample_rate) # seconds, 24000
say() returns the audio as a float32 NumPy array between -1 and 1, its sample rate and the seed. With path, it also
writes a WAV file. Text goes through the German text frontend first, which spells out numbers, dates, times, money,
units, phone numbers, formulas, e-mail and web addresses, and spells out abbreviations letter by letter (PDF →
„peh deh eff“). Long text is split into sentences, and each sentence is generated on its own.
| Option | Values | Default |
|---|---|---|
language |
"de", "en" |
"de" |
speed |
0.7 to 1.6 | 1.0 |
seed |
non-negative integer; the same seed gives the same audio | 0 |
normalize |
run the German text frontend | True |
path |
a .wav file |
none |
Words in the other language can be marked inside a sentence: "Das [en]Meeting[/en] ist verschoben.".
Marked parts skip the German frontend, and so does language="en": write numbers in English words there.
stream(): speak while the text is still comingimport sounddevice as sd # pip install sounddevice
def llm_tokens(): # any iterator of text pieces, e.g. tokens from a language model
yield from ["Guten Mor", "gen! Heute ", "regnet es ab 18 Uhr. ", "Nimm einen Schirm mit."]
with sd.OutputStream(samplerate=24000, channels=1, dtype="float32") as speaker:
for chunk in tts.stream(llm_tokens()):
speaker.write(chunk) # one chunk per sentence
stream() collects incoming text until a sentence is complete, then speaks it at once. The first sentence plays
while the rest is still being written, and every later sentence is ready long before the previous one has finished
playing. Streaming happens between sentences, not inside one: a sentence's audio comes in one piece. Sentences of
fewer than 20 letters wait for the next one, and very long ones are split at commas, so no piece is too short to
sound natural or too long for the model.
text ──► frontend ──► letters ──► text encoder ──► durations ──► per-frame condition ─┐
▼
voice.wav ──► latent encoder ──► voice tokens + voice vector ──────────────► DiT (4 steps) ──► 25 Hz latents ──► decoder ──► 24 kHz
└──────────► 5 s prompt as a cached prefix ─────────────────────┘
| Part | What it does | Parameters | Runs |
|---|---|---|---|
| Text encoder | letters (52 symbols) + language per letter → 6 transformer layers, d = 512, RoPE | 18.9 M | once per sentence |
| Duration predictor | per-letter duration in 10 ms steps from the text features and the voice | 1.9 M | once per sentence |
| Voice encoder | reference latents → 4 transformer layers → 32 voice tokens and one voice vector (d = 768) | 20.4 M | once per voice |
| DiT (student) | flow-matching velocity on 96-dim latents; 8 blocks, d = 384, 6 heads | 25.1 M | 4× per sentence |
| Latent encoder | 24 kHz → log-mel → ConvNeXt → 96-dim latents at 25 Hz | 21.5 M | once per voice |
| Decoder | 25 Hz latents → ConvNeXt at 100 Hz → magnitude and phase → iSTFT → 24 kHz | 21.7 M | once per sentence |
Text. Input is lower-cased and kept at the letter level: 52 symbols (a–z, ä ö ü ß, punctuation, digits). There is no phonemizer. Numbers and abbreviations must be spelled out before they reach the model; the frontend does that for German. A language flag per letter lets English words keep English spelling rules inside a German sentence.
Durations and conditions. The duration predictor gives every letter a length in 10 ms units. The text features are spread over the 25 Hz latent frames by overlap weights, so a letter can cover a fraction of a frame. The training targets come from our own aligner (Forward-Sum loss with monotonic alignment search, as in RAD-TTS), trained on the same data. Against word timings from a separate recogniser, its word starts are 30 ms off at the median, and 94 % fall within 100 ms.
Voice cloning. The reference recording is encoded into latents once. Two paths carry the voice:
Generation. The DiT is a 4-step student: from noise, each step predicts the clean latents ẑ₁ = z_t + (1 − t)·v(z_t, t), and the next step starts from those latents re-noised to the next time. The steps are at t ∈ {0, ¼, ½, ¾}. The student was distilled with DMD2 from a 185.5 M-parameter teacher that needs 16 midpoint steps with classifier-free guidance (2.8), that is 64 network passes. The guidance is distilled into the student, so it runs 4 passes and no guidance.
Decoder. A Vocos-style decoder: four-times upsampling to 100 Hz, twelve ConvNeXt blocks at d = 512, a magnitude and phase prediction per STFT bin, and an inverse STFT (n_fft 960, hop 240). It has no upsampling in the time domain, which is why it is fast on a CPU. After training as an autoencoder, the decoder was fine-tuned on the teacher's latents (see Training). That removed a spectral tilt the generator puts into its latents.
All numbers are our own measurements. The protocol (test sets, metrics, statistics, equivalence margins) was written down before the first measurement. Intervals in brackets are 95 % bootstrap confidence intervals over utterances (10,000 resamples).
Zero-shot test on speakers the model never saw in training: 320 German utterances from 160 speakers (Common
Voice, Emilia-YODAS, HUI, CML) and 107 English utterances from 4 speakers (Hi-Fi TTS 2). Each utterance is
spoken from a different clip of the same speaker as the voice prompt, with three seeds each, after the German text
frontend. Recognised by Whisper large-v3 (beam 5) with the same text normalization for reference and hypothesis.
Speaker similarity is the cosine of ECAPA (speechbrain/spkrec-ecapa-voxceleb) and WavLM
(microsoft/wavlm-base-plus-sv) embeddings between the output and the voice prompt; quality is UTMOS
(utmos22_strong; trained on English, so read it as relative on German).
| German (320) | WER | CER | Similarity ECAPA | Similarity WavLM | UTMOS |
|---|---|---|---|---|---|
| Articulino | 4.72 % [3.90, 5.59] | 1.84 % [1.46, 2.24] | 0.659 [0.649, 0.669] | 0.956 [0.954, 0.959] | 3.30 [3.27, 3.34] |
| The real recordings | 9.07 % [7.53, 10.69] | 4.43 % [3.49, 5.46] | 0.713 [0.702, 0.724] | 0.961 [0.958, 0.964] | 2.79 [2.73, 2.85] |
| Real recordings through our codec | 10.04 % [8.38, 11.77] | 4.97 % [3.95, 6.07] | 0.697 [0.686, 0.708] | 0.958 [0.954, 0.961] | 2.44 [2.39, 2.48] |
| English (107) | WER | CER | Similarity ECAPA | Similarity WavLM | UTMOS |
|---|---|---|---|---|---|
| Articulino | 2.12 % [1.40, 2.92] | 0.85 % [0.55, 1.19] | 0.590 [0.577, 0.603] | 0.935 [0.930, 0.940] | 4.28 [4.26, 4.30] |
| The real recordings | 2.63 % [1.85, 3.52] | 1.22 % [0.75, 1.78] | 0.726 [0.708, 0.744] | 0.966 [0.962, 0.969] | 4.19 [4.16, 4.22] |
| Real recordings through our codec | 2.63 % [1.87, 3.49] | 1.24 % [0.77, 1.80] | 0.700 [0.683, 0.717] | 0.957 [0.952, 0.962] | 3.68 [3.62, 3.74] |
How to read this:
129 German sentences meant to be hard: numbers, money, dates, times, phone numbers, units, abbreviations, acronyms, spelled-out letters, formulas, symbols, upper-case words, English loan words. Each goes through the frontend and the model with the default voice prompt.
| Mean character error rate (Whisper large-v3, 3 seeds) | 1.41 % [0.71, 2.32] |
| Attempts within 8 % character error (3 × 129) | 93.5 % |
| Sentences correct in all three seeds | 116 of 129 |
| Sentences correct (Parakeet-TDT 0.6B v3, seed 0, 0.4 s of silence in front) | 122 of 129 (CER 2.3 %) |
The remaining errors are scattered: a word swallowed in one seed and not in the next; symbols are the hardest category (9 % CER).
Every engine and precision speaks the same test sets with the same noise as the reference (PyTorch, float32, CPU), so differences come from arithmetic alone. A variant counts as equivalent when the 90 % confidence interval of the paired difference lies inside ±1.0 point WER, ±0.5 point CER, ±0.01 similarity and ±0.05 UTMOS (two one-sided tests). Fidelity is the median log-mel distance to the reference output; for scale, another seed of the reference itself differs by 5.9 dB.
| Variant (German set) | ΔWER (points) | ΔCER (points) | ΔSimilarity | ΔUTMOS | Equivalent | Log-mel distance |
|---|---|---|---|---|---|---|
| PyTorch, GPU, float32 | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] | 0.000 | 0.000 | yes | 0.001 dB |
| PyTorch, GPU, bfloat16 | −0.01 [−0.18, 0.17] | −0.02 [−0.10, 0.07] | 0.000 | +0.001 | yes | 1.2 dB |
| ONNX fp32 | +0.01 [0.00, 0.02] | 0.00 [0.00, 0.00] | 0.000 | 0.000 | yes | 0.001 dB |
| ONNX fp16 | +0.03 [−0.06, 0.14] | −0.01 [−0.05, 0.03] | 0.000 | −0.003 | yes | 0.20 dB |
| ONNX int8 | +0.19 [−0.07, 0.48] | +0.01 [−0.14, 0.17] | 0.000 | −0.010 | yes | 2.7 dB |
| GGUF F32 | 0.00 [0.00, 0.00] | 0.00 [0.00, 0.00] | 0.000 | 0.000 | yes | 0.001 dB |
| GGUF F16 | −0.02 [−0.08, 0.02] | −0.01 [−0.05, 0.02] | 0.000 | −0.002 | yes | 0.07 dB |
| GGUF Q8_0 | −0.06 [−0.26, 0.15] | −0.04 [−0.15, 0.06] | 0.000 | −0.004 | yes | 1.3 dB |
| GGUF F32, Vulkan | +0.02 [−0.08, 0.13] | −0.03 [−0.10, 0.04] | 0.000 | 0.000 | yes | 0.40 dB |
| MLX fp32 | −0.01 [−0.03, 0.00] | 0.00 [−0.01, 0.00] | 0.000 | 0.000 | yes | – |
| MLX fp16 | −0.01 [−0.07, 0.05] | −0.03 [−0.07, 0.01] | 0.000 | 0.000 | yes | – |
| MLX q8 | +0.14 [−0.07, 0.38] | +0.06 [−0.10, 0.29] | 0.000 | −0.002 | yes | – |
The English set and the pronunciation suite give the same picture: every released variant is equivalent to the reference. MLX was computed on a Linux CPU; with float16 arithmetic as on a Mac GPU, fp16 and q8 are equivalent as well. There are no 4-bit versions. We evaluated two 4-bit GGUF files the same way: they were understood as well, but sounded measurably worse (UTMOS 0.05–0.07 lower, significant), and a 4-bit MLX version failed our listening test. 8 bits (GGUF Q8_0, ONNX int8, MLX q8) is the smallest precision released.
Whole pipeline per sentence (frontend, text encoder, durations, 4 DiT passes, decoder, post-processing), ten sentences after one warm-up sentence, voice cache built beforehand. "First sentence" is the time until the first sentence is ready to play.
| Engine | Hardware | Threads | × real time | First sentence |
|---|---|---|---|---|
| PyTorch, float32 | Intel Core i9-14900K, performance cores | 16 | 45.7× | 0.10 s |
| 8 | 32.5× | 0.14 s | ||
| 2 (one core) | 12.0× | 0.37 s | ||
| PyTorch, float32 | Intel Core i9-14900K, efficiency cores | 12 | 24.9× | 0.20 s |
| ONNX int8 | efficiency cores | 12 | 47.8× | 0.09 s |
| ONNX int8 | one efficiency core | 1 | 9.4× | – |
| ONNX fp32 | one efficiency core | 1 | 5.2× | – |
| C++ / GGUF Q8_0 | efficiency cores | 12 | 32.7× | 0.14 s |
| C++ / GGUF Q8_0 | efficiency cores | 2 | 6.9× | – |
| C++ / GGUF, Vulkan | AMD Radeon AI PRO R9700 | – | 135–138× | 0.03 s |
| MLX fp16 | Apple M3 Pro, GPU | – | 152× | 0.03 s |
| MLX fp32 | Apple M3 Pro, CPU | – | 26× | 0.17 s |
| PyTorch, bfloat16 | NVIDIA RTX 4070 | – | about 100× | 0.07 s |
| Teacher, for comparison | performance cores | 16 | 1.8× | 2.6 s |
The x86 CPUs ran inside a virtual machine. More measurements per engine (thread counts, every precision) are on the engine cards.
Before the large evaluation above, a small check on six held-out sentences (62 words, Whisper large-v3) compared the distilled student with its teacher: student 3.2 % WER, teacher (16 steps with guidance) 3.2 %, the student before distillation (16 steps with guidance) 4.8 %. On ten German sentences with a fixed voice, student and teacher both reached 2.8 % WER.
Spectral balance. On 160 held-out clips, the band levels of generated speech differ from the original recordings by 1.13 dB RMS with the autoencoder's original decoder, and by 0.57 dB with the fine-tuned decoder that ships here.
850 hours after filtering, from seven corpora. Only human recordings were used as targets. No output of another text-to-speech system was used for training.
| Corpus | Language | Hours | Clips | Kind | License | Source |
|---|---|---|---|---|---|---|
| Emilia-YODAS, German | de | 390.5 | 219,381 | spontaneous speech from YouTube | CC BY 4.0 | amphion/Emilia-Dataset |
| Common Voice 27.0, German (two selections) | de | 288.5 | 236,545 | crowd-sourced read speech | CC0 1.0 | commonvoice.mozilla.org |
| HUI-Audio-Corpus-German | de | 100.9 | 56,574 | audiobooks | public domain audio (LibriVox); the mirror we used is marked MIT | iisys-hof/HUI-Audio-Corpus-German |
| Hi-Fi TTS 2, selected chapters | en | 51.1 | 27,154 | audiobooks | CC BY 4.0 | nvidia/hifitts-2 |
| Thorsten-Voice | de | 15.9 | 13,675 | one speaker | CC0 1.0 | thorsten-voice.de |
| CML-TTS, German | de | 7.1 | 4,107 | audiobooks | CC BY 4.0 | OpenSLR 146 |
These are the hours before filtering. Of the original Emilia, only the YODAS part is used: the rest of Emilia is licensed for non-commercial use only and was left out on purpose.
All stages ran on one AMD Radeon AI PRO R9700 (32 GB, ROCm), in mixed precision, at batch size 32 or less, for about 120 GPU hours in total.
| Stage | What | Steps | Notes |
|---|---|---|---|
| 1. Autoencoder | latent encoder + decoder, 96-dim latents at 25 Hz | 180,000 | mel L1 ×45 (three resolutions), hinge GAN with multi-period (2, 3, 5, 7, 11) and three multi-resolution spectrogram discriminators, feature matching ×2, KL ×10⁻³; 1 s windows |
| 2. Aligner | letter durations for all clips | 40,000 | Forward-Sum loss, monotonic alignment search |
| 3. Teacher | 185.5 M flow-matching DiT, d = 768, 12 blocks | 250,000 | AdamW, lr 10⁻⁴ cosine, EMA 0.9999, effective batch 64; guidance dropout: 10 % all conditions, 10 % voice only; 35 % of batches with a voice prompt from another clip of the same speaker, 40 % with a clean or slightly noisy prefix of the target (continuation), the rest with voice tokens only. Steps 0–130k used an earlier prefix design; from 130k on, the prefix attends only to itself, which makes the voice cache possible |
| 4. Duration predictor | retrained on the frozen teacher, with dropout | 500 | the teacher's own predictor had started to overfit; kept the step with the best held-out loss |
| 5. Decoder fine-tune | decoder on 60 h of teacher latents (real durations, guidance 2.8) paired with the original audio | 20,000 | real latents: full reconstruction loss; teacher latents: long-term spectrum and envelope losses plus GAN, because the teacher's prosody differs from the recording |
| 6. Student, pre-training | 25.1 M DiT, d = 384, 8 blocks, as an ordinary flow-matching model; text, voice and duration modules copied from the teacher and frozen | 80,000 | lr 2·10⁻⁴ |
| 7. Student, DMD2 | distribution-matching distillation to 4 steps | 20,000 | real score = teacher with guidance 2.8; fake score initialised from the teacher; five fake-score updates per student update; lr 10⁻⁵, batch 16 |
say() and
stream() split longer text. A sentence's audio is ready all at once, not streamed inside the sentence.Articulino can make a convincing copy of a person's voice from a few seconds of audio. That is useful, and it can also be abused.
Articulino follows the design described in the model card of EMA Lightning by Canberk Aslan, a small and fast Turkish TTS released under Apache 2.0. From that description we took the overall recipe:
No code, weights, data, samples or text from EMA Lightning are used. When we started (8 October 2026), its repository held only weights, which are tied to its own latent space, and no training code. Every part of Articulino was implemented and trained independently, on different data.
| EMA Lightning | Articulino | |
|---|---|---|
| Language | Turkish | German and English |
| Voices | one fixed voice | zero-shot cloning from 3–8 s |
| Training data | about 1,000 h, one speaker, internal | 850 h, 60,498 speakers, public licensed corpora |
| Generator at inference | 5.6 M (including text and alignment) | 25.1 M DiT, plus 41.2 M frozen text, voice and duration modules |
| Text-to-frame alignment | windowed Gaussian aligner on a word–letter timeline | per-letter durations spread by overlap weights; voice through cross-attention |
| Latents | 64 dims, 25 Hz | 96 dims, 25 Hz |
| Decoder | HiFi-GAN style, 3 M, 48 kHz | Vocos style (iSTFT), 21.7 M, 24 kHz |
| Text frontend | normalizer-tr | own German frontend |
Legal note. Apache 2.0 allows anyone to use, change and redistribute EMA Lightning's code and weights, including commercially, under its attribution conditions. A model architecture or training recipe described in a model card is not something Articulino copies in the copyright sense, and since no material was taken over, Apache 2.0 places no obligations on this model. We credit and cite EMA Lightning anyway, because the idea that a model this small can speak this well came from there.
The code and weights of Articulino are licensed under the Apache License 2.0. Commercial use is allowed.
The training data licenses allow this. Three corpora are CC BY 4.0, and their attribution is in NOTICE: Emilia-YODAS (Amphion; built on YODAS by ESPnet/WAVLab), Hi-Fi TTS 2 (NVIDIA) and CML-TTS (Oliveira et al.). Keep NOTICE when you redistribute the model.
Tools used only for measurement, and not part of this release: Whisper large-v3 (MIT), Parakeet-TDT 0.6B v3 (CC BY 4.0) and ECAPA-TDNN from SpeechBrain (Apache 2.0).
Disclaimer. Articulino is provided "as is", without warranty of any kind, under the Apache License 2.0. The authors are not liable for how it is used. Whoever deploys it is responsible for using it lawfully, including the consent, disclosure and marking rules that apply where it is used. This card is not legal advice.
@misc{articulino2026,
title = {Articulino-DE-EN-Realtime-Stream-TTS: Small German and English Text to Speech with Zero-Shot Voice Cloning},
author = {eigenhand},
year = {2026},
howpublished = {\url{https://huggingface.co/eigenhand/Articulino-DE-EN-Realtime-Stream-TTS}}
}
Please also cite the work this model builds on:
@misc{aslan2026emalightning,
title = {EMA Lightning: Tiny, Fast and Accurate Turkish Text to Speech},
author = {Aslan, Canberk},
year = {2026},
howpublished = {\url{https://huggingface.co/canberkkkkkk/ema-lightning}}
}
@inproceedings{yin2024dmd2,
title = {Improved Distribution Matching Distillation for Fast Image Synthesis},
author = {Yin, Tianwei and Gharbi, Micha{\"e}l and Park, Taesung and Zhang, Richard and Shechtman, Eli and Durand, Fr{\'e}do and Freeman, William T.},
booktitle = {Advances in Neural Information Processing Systems},
year = {2024}
}
@inproceedings{he2024emilia,
title = {Emilia: An Extensive, Multilingual, and Diverse Speech Dataset for Large-Scale Speech Generation},
author = {He, Haorui and others},
booktitle = {IEEE Spoken Language Technology Workshop (SLT)},
year = {2024}
}
Thanks to Canberk Aslan for EMA Lightning and its unusually clear model card. Thanks also to the people behind the corpora this model learned from: Amphion and ESPnet/WAVLab for Emilia-YODAS, Mozilla and every Common Voice contributor, the iisys institute for HUI, Thorsten Müller for Thorsten-Voice, NVIDIA for Hi-Fi TTS 2, the CML-TTS authors, and the LibriVox volunteers whose recordings sit behind several of them.
model.safetensors 265 MBcodec.safetensors 173 MB