1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/espeak.md

21 lines
414 B
Markdown
Raw Normal View History

2015-12-29 19:46:40 +00:00
# espeak
> Uses text-to-speech to speak through the default sound device.
2024-10-12 10:02:00 +02:00
> More information: <https://espeak.sourceforge.net>.
2015-12-29 19:46:40 +00:00
- Speak a phrase aloud:
2015-12-29 19:46:40 +00:00
`espeak "I like to ride my bike."`
- Speak a file aloud:
2015-12-29 19:46:40 +00:00
`espeak -f {{path/to/file}}`
2015-12-29 19:46:40 +00:00
- Save output to a WAV audio file, rather than speaking it directly:
2015-12-29 19:46:40 +00:00
`espeak -w {{filename.wav}} "It's GNU plus Linux"`
- Use a different voice:
2015-12-29 19:46:40 +00:00
`espeak -v {{voice}}`