The filename story.txt was just an example. I shall make it clearer in my previous post.
You can use the commandto get a list of voices. Each voice is made for a specific language. In my case the output starts with
Code:
Pty Language Age/Gender VoiceName File Other Langs
5 af M afrikaans af
5 bg bulgarian-test bg
5 bs M bosnian bs
5 ca M catalan ca
5 cs M czech cs
5 cy M welsh-test cy
5 da M danish da
5 de M german de
(...)
Find the language you want (for some languages there are a few variants) and then use the voice name on the command line. With the -s option you can set the speed in words/minute. For example, if you want to pronounce the file example.txt at 120 words/minute and it contains german text, use
Code:
espeak -f example.txt -s 120 -v german
Substitute the values you want. Also note that you don't have to supply a file name, as there are other ways to provide the text you want pronounced.
Alternatively, if you are uncomfortable with the command line (and I get the impression you are), you can install gespeaker, which is a program available in the software centre. It's a graphical front end to espeak, where you can change the settings you want with sliders and menus. It may be better suited to your experience.
Bookmarks