snippetbashTip
speak-ng — A multi-lingual software speech synthesizer. See also: `espeak-ng`, `espeak`. More information: <htt
Viewed 0 times
commandlingualsoftwareclimultispeechsynthesizerspeak-ng
Problem
How to use the
speak-ng command: 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>.Solution
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-ngSpeak 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:
speak-ng --voicesCode Snippets
Speak a phrase aloud
speak-ng "{{text}}"Speak text from `stdin`
echo "{{text}}" | speak-ngSpeak 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}}"Context
tldr-pages: common/speak-ng
Revisions (0)
No revisions yet.