Update README.md

pull/1098/head
TianYuan 3 years ago committed by GitHub
parent 689c44dc59
commit d97379d7ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,3 @@
# TTS (Text To Speech) # TTS (Text To Speech)
## Introduction ## Introduction
@ -18,28 +16,32 @@ Input of this demo should be a text of the specific language that can be passed
### 3. Usage ### 3. Usage
- Command Line (Recommended) - Command Line (Recommended)
- Chinese - Chinese
The default acoustic model is `Fastspeech2`, and the default vocoder is `Parallel WaveGAN`.
```bash ```bash
paddlespeech tts --input "你好,欢迎使用百度飞桨深度学习框架!" paddlespeech tts --input "你好,欢迎使用百度飞桨深度学习框架!"
``` ```
The default acoustic model is `Fastspeech2`, and the default vocoder is `Parallel WaveGAN`.
- Chinese, use `SpeedySpeech` as acoustic model - Chinese, use `SpeedySpeech` as acoustic model
```bash ```bash
paddlespeech tts --am speedyspeech_csmsc --input "你好,欢迎使用百度飞桨深度学习框架!" paddlespeech tts --am speedyspeech_csmsc --input "你好,欢迎使用百度飞桨深度学习框架!"
``` ```
- Chinese, multi speaker - Chinese, multi speaker
You can change `spk_id` here.
```bash ```bash
paddlespeech tts --am fastspeech2_aishell3 --voc pwgan_aishell3 --input "你好,欢迎使用百度飞桨深度学习框架!" --spk_id 0 paddlespeech tts --am fastspeech2_aishell3 --voc pwgan_aishell3 --input "你好,欢迎使用百度飞桨深度学习框架!" --spk_id 0
``` ```
You can change `spk_id` here.
- English - English
```bash ```bash
paddlespeech tts --am fastspeech2_ljspeech --voc pwgan_ljspeech --lang en --input "hello world" paddlespeech tts --am fastspeech2_ljspeech --voc pwgan_ljspeech --lang en --input "hello world"
``` ```
- English, multi speaker - English, multi speaker
You can change `spk_id` here.
```bash ```bash
paddlespeech tts --am fastspeech2_vctk --voc pwgan_vctk --input "hello, boys" --lang en --spk_id 0 paddlespeech tts --am fastspeech2_vctk --voc pwgan_vctk --input "hello, boys" --lang en --spk_id 0
``` ```
You can change `spk_id` here.
Usage: Usage:
```bash ```bash

Loading…
Cancel
Save