2015-12-29 19:46:40 +00:00
|
|
|
# espeak
|
|
|
|
|
2016-01-18 00:44:12 +02:00
|
|
|
> 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
|
|
|
|
2016-01-18 00:44:12 +02:00
|
|
|
- Speak a phrase aloud:
|
2015-12-29 19:46:40 +00:00
|
|
|
|
|
|
|
`espeak "I like to ride my bike."`
|
|
|
|
|
2016-01-18 00:44:12 +02:00
|
|
|
- Speak a file aloud:
|
2015-12-29 19:46:40 +00:00
|
|
|
|
2022-12-06 07:47:56 +01:00
|
|
|
`espeak -f {{path/to/file}}`
|
2015-12-29 19:46:40 +00:00
|
|
|
|
2016-01-18 00:44:12 +02: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"`
|
|
|
|
|
2016-01-18 00:44:12 +02:00
|
|
|
- Use a different voice:
|
2015-12-29 19:46:40 +00:00
|
|
|
|
|
|
|
`espeak -v {{voice}}`
|