mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

* pages*: improve page descriptions * ical: improve page description * cockpit-desktop: remove unneeded word from page description * nc: improve description wording --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
28 lines
672 B
Markdown
28 lines
672 B
Markdown
# say
|
|
|
|
> Convert text to speech.
|
|
> More information: <https://keith.github.io/xcode-man-pages/say.1.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 (different voices speak in different languages):
|
|
|
|
`say --voice="?"`
|
|
|
|
- Say something in Polish:
|
|
|
|
`say --voice={{Zosia}} "{{Litwo, ojczyzno moja!}}"`
|
|
|
|
- Create an audio file of the spoken text:
|
|
|
|
`say --output-file={{filename.aiff}} "{{Here's to the Crazy Ones.}}"`
|