HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

flite — Speech synthesis engine. More information: <http://www.festvox.org/flite/doc/>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandenginesynthesiscliinformationspeechmoreflite

Problem

How to use the flite command: Speech synthesis engine. More information: <http://www.festvox.org/flite/doc/>.

Solution

flite — Speech synthesis engine. More information: <http://www.festvox.org/flite/doc/>.

List all available voices:
flite -lv


Convert a text string to speech:
flite -t "{{string}}"


Convert the contents of a file to speech:
flite -f {{path/to/file.txt}}


Use the specified voice:
flite -voice {{file://path/to/filename.flitevox|url}}


Store output into a wav file:
flite -voice {{file://path/to/filename.flitevox|url}} -f {{path/to/file.txt}} -o {{output.wav}}


Display version:
flite --version

Code Snippets

List all available voices

flite -lv

Convert a text string to speech

flite -t "{{string}}"

Convert the contents of a file to speech

flite -f {{path/to/file.txt}}

Use the specified voice

flite -voice {{file://path/to/filename.flitevox|url}}

Store output into a wav file

flite -voice {{file://path/to/filename.flitevox|url}} -f {{path/to/file.txt}} -o {{output.wav}}

Context

tldr-pages: common/flite

Revisions (0)

No revisions yet.