User avatar
Hove
Posts: 1205
Joined: Sun Oct 21, 2012 6:55 pm
Location: Cotswolds, UK
Contact: Website

espeak has gone German [SOLVED]

Fri Oct 18, 2013 9:08 am

I'd have espeak working well in English (except running Python outside of IDLE but that's a different post).

Today, I used it to test some speakers with "Hello world", and it had a strange accent which sounded German, so I tried "Guten tag" which was perfectly pronounced. I haven't deliberately changed my locale to germany, but I have updated and upgraded my Raspian, and I think that updated espeak to support other languages.

Anyone got any suggestions how to get espeak to recognise it's in England and needs English pronunciation?

Thanks
www.pistuffing.co.uk - Raspberry Pi and other stuffing!

User avatar
Hove
Posts: 1205
Joined: Sun Oct 21, 2012 6:55 pm
Location: Cotswolds, UK
Contact: Website

Re: espeak has gone German [SOLVED]

Fri Oct 18, 2013 9:45 am

The voices used by espeak is stored in the directory /usr/lib/arm-linux-gnueabihf/espeak-data/voices/ and subdirectories.

Unless you specify a voice on the command line, it uses the "default" voice file. To change the default voice to sound Italian go to the above directory and type

Code: Select all

sudo mv default default.de
sudo cp it default
Due to many variants of English voice styles, there is a selection in the en subdirectory. In this case, for a straight English voice type

Code: Select all

 sudo mv default default.de
sudo cp en/en default
This takes effect the next time you run espeak
www.pistuffing.co.uk - Raspberry Pi and other stuffing!

Return to “General discussion”