未验证 提交 5adaaaea 编写于 作者: J Jackwaterveg 提交者: GitHub

Merge branch 'develop' into setup

# TTS(Text To Speech) # TTS (Text To Speech)
## Introduction ## Introduction
Text-to-speech (TTS) is a natural language modeling process that requires changing units of text into units of speech for audio presentation. Text-to-speech (TTS) is a natural language modeling process that requires changing units of text into units of speech for audio presentation.
...@@ -13,14 +13,37 @@ pip install paddlespeech ...@@ -13,14 +13,37 @@ pip install paddlespeech
### 2. Prepare Input ### 2. Prepare Input
Input of this demo should be a text of the specific language that can be passed via argument. Input of this demo should be a text of the specific language that can be passed via argument.
### 3. Usage ### 3. Usage
- Command Line(Recommended) - Command Line (Recommended)
```bash - Chinese
paddlespeech tts --input 今天的天气不错啊
``` The default acoustic model is `Fastspeech2`, and the default vocoder is `Parallel WaveGAN`.
```bash
paddlespeech tts --input "你好,欢迎使用百度飞桨深度学习框架!"
```
- Chinese, use `SpeedySpeech` as acoustic model
```bash
paddlespeech tts --am speedyspeech_csmsc --input "你好,欢迎使用百度飞桨深度学习框架!"
```
- Chinese, multi speaker
You can change `spk_id` here.
```bash
paddlespeech tts --am fastspeech2_aishell3 --voc pwgan_aishell3 --input "你好,欢迎使用百度飞桨深度学习框架!" --spk_id 0
```
- English
```bash
paddlespeech tts --am fastspeech2_ljspeech --voc pwgan_ljspeech --lang en --input "hello world"
```
- English, multi speaker
You can change `spk_id` here.
```bash
paddlespeech tts --am fastspeech2_vctk --voc pwgan_vctk --input "hello, boys" --lang en --spk_id 0
```
Usage: Usage:
```bash ```bash
paddlespeech tts --help paddlespeech tts --help
``` ```
...@@ -79,7 +102,7 @@ Input of this demo should be a text of the specific language that can be passed ...@@ -79,7 +102,7 @@ Input of this demo should be a text of the specific language that can be passed
``` ```
### 4.Pretrained Models ### 4. Pretrained Models
Here is a list of pretrained models released by PaddleSpeech that can be used by command and python api: Here is a list of pretrained models released by PaddleSpeech that can be used by command and python api:
......
...@@ -19,7 +19,7 @@ The models in PaddleSpeech TTS have the following mapping relationship: ...@@ -19,7 +19,7 @@ The models in PaddleSpeech TTS have the following mapping relationship:
## Quick Start ## Quick Start
Let's take a FastSpeech2 + Parallel WaveGAN with CSMSC dataset for instance. (./examples/csmsc/)(https://github.com/PaddlePaddle/PaddleSpeech/tree/develop/examples/csmsc) Let's take a FastSpeech2 + Parallel WaveGAN with CSMSC dataset for instance. [examples/csmsc](https://github.com/PaddlePaddle/PaddleSpeech/tree/develop/examples/csmsc)
### Train Parallel WaveGAN with CSMSC ### Train Parallel WaveGAN with CSMSC
- Go to directory - Go to directory
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册