Rockbox Technical Forums

Support and General Use => User Interface and Voice => Topic started by: Jancen on January 07, 2008, 08:15:50 AM

Title: German Speech/voice on H10 6 GB
Post by: Jancen on January 07, 2008, 08:15:50 AM
Hi,

I've got following problem. I want to have the german Voice support on my drive. I followed the instruction. Copied the voice file in to the langs folder, renamed it into german.voice, changed the settings and rebooted my drive but it stays silent.  Than I changend the language into english and english works. Than I wanted to use the voicebox to for my drives mp3.tags but ist doesn't work either.
What am I missing?

I want to buy my mother in law an Sansa e 280 cause she's blind, so I need this feathure for her audiobooks. Please help.

BTW. I tried to install the speach in the first time with the installation tool, but it doesn't work so I made it manually. And the OF.Bin file is missing too.

Jancen
Title: Re: German Speach/voice on H10 6 GB
Post by: LinusN on January 07, 2008, 08:50:02 AM
I believe you should name the file "deutsch.voice".
Title: Re: German Speach/voice on H10 6 GB
Post by: bascule on January 07, 2008, 08:53:34 AM

Than I wanted to use the voicebox to for my drives mp3.tags but ist doesn't work either.
What am I missing?


To speak filenames, an extra step is required.

The manual entry on voice:
http://download.rockbox.org/manual/rockbox-h10_5gb/rockbox-buildch7.html#x10-1260007.9
The Wiki page to explain exactly how to do it:
http://www.rockbox.org/twiki/bin/view/Main/VoiceHowto
Title: Re: German Speach/voice on H10 6 GB
Post by: Jancen on January 07, 2008, 03:30:33 PM
Hi,

Quote
I believe you should name the file "deutsch.voice".


That's what I've done after the first try. But only english works.
Title: Re: German Speach/voice on H10 6 GB
Post by: LinusN on January 07, 2008, 03:56:22 PM

Hi,

Quote
I believe you should name the file "deutsch.voice".


That's what I've done after the first try. But only english works.


Sorry, my bad. You wrote that you had renamed it to "german.voice", but didn't write that you tried "deutsch.voice" too.
Title: Re: German Speach/voice on H10 6 GB
Post by: bascule on January 07, 2008, 04:18:06 PM
I think what is happening here is that you are renaming the downloaded h10_5gb-20080107-english.voice to deutsch.voice. That will not work.

A separate, different voice file (spoken in German) is required and that has to be called deutsch.voice

