← Back to Leaderboard
Tmarselnenaj

marselnenaj/tiny-voca-de

CPU-first German conversational TTS with a compact ONNX model and two voices

View on GitHub ↗
Engineering Health (Methodology)
A · 79/100
Maintenance Activity
● Updated yesterday
Latest Release
v0.1.1
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption4/25
Release Cadence20/20
License Clarity20/20
Local AICLISelf-Hosted
Total Stars
★ 105
24h Growth
+12
7d Growth
+12
Forks
3

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

marselnenaj/tiny-voca-de Star History (2026-11-30 - 2026-12-04) DAILY STAR HISTORY (5-DAY D1 TELEMETRY) +104 in 4d · avg +26/day 111 56 0 2026-11-30: ★ 12026-12-01: ★ 682026-12-02: ★ 902026-12-03: ★ 932026-12-04: ★ 105 ★ 105 11-30 12-02 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

tiny-voca-de is a 4,534,603-parameter German adaptation of tiny-voca. The Python front end normalizes text and uses eSpeak NG to produce phoneme IDs and stress markers. The model conditions synthesis on the selected voice and prosody controls, then builds a 24 kHz waveform from pitch, noise, and a learned filter. The base path does not run a second neural vocoder.

The same model is available as a PyTorch checkpoint or as an ONNX graph with a JSON sidecar. src/tiny_voca/export.py builds a single-sentence graph without padding or masks and expresses linear layers and Fourier transforms as matrix products for CPU execution. ONNX starts at the phoneme boundary, so deployments using it directly must supply their own text front end or reuse the Python one.

Key Capabilities & Differentiators

One checkpoint contains two designed German voices, DE-F and DE-M. The CLI and Python API split long input into sentences; direct ONNX calls accept a single sentence of up to 512 phonemes. The front end expands numbers, dates, times, units, and common abbreviations. Rate, pitch shift, and pitch range are adjustable. Adding a voice requires recordings and fine-tuning rather than a short reference clip at inference time.

On one desktop CPU with ONNX Runtime 1.32, the two voices reached 269–270× real time on four threads and 124× on one core, measured from text to finished waveform. Both scored 5.4% word error on Whisper small transcriptions of 30 held-out conversational sentences. The model files total 19.5 MB, excluding the phonemizer. The speed figures measure throughput, and the word-error figures are an intelligibility proxy, not a listening-test result.

Trade-offs & Limitations

Against the two tested Piper medium voices on the same desktop CPU, tiny-voca-de uses 19.5 MB for both voices versus 63.2 MB per Piper voice and delivers 269–270× versus 58–59× real time on four threads. The 30-sentence set is conversational and matches tiny-voca-de's training domain, so use it to shortlist models, not to infer a general quality ranking. English words receive German pronunciation; there is no streaming, instant cloning, or emotion control.

The base voice can buzz or sound metallic on phone speakers. The experimental 8 MB and 54 MB Vocos filters trade additional storage and CPU time for less metallic output; the smaller filter raised word errors in the separate PyTorch test. Listen on the intended speaker before enabling either filter. For distribution, review the GPL-3.0 eSpeak NG dependency separately from the Apache-2.0 project; moving phonemization to a Node.js process changes the integration boundary but does not settle licensing obligations.

Hardware & Deployment Guide

Use Python 3.10+ and pip install -e . for the local CLI or Python API; the manifest lists PyTorch, NumPy, and SoundFile. For ONNX Runtime, install .[onnx] and pair the .onnx file with its .json metadata. Fetch the base weights from v0.1.1 separately. The default eSpeak NG path runs in-process; the optional WASM path needs Node.js 20+ and npm install. Once assets and dependencies are installed, CPU synthesis can run offline.

v0.1.1 adds a machine-readable mark to generated audio. v0.1.2 leaves the speech weights unchanged and supplies experimental Vocos filters for PyTorch, with no ONNX export for those filters. For Android, use the separate Piper-format model and token file with SherpaTTS and sherpa-onnx 1.x. That route bypasses the Python normalizer, so check dates and abbreviations separately. Sherpa-onnx 2.x no longer bundles eSpeak NG and cannot take raw text with these files by itself.

