Wiki > Main > VoiceBuilding (compare)
Difference: VoiceBuilding (r59 vs. r58)
We provide daily built voice files at http://www.rockbox.org/daily.shtml - built using Festival TTS. If you have a better sounding TTS engine (or lots of spare time) and would like to make your own voice files, read on!
This is an in-depth description how to build your own voice files. It requires a little more than basic computer knowledge. For an easy solution (but not suitable for batch-generating voice files) you can also try RockboxUtility's voice generation feature.
First, you need the [language].lang file for your language. Bring this up to date if necessary, and fill in the voice: values for those entries that have them in the current english.lang file (the master of all .lang files). The voice files are then created by performing the following 4 steps:
You now have a
This is good for languages without a usable TTS engine. Go to Start->Run and type sndrec32. Have a printed copy of the .lang with you. Follow the printed copy, recording the strings in the correct order. Save each clip by giving the name as the id of the phrase. When that is complete, put voicefont.exe, yourlang.lang, and english.lang in to the directory in which you saved all the clips. Go to the command prompt, change to the build dir, and run lame on all the clips. Once that is taken care of, you can run voicefont and get a .voice file.
Download the script in FS#7650 and save it in a subdir of the Rockbox source. Now put your recorded Voice clips in a directory called "originals", the filename should contain the string that's being voiced followed by .wav (For example "Yes.wav"). Now edit the top lines of the file, so that LANGNAME is set to the correct language. After this, run the script, and it should provide you with voicefiles, or tell you which strings are missing.
%W% This script needs to be updated to use rbspeexenc - easily done on line 180.
r60 - 25 Jan 2012 - 09:54:53 - MarcinBukatRevision r59 - 15 Aug 2008 - 22:02 - DominikRiebeling
Revision r58 - 06 Feb 2008 - 00:47 - MarcGuay
Copyright © by the contributing authors.