Commit 44e8b48 1 parent 3e361c7 commit 44e8b48 Copy full SHA for 44e8b48
File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ $ pip install --upgrade aspeak
29
29
## Usage
30
30
31
31
```
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]
33
33
34
34
This program uses trial auth token of Azure Cognitive Services to do speech synthesis for you
35
35
@@ -53,6 +53,8 @@ Options for --text:
53
53
-p PITCH, --pitch PITCH
54
54
Set pitch, default to 0
55
55
-r RATE, --rate RATE Set speech rate, default to 0.04
56
+ -S STYLE, --style STYLE
57
+ Set speech style, default to "general"
56
58
```
57
59
58
60
- If you don't specify ` -o ` , we will use your default speaker.
@@ -147,10 +149,10 @@ $ aspeak -t "你好,世界!" -l zh-CN
147
149
$ aspeak -t " 你好,世界!" -v zh-CN-YunjianNeural
148
150
```
149
151
150
- #### Custom pitch and rate
152
+ #### Custom pitch, rate and style
151
153
152
154
``` 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
154
156
```
155
157
156
158
## About This Application
You can’t perform that action at this time.
0 commit comments