Waveform synthesis: The 4.53M-parameter tiny-voca derivative uses pitch, noise, and a learned filter without a separate neural vocoder in the base path.
CPU export: The ONNX graph avoids sentence padding and masks and expresses Fourier transforms as matrix products; scripts/check_onnx_de.py checks parity with PyTorch.
German front end: The native eSpeak NG library runs in-process by default, using a 45-phone German inventory; the Python front end normalizes dates, times, units, and common abbreviations.
Inference limits: DE-F and DE-M share one model and produce 24 kHz audio with rate, pitch shift, and pitch range controls; direct ONNX calls are limited to 512 phonemes per sentence.
Android integration: A sherpa-onnx 1.x export maps IPA codepoints to model phonemes but bypasses the Python German normalizer.
Release choices: v0.1.1 adds machine-readable audio marking; v0.1.2 adds optional 8 MB and 54 MB PyTorch Vocos filters without changing the base model.
Best For

Offline German assistants, short conversational prompts, and CPU-only desktop tools that can work sentence by sentence with two fixed voices.

Skip If

You need incremental audio streaming, multilingual pronunciation, instant voice cloning, or a managed voice API rather than a local synthesis runtime.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Local AICLISelf-Hosted
git clone https://github.com/marselnenaj/tiny-voca-de.git
cd tiny-voca-de
pip install -e .
gh release download v0.1.1 --dir weights --pattern 'tiny-voca-de.*'   # or get the files from the Releases page

tiny-voca-speak --checkpoint weights/tiny-voca-de.pt --voice DE-F \
  --text "Alles klar, ich mache die Schrift etwas größer. Gefällt dir das so?" --output hallo.wav

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
tiny-voca-de ★105+12PythonApache-2.0CPU-first German conversational TTS with a compact ONNX model and two voices
ChatTTS40.1k+24PythonAGPL-3.0Local autoregressive TTS for expressive Chinese and English dialogue
voice-pro13.5k+34PythonGPL-3.0Self-hosted Gradio studio for transcription, translation, and dubbing
EmotiVoice8.5k—PythonApache-2.0Self-hosted PyTorch TTS for prompt-controlled Chinese and English speech

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/marselnenaj/tiny-voca-de.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

marselnenaj/tiny-voca-de Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about tiny-voca-de

What does an application need to supply to the ONNX model?

Use tiny-voca-speak for WAV files or Python's load_model and speak_text for 24 kHz audio tensors. For direct ONNX Runtime integration, normalize and split the text, phonemize it with tiny_voca.text.phonemize, and pass token IDs, stress, voice index, and prosody controls to the graph. Each call accepts one sentence of up to 512 phonemes; it does not stream partial audio.

Does the model need a GPU, and what does the 20 MB figure include?

CPU inference does not require a GPU or dedicated VRAM. The 19.5 MB ONNX model files cover both voices, and espeakng-loader adds about 21 MB before accounting for the Python environment and runtime dependencies. Those are file sizes, not peak RAM measurements. Measure resident memory and latency with the thread count and concurrency you plan to deploy.

Can I ship this commercially, and what should I check before distribution?

Apache-2.0 permits commercial use and self-hosting subject to its terms, but eSpeak NG is GPL-3.0 and is loaded in-process by default. The Node.js/WASM path separates phonemization into another process; review the actual distribution and its obligations either way. v0.1.1 adds a machine-readable audio mark, but that alone does not establish compliance with Article 50(2) of the EU AI Act.

When is tiny-voca-de a better choice than Piper medium?

On the same 30 conversational sentences and desktop CPU, tiny-voca-de generated roughly 269–270× real time on four threads versus 58–59× for the two tested Piper medium voices. Its two voices share 19.5 MB of model files; the tested Piper models used 63.2 MB per voice. That favors tiny-voca-de when CPU throughput and model size dominate. Listen to both on your own prompts and playback hardware before deciding: the test does not establish a naturalness advantage.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining marselnenaj/tiny-voca-de? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature marselnenaj/tiny-voca-de on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare