Skip to content

Commit 44e8b48

Browse files
committed
docs: update
1 parent 3e361c7 commit 44e8b48

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ $ pip install --upgrade aspeak
2929
## Usage
3030

3131
```
32-
usage: aspeak [-h] [-V | -L | [-t [TEXT] | -s [SSML]]] [-p PITCH] [-r RATE] [-f FILE] [-o OUTPUT_PATH] [-l LOCALE] [-v VOICE]
32+
usage: aspeak [-h] [-V | -L | [-t [TEXT] | -s [SSML]]] [-p PITCH] [-r RATE] [-S STYLE] [-f FILE] [-o OUTPUT_PATH] [-l LOCALE] [-v VOICE]
3333
3434
This program uses trial auth token of Azure Cognitive Services to do speech synthesis for you
3535
@@ -53,6 +53,8 @@ Options for --text:
5353
-p PITCH, --pitch PITCH
5454
Set pitch, default to 0
5555
-r RATE, --rate RATE Set speech rate, default to 0.04
56+
-S STYLE, --style STYLE
57+
Set speech style, default to "general"
5658
```
5759

5860
- If you don't specify `-o`, we will use your default speaker.
@@ -147,10 +149,10 @@ $ aspeak -t "你好,世界!" -l zh-CN
147149
$ aspeak -t "你好,世界!" -v zh-CN-YunjianNeural
148150
```
149151

150-
#### Custom pitch and rate
152+
#### Custom pitch, rate and style
151153

152154
```sh
153-
$ aspeak -t "你好,世界!" -v zh-CN-XiaoxiaoNeural -p 1.5 -r 0.5
155+
$ aspeak -t "你好,世界!" -v zh-CN-XiaoxiaoNeural -p 1.5 -r 0.5 -S sad
154156
```
155157

156158
## About This Application

0 commit comments

Comments
 (0)