1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 22:42:08 +02:00
tldr/pages/osx/say.md
2022-02-14 08:21:43 -03:00

523 B

say

Converts text to speech. More information: https://ss64.com/osx/say.html.

  • Say a phrase aloud:

say "{{I like to ride my bike.}}"

  • Read a file aloud:

say --input-file={{filename.txt}}

  • Say a phrase with a custom voice and speech rate:

say --voice={{voice}} --rate={{words_per_minute}} "{{I'm sorry Dave, I can't let you do that.}}"

  • List the available voices:

say --voice="?"

  • Create an audio file of the spoken text:

say --output-file={{filename.aiff}} "{{Here's to the Crazy Ones.}}"