Skip to content

Commit c43efe2

Browse files
committed
docs: update
1 parent 9b384cc commit c43efe2

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ $ pip install aspeak
2828
## Usage
2929

3030
```
31-
usage: aspeak [-h] [-v] [-t [TEXT] | -s [SSML]] [-f FILE] [-o OUTPUT_PATH]
31+
usage: aspeak [-h] [-v] [-t [TEXT] | -s [SSML]] [-f FILE] [-o OUTPUT_PATH] [-l LOCALE]
3232
3333
This program uses trial auth token of Azure Cognitive Services to do speech synthesis for you.
3434
@@ -42,6 +42,8 @@ options:
4242
-f FILE, --file FILE Text/SSML file to speak, default to `-`(stdin).
4343
-o OUTPUT_PATH, --output OUTPUT_PATH
4444
Output wav file path
45+
-l LOCALE, --locale LOCALE
46+
Locale to use, default to en-US
4547
```
4648

4749
- If you don't specify `-o`, we will use your default speaker.
@@ -85,6 +87,12 @@ or (more verbose)
8587
$ aspeak -f -
8688
```
8789

90+
#### Speak Chinese.
91+
92+
```sh
93+
$ aspeak -t "你好,世界!" -l zh-CN
94+
```
95+
8896
## About This Application
8997

9098
- I found Azure TTS can synthesize nearly authentic human voice, which is very interesting :laughing:.

0 commit comments

Comments
 (0)