mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-01 07:38:06 +01:00
23 lines
433 B
Markdown
23 lines
433 B
Markdown
# say
|
|
|
|
> Converts text to speech.
|
|
|
|
- Say a phrase aloud:
|
|
|
|
`say {{"I like to ride my bike."}}`
|
|
|
|
- Read a file aloud:
|
|
|
|
`say -f {{filename.txt}}`
|
|
|
|
- Say a phrase with a custom voice and speech rate:
|
|
|
|
`say -v {{voice}} -r {{words_per_minute}} {{"I'm sorry Dave, I can't let you do that."}}`
|
|
|
|
- List the available voices:
|
|
|
|
`say -v ?`
|
|
|
|
- Create an audio file of the spoken text:
|
|
|
|
`say -o {{filename.aiff}} {{"Here's to the Crazy Ones."}}`
|