1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-03 22:15:42 +02:00

say: lots of cleanup

This commit is contained in:
Hayden Schiff 2016-01-28 17:33:21 -05:00
parent f38c34f484
commit a284584c33

View file

@ -1,19 +1,23 @@
# say
> Uses text-to-speech to speak through the default sound device.
> Converts text to speech.
- Speak a phrase aloud:
`say "I like to ride my bike."`
`say {{"I like to ride my bike."}}`
- Speak a file aloud:
`say -f {{filename}}`
- Create an AAC compressed audio file with the spoken text:
- Speak a phrase with a custom voice and speech rate:
`say -o {{filename.m4a}} "Everyone loves iTunes"`
`say -v {{voice}} -r {{words_per_minute}} {{"I'm sorry Dave, I can't let you do that."}}`
- List the available voices:
`say -v '?'`
`say -v ?`
- Create an audio file of the spoken text:
`say -o {{filename.aiff}} {{"Everyone loves iTunes."}}`