1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 02:18:01 +01:00
tldr/pages/osx/say.md

24 lines
433 B
Markdown
Raw Normal View History

# say
2016-01-28 23:33:21 +01:00
> Converts text to speech.
2016-02-13 00:05:17 +01:00
- Say a phrase aloud:
2016-01-28 23:33:21 +01:00
`say {{"I like to ride my bike."}}`
2016-02-13 00:05:17 +01:00
- Read a file aloud:
2016-01-28 23:36:22 +01:00
`say -f {{filename.txt}}`
2016-02-13 00:05:17 +01:00
- Say a phrase with a custom voice and speech rate:
2014-02-17 17:16:23 +01:00
2016-01-28 23:33:21 +01:00
`say -v {{voice}} -r {{words_per_minute}} {{"I'm sorry Dave, I can't let you do that."}}`
- List the available voices:
2016-01-28 23:33:21 +01:00
`say -v ?`
- Create an audio file of the spoken text:
2016-02-13 00:05:17 +01:00
`say -o {{filename.aiff}} {{"Here's to the Crazy Ones."}}`