hgneng/ekho
Local text-to-speech engine with replaceable Mandarin voices and Toisanese CLI support
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Ekho separates the local synthesis engine from its voice assets. The clearest execution path is the ekho CLI: it accepts text and selects a voice with -v. For Mandarin, the voice files live in the pinyin directory. After a voice swap, removing pinyin.index and pinyin.voice lets the next run regenerate both from the replacement data.
configure.ac, Makefile.am, and autogen.sh identify an Autotools build path. The tree also contains festival_agent.cpp, festival_agent.h, and speechd-api. These are useful integration leads, but they do not establish that Festival is a mandatory runtime dependency or that Ekho exposes a network service or stable extension API.
Key Capabilities & Differentiators
The demonstrated workflow is local text-to-speech with selectable voices. The Docker example selects Toisanese with -v Toisanese, and v9.0 makes baker the default Mandarin voice. Cantonese and Tibetan are project topics, but do not treat those labels as a guarantee that a particular package includes the corresponding voices. Verify each required language against the voice data you intend to deploy.
Operators can replace the Mandarin voice directory without rebuilding the executable, provided they remove the generated files and let Ekho rebuild them. There is also a path for creating custom voices, but the asset format and production requirements are not specified. Validate output format, streaming behavior, and performance before depending on any of them.
Trade-offs & Limitations
Compared with a hosted TTS API, Ekho keeps the demonstrated synthesis path local but leaves voice provisioning, host audio, and application integration to the operator. Its Toisanese example makes it worth testing when that language is a requirement. Compared with neural TTS, assess pronunciation, intelligibility, and naturalness on your own text; there is no benchmark here that establishes a quality or latency lead.
Changing the voice files and regenerating their indexes are coupled steps. Deploy them together, verify write access for regeneration, and retain the previous engine and voice artifacts for rollback. The engine is GPL-2.0: internal operation and redistribution are different cases, and separately obtained voice packages need their own license review.
Hardware & Deployment Guide
For a source build, start with the Autotools files and INSTALL, or consult BUILD-macOS-arm64.md for that platform. Provision the voice data separately. The Docker example uses dosentmatter/ekho: on Linux it passes /dev/snd; on macOS it uses host PulseAudio, PULSE_SERVER=host.docker.internal, and a mounted PulseAudio configuration directory. Neither route eliminates host audio setup when playback is required.
No hosted API is needed for the demonstrated local CLI path once the engine and voices are installed. For repeatable deployment, pin the engine and voice artifacts separately and test regeneration wherever the voice data is staged. v8.9.3 (2022-09-09) targeted Debian package building; v9.0 (2023-08-08) changed the default Mandarin voice. Test upgrades for audible changes even when your CLI invocation stays the same.
-v Toisanese and passes 排骨 as input text.pinyin requires regenerating pinyin.index and pinyin.voice on the next run./dev/snd into the container for playback.PULSE_SERVER=host.docker.internal and a mounted PulseAudio configuration directory.Local Mandarin or Toisanese read-aloud workflows where you can provision voice files, invoke a CLI, and validate pronunciation on your own text.
You need a managed streaming endpoint, bundled voices with confirmed redistribution rights, or proven latency, concurrency, and voice-quality guarantees out of the box.
Comparison vs. Top Voice, Vision & Video Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| ekho ★ | 1.2k | — | Lex | GPL-2.0 | Local text-to-speech engine with replaceable Mandarin voices and Toisanese CLI s |
| fish-speech | 34k | +84 | Python | — | Self-hosted PyTorch speech inference for directed, multi-speaker audio |
| whisper.cpp | 55.8k | +292 | C++ | MIT | Native C/C++ Whisper inference for offline speech-to-text on CPUs and accelerato |
| faster-whisper | 27.2k | +147 | Python | MIT | Local Whisper transcription with CTranslate2 for CPU and GPU |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/hgneng/ekho.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about ekho
What is the clearest integration path for an existing application?
ekho CLI and provision the matching voice files alongside it. For a Mandarin voice replacement, swap the pinyin directory, remove pinyin.index and pinyin.voice, and run Ekho to regenerate both files. The speechd-api and Festival agent files are leads for deeper integration, but their presence does not establish a production-ready API contract.Do I need a GPU, and how should I size the runtime?
Can we self-host Ekho commercially or ship it in a product?
How should we compare Ekho with neural TTS or a hosted API?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
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