[docs]update readme (#3043)

pull/3054/head
TianYuan 1 year ago committed by GitHub
parent 706a68bde9
commit 5270fda5bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,7 +10,7 @@
### 安装依赖
```
```bash
# Ubuntu
sudo apt install build-essential cmake pkg-config wget tar unzip
@ -25,15 +25,13 @@ sudo yum install cmake wget tar unzip
可用以下命令下载:
```
git clone https://github.com/PaddlePaddle/PaddleSpeech.git
cd PaddleSpeech/demos/TTSArmLinux
```bash
./download.sh
```
### 编译 Demo
```
```bash
./build.sh
```
@ -43,7 +41,9 @@ cd PaddleSpeech/demos/TTSArmLinux
### 运行
```
你可以修改 `./front.conf``--phone2id_path` 参数为你自己的声学模型的 `phone_id_map.txt`
```bash
./run.sh
./run.sh --sentence "语音合成测试"
./run.sh --sentence "输出到指定的音频文件" --output_wav ./output/test.wav

@ -6,7 +6,7 @@ Currently it only supports Chinese, any English word will crash the demo.
## Install Build Tools
```
```bash
# Ubuntu
sudo apt install build-essential cmake pkg-config
@ -19,7 +19,7 @@ If your cmake version is too old, you can go here to download a precompiled new
## Build
```
```bash
# Build with all CPU cores
./build.sh
@ -33,14 +33,14 @@ If the download speed is too slow, you can open [third-party/CMakeLists.txt](thi
## Download dictionary files
```
```bash
./download.sh
```
## Run
You can change `--phone2id_path` in `./front_demo/front.conf` to the `phone_id_map.txt` of your own acoustic model.
```
```bash
./run_front_demo.sh
./run_front_demo.sh --help
./run_front_demo.sh --sentence "这是语音合成服务的文本前端,用于将文本转换为音素序号数组。"
@ -49,7 +49,7 @@ You can change `--phone2id_path` in `./front_demo/front.conf` to the `phone_id_m
## Clean
```
```bash
./clean.sh
```

Loading…
Cancel
Save