Files
cheatsheet-tldr/tldr/espeak
2024-10-13 00:18:36 +00:00

26 lines
507 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# espeak
> Uses text-to-speech to speak through the default sound device.
> More information: <https://espeak.sourceforge.net>.
- Speak a phrase aloud:
`espeak "I like to ride my bike."`
- Speak a file aloud:
`espeak -f {{path/to/file}}`
- Save output to a WAV audio file, rather than speaking it directly:
`espeak -w {{filename.wav}} "It's GNU plus Linux"`
- Use a different voice:
`espeak -v {{voice}}`