Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions pages/common/espeak-ng.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# espeak-ng

> A multi-lingual software speech synthesizer.
> See also: `speak-ng`, `espeak`.
> More information: <https://github.com/espeak-ng/espeak-ng/blob/master/src/espeak-ng.1.ronn>.

- Speak a phrase aloud:

`espeak-ng "{{text}}"`

- Speak text from `stdin`:

`echo "{{text}}" | espeak-ng`

- Speak the contents of a [f]ile:

`espeak-ng -f {{path/to/file}}`

- Speak using a specific [v]oice:

`espeak-ng -v {{voice}} "{{text}}"`

- Speak at a specific [s]peed (default is 175) and [p]itch (default is 50):

`espeak-ng -s {{speed}} -p {{pitch}} "{{text}}"`

- Output the audio to a [w]AV file instead of speaking it directly:

`espeak-ng -w {{path/to/output.wav}} "{{text}}"`

- List all available voices:

`espeak-ng --voices`
27 changes: 20 additions & 7 deletions pages/common/espeak.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,33 @@
# espeak

> Use text-to-speech to speak through the default sound device.
> A multi-lingual software speech synthesizer.
> Note: `espeak` is considered discontinued, as development has shifted to `espeak-ng`.
> More information: <https://manned.org/espeak>.

- Speak a phrase aloud:

`espeak "I like to ride my bike."`
`espeak "{{text}}"`

- Speak a file aloud:
- Speak text from `stdin`:

`echo "{{text}}" | espeak`

- Speak the contents of a [f]ile:

`espeak -f {{path/to/file}}`

- Save output to a WAV audio file, rather than speaking it directly:
- Speak using a specific [v]oice:

`espeak -v {{voice}} "{{text}}"`

- Speak at a specific [s]peed (default is 160) and [p]itch (default is 50):

`espeak -s {{speed}} -p {{pitch}} "{{text}}"`

- Output the audio to a [w]AV file instead of speaking it directly:

`espeak -w {{filename.wav}} "It's GNU plus Linux"`
`espeak -w {{path/to/output.wav}} "{{text}}"`

- Use a different voice:
- List all available voices:

`espeak -v {{voice}}`
`espeak --voices`
33 changes: 33 additions & 0 deletions pages/common/speak-ng.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# speak-ng

> A multi-lingual software speech synthesizer.
> See also: `espeak-ng`, `espeak`.
> More information: <https://github.com/espeak-ng/espeak-ng/blob/master/src/speak-ng.1.ronn>.

- Speak a phrase aloud:

`speak-ng "{{text}}"`

- Speak text from `stdin`:

`echo "{{text}}" | speak-ng`

- Speak the contents of a [f]ile:

`speak-ng -f {{path/to/file}}`

- Speak using a specific [v]oice:

`speak-ng -v {{voice}} "{{text}}"`

- Speak at a specific [s]peed (default is 175) and [p]itch (default is 50):

`speak-ng -s {{speed}} -p {{pitch}} "{{text}}"`

- Output the audio to a [w]AV file instead of speaking it directly:

`speak-ng -w {{path/to/output.wav}} "{{text}}"`

- List all available voices:

`espeak-ng --voices`