Text2wave

From LQWiki
Jump to navigation Jump to search

text2wave is a utility included with the Festival project, which allows you to convert a text document to a synthesized speech audio file..

How to use

echo "linuxquestions.org" > mytext.txt
  • Convert your text file to audio:
text2wave -o mytext.wav myaudio.txt
  • To see more options:
text2wave --help
  • Or:
man text2wave
  • Download over 30,000 free ebooks from Project Gutenberg and convert them to audio for your MP3 player or burn a CD:
text2wave -o waroftheworlds.wav waroftheworlds.txt

Wave files can be very large; you may want to convert them to a compressed format using the Lame MP3 encoder or Sox.

See also

External links