Files
cheatsheet-tldr/tldr/espeak
2025-11-25 00:19:28 +00:00

26 lines
501 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# espeak
> Use text-to-speech to speak through the default sound device.
> More information: <https://manned.org/espeak>.
- 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}}`