Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
kxxt committed May 1, 2022
1 parent 5a8ad6d commit 0202f97
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ $ pip install aspeak
## Usage

```
usage: aspeak [-h] [-v] [-t [TEXT] | -s [SSML]] [-f FILE] [-o OUTPUT_PATH] [-l LOCALE]
usage: aspeak [-h] [-V | [-t [TEXT] | -s [SSML]]] [-f FILE] [-o OUTPUT_PATH] [-l LOCALE] [-v VOICE]
This program uses trial auth token of Azure Cognitive Services to do speech synthesis for you.
options:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-V, --version show program's version number and exit
-t [TEXT], --text [TEXT]
Text to speak. Left blank when reading from file/stdin.
-s [SSML], --ssml [SSML]
Expand All @@ -44,6 +44,8 @@ options:
Output wav file path
-l LOCALE, --locale LOCALE
Locale to use, default to en-US
-v VOICE, --voice VOICE
Voice to use.
```

- If you don't specify `-o`, we will use your default speaker.
Expand Down Expand Up @@ -93,6 +95,12 @@ $ aspeak -f -
$ aspeak -t "你好,世界!" -l zh-CN
```

#### Use a custom voice.

```sh
$ aspeak -t "你好,世界!" -v zh-CN-YunjianNeural
```

## About This Application

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

0 comments on commit 0202f97

Please sign in to comment.