mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 12:41:53 +00:00
26 lines
506 B
Plaintext
26 lines
506 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: <http://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}}`
|