mirror of https://github.com/CrimsonTome/tldr.git
29 lines
534 B
Markdown
29 lines
534 B
Markdown
|
# flite
|
||
|
|
||
|
> Speech synthesis engine.
|
||
|
> More information: <http://www.festvox.org/flite/doc/>.
|
||
|
|
||
|
- List all available voices:
|
||
|
|
||
|
`flite -lv`
|
||
|
|
||
|
- Convert a text string to speech:
|
||
|
|
||
|
`flite -t "{{string}}"`
|
||
|
|
||
|
- Convert the contents of a file to speech:
|
||
|
|
||
|
`flite -f {{path/to/file.txt}}`
|
||
|
|
||
|
- Specify which voice to use:
|
||
|
|
||
|
`flite -voice {{file://path/to/filename.flitevox|url}}`
|
||
|
|
||
|
- Store output into a wav file:
|
||
|
|
||
|
`flite -voice {{file://path/to/filename.flitevox|url}} -f {{path/to/file.txt}} -o {{output.wav}}`
|
||
|
|
||
|
- Display version:
|
||
|
|
||
|
`flite --version`
|