Commit c43efe2 1 parent 9b384cc commit c43efe2 Copy full SHA for c43efe2
File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ $ pip install aspeak
28
28
## Usage
29
29
30
30
```
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]
32
32
33
33
This program uses trial auth token of Azure Cognitive Services to do speech synthesis for you.
34
34
@@ -42,6 +42,8 @@ options:
42
42
-f FILE, --file FILE Text/SSML file to speak, default to `-`(stdin).
43
43
-o OUTPUT_PATH, --output OUTPUT_PATH
44
44
Output wav file path
45
+ -l LOCALE, --locale LOCALE
46
+ Locale to use, default to en-US
45
47
```
46
48
47
49
- If you don't specify ` -o ` , we will use your default speaker.
@@ -85,6 +87,12 @@ or (more verbose)
85
87
$ aspeak -f -
86
88
```
87
89
90
+ #### Speak Chinese.
91
+
92
+ ``` sh
93
+ $ aspeak -t " 你好,世界!" -l zh-CN
94
+ ```
95
+
88
96
## About This Application
89
97
90
98
- I found Azure TTS can synthesize nearly authentic human voice, which is very interesting :laughing : .
You can’t perform that action at this time.
0 commit comments