Piper
Fast, local neural text-to-speech that runs even on a Raspberry Pi.
- Star 数
- 6.5K
- Fork 数
- 657
- 未关闭 Issue
- 74
- 最近提交
- 2026-11-28
数据来自 GitHub API · 更新于 2026-11-30
Piper 是什么?
Piper is a fast offline TTS engine with voices in dozens of languages, widely used in Home Assistant. Development moved from rhasspy/piper to the Open Home Foundation’s piper1-gpl repository, which ships a Python package and CLI.
主要功能
- Real-time on CPUs and Raspberry Pi
- Hundreds of voices in 30+ languages
- Python API and CLI
- Home Assistant integration
系统要求
- 平台
- Windows · macOS · Linux
- 备注
- CPU is enough; no GPU required.
如何安装 Piper
根据项目 README 整理。开源项目更新很快,请以 GitHub 页面上的最新说明为准。
pip
- 1Install and download a voice.
pip install piper-tts python3 -m piper.download_voices en_US-lessac-medium - 2Synthesize speech.
python3 -m piper -m en_US-lessac-medium -f test.wav -- 'This is a test.'
优势
- Extremely fast and light
- Huge voice library
不足
- Less expressive than large TTS models
- GPL license since the move
Piper 替代品对比
| 软件 | Star 数 | 许可证 | 平台 | 显存 |
|---|---|---|---|---|
| Piper Fast, local neural text-to-speech that runs even on a Raspberry Pi. | 6.5K | GPL-3.0 | — | |
| Kokoro A tiny 82M-parameter TTS model with surprisingly natural voices. | 10.5K | Apache-2.0 | — | |
| Coqui TTS Deep-learning text-to-speech toolkit, including the XTTS voice cloning model. | 46.3K | MPL-2.0 | — | |
| Parler-TTS Lightweight TTS controlled by a natural-language voice description. | 5.6K | Apache-2.0 | — | |
| Whisper OpenAI’s open-source speech recognition and translation model. | 113.8K | MIT | ~1 GB (tiny) to ~10 GB (large) | |
| whisper.cpp Whisper in plain C/C++ — fast on CPUs, Apple Silicon and mobile. | 55.7K | MIT | — |
常见问题
Piper 免费吗?
是的——Piper 是开源软件,采用 GPL-3.0 许可证。商用前请确认软件及模型权重的许可条款。
Piper 支持 Windows、Mac 和 Linux 吗?
Piper 支持:Windows, macOS, Linux。
如何安装 Piper?
1. Install and download a voice. 2. Synthesize speech.
Piper 有哪些好的替代品?
常见替代品包括 Kokoro, Coqui TTS, Parler-TTS, Whisper,详见本页对比表。