Voice files for different languages are available here (http://www.rockbox.org/twiki/bin/view/Main/VoiceFiles). Unfortunately, there are no recent German voice files available and older ones will not work correctly.

You will probably have to make your own using the VoiceBuilding (http://www.rockbox.org/twiki/bin/view/Main/VoiceBuilding) Wiki page.
Title: Re: German Speach/voice on H10 6 GB
Post by: pixelma on January 07, 2008, 04:30:54 PM
I think what is happening here is that you are renaming the downloaded h10_5gb-20080107-english.voice to deutsch.voice. That will not work.

This will work if you chose "deutsch" as the language (so menu text and so on will be in german but it'll speak english then) - could be a good first test though.

(...) Copied the voice file in to the langs folder, renamed it into german.voice, changed the settings and rebooted my drive but it stays silent.

Which voice file did you download and copy? You need a fairly recent voice file and one that's made for the player you want to use it with. Because a German voice file is not provided for download, you'll probably need to build one yourself as bascule already said (see his link).
Title: Re: German Speach/voice on H10 6 GB
Post by: Jancen on February 07, 2008, 10:46:00 AM
Hi,

I'm a Newbie. And I think my english isn't good for this wiki. Can you give me a detailed Howto?

Thanks
Jancen
Title: Re: German Speach/voice on H10 6 GB
Post by: bluebrother on February 07, 2008, 01:37:16 PM
The current svn version of Rockbox Utility (http://www.rockbox.org/wiki/RockboxUtility) can create voice files. As the latest official release hasn't this functionality added I've put a current svn build online at http://www.stud.uni-karlsruhe.de/~uhcn/rockbox/rbutil/rbutilqt-v1.0.4pre.zip

Edit: make sure to choose the correct encoder when trying Rockbox Utility -- you need to choose Speex for all players except the Archos ones.
Title: Re: German Speach/voice on H10 6 GB
Post by: crzyboyster on February 07, 2008, 06:56:48 PM
Why is the Hindi language not included as an option for lang files? And I will use espeak hi for the tts engine, how would I configure this?
Title: Re: German Speech/voice on H10 6 GB
Post by: Jancen on February 08, 2008, 11:31:22 AM
hi bluebrother,

thanks for your work. I will give it a try. i see you've done a good job.

Can i use speakonia als textengine?

And

i used voice box for the mp3-clips does it work? Cause when i switch to speakonia rbutiqt uses speakonia to for creating voice clips and that's frustrating.

Jancen
Title: Re: German Speech/voice on H10 6 GB
Post by: crzyboyster on February 09, 2008, 11:17:13 AM
bluebrother: Can you put up a newer version of the rockbox utility because I would like to make a hindi voice file. Thanks!
Title: Re: German Speech/voice on H10 6 GB
Post by: bluebrother on February 09, 2008, 01:32:02 PM

bluebrother: Can you put up a newer version of the rockbox utility because I would like to make a hindi voice file. Thanks!

Done. Same link as before (you should notice a newer timestamp of rbutilqt.exe in the zip package). The user configuration file changed slightly, you might need to re-do the speech configuration in Rockbox Utility.

Can i use speakonia als textengine?

I never heard of that. But if I understand the web site I found using Google (http://www.cfs-technologies.com/home/?id=1.4) correctly it "just" is a GUI and uses the builtin TTS of windows -- i.e. it should not affect Rockbox Utility.

Quote
Cause when i switch to speakonia rbutiqt uses speakonia to for creating voice clips and that's frustrating.

Can you elaborate this further? I don't think I understand the problem completely. Rockbox Utility uses the TTS engine directly. In case of the SAPI voices it's done using a vba script that's directly run from Rockbox Utility. The utility you use for accessing the interface of Rockbox Utility doesn't affect this.
Title: Re: German Speech/voice on H10 6 GB
Post by: crzyboyster on February 09, 2008, 05:08:19 PM
Thanks! Quick question: If I set up the tts engine properly, should espeak pop up? And each time in espeak, am I supposed to input the string that it is asking for?
Title: Re: German Speech/voice on H10 6 GB
Post by: bluebrother on February 10, 2008, 03:49:44 AM
espeak is a command line tool, not a GUI application. So why should it pop up?
Title: Re: German Speech/voice on H10 6 GB
Post by: Jancen on February 10, 2008, 03:45:20 PM
Hi bluebrother,

i think i missed something. i tried your tool but it says "TTS excuteable not found" and "inint of TTS engine failed". the konfiguration path of the TTS engine is empty. What must i do?
I've got the microsoft reader and the speakonia installed and work with vista.

Jancen

Title: Re: German Speech/voice on H10 6 GB
Post by: Jancen on February 13, 2008, 11:49:48 AM
Hi bluebrother,
i think i'm a step further. i configered the tts-engine by choosing "SAPI5 TTS engine", choose the german language and the voice "anna"and  left the tts option field empty.
When i ran the programm the file is only 5,25 kB. what's wrong?

Jancen
Title: Re: German Speech/voice on H10 6 GB
Post by: bluebrother on February 13, 2008, 01:56:51 PM
When i ran the programm the file is only 5,25 kB. what's wrong?
There seems to be a bug indeed -- I can reproduce the issue. Wait a couple of days and check the svn log -- hopefully this will be fixed soonish.

Edit: make sure you have selected a valid voice in the tts configuration dialog. It seems this doesn't get a reasonable default.