I use something like:
Code:
espeak -f myfile --stdout | ffmpeg -i - -ar 44100 -ac 2 -ab 192k -f mp3 final.mp3
Change to your needs
EDIT I should mention that>> the --stdout option to espeak will tell it to write the audio data to stdout instead of putting it through the audio device. From there you can pipe it into e.g. ffmpeg for conversion to the proper format.
EDIT2: To use the voice you need use something along the lines of this:
Code:
espeak -v mb-en1 -f '/home/me/Documents/a surround sound setup.' --stdout | ffmpeg -i - -ar 44100 -ac 2 -ab 192k -f mp3 1final.mp3
Bookmarks