PaddleSpeech: open-source toolkit for speech and audio
An open-source toolkit on the PaddlePaddle platform for speech and audio tasks; it won the NAACL2022 Best Demo Award.
Verified
Core facts
Read by a script from the official API, not rewritten by a model.
- License
- Apache-2.0
- Languages
- Python
- Maintainer
- PaddlePaddle
- Verified
What it is
PaddleSpeech is an open-source toolkit on the PaddlePaddle platform for a variety of critical tasks in speech and audio. PaddleSpeech won the NAACL2022 Best Demo Award. The Text-to-Speech module was originally called Parakeet and is now merged into the PaddleSpeech repository. PaddleSpeech is provided under the Apache-2.0 License.
Main features
Its Chinese frontend contains Text Normalization and Grapheme-to-Phoneme (G2P, including Polyphone and Tone Sandhi).
The Chinese frontend also uses self-defined linguistic rules to adapt Chinese context.
The toolkit contains audio functions like Automatic Speech Recognition, Text-to-Speech Synthesis, Speaker Verification, KeyWord Spotting, Audio Classification, and Speech Translation.
Getting started
There are two quick installation methods for PaddleSpeech: pip installation and source code compilation (recommended).
PaddleSpeech depends on paddlepaddle.
The PaddleSpeech models can be tried with the PaddleSpeech command line or Python.
The input option can be changed to test your own audio or text, and 16k wav format audio is supported.
The speech server can be tried with the PaddleSpeech Server command line.
The streaming ASR and streaming TTS server can also be tried.
pip install paddlepaddle -i https://mirror.baidu.com/pypi/simplepip install pytest-runner
pip install paddlespeechgit clone https://github.com/PaddlePaddle/PaddleSpeech.git
cd PaddleSpeech
pip install pytest-runner
pip install .
# If you need to install in editable mode, you need to use --use-pep517. The command is as follows:
# pip install -e . --use-pep517wget -c https://paddlespeech.cdn.bcebos.com/PaddleAudio/zh.wav
wget -c https://paddlespeech.cdn.bcebos.com/PaddleAudio/en.wavWho it is for
The authors strongly recommend installing PaddleSpeech in Linux with Python 3.8 or higher. The dependencies require gcc at least version 4.8.5. Supported operating systems are Linux (recommended), Windows and Mac OSX.
Speech translation uses pre-compiled Kaldi-related tools, and the speech translation demo can only be tried on Ubuntu. The sound classification model is based on 527 categories of the AudioSet dataset. The toolkit's vision is to empower industrial application and academic research.
The toolkit implements modules in the whole pipeline of speech tasks and uses mainstream datasets such as LibriSpeech, LJSpeech, AIShell and CSMSC. The toolkit also combines the workflows of these tasks with other fields such as Natural Language Processing (NLP) and Computer Vision (CV). Text-to-Speech in PaddleSpeech mainly contains three modules: Text Frontend, Acoustic Model and Vocoder.
On 2025.09.01, PaddleSpeech added the Whisper large v3 and turbo model. On 2023.02.16, PaddleSpeech added Cantonese TTS. Speech Translation is an end-to-end English to Chinese speech translation tool.
PaddleBoBo uses PaddleSpeech TTS to generate virtual human voice. VTuberTalk uses PaddleSpeech TTS and ASR to clone voice from videos.
Sources
This page is written from the official sources below. Open them to check the original text.
- GitHub READMEhttps://github.com/PaddlePaddle/PaddleSpeechFetched
Verified ·
This page is written by AI from the official sources above and checked automatically. This site has not tested it. Found a mistake? Tell us.