rhdunn / espeak

eSpeak NG is an open source speech synthesizer that supports 101 languages and accents.
http://reecedunn.co.uk/espeak-for-android
GNU General Public License v3.0
386 stars 16 forks source link

new voice in indonesian for phenome input #61

Closed adimcver closed 10 years ago

adimcver commented 10 years ago

how can i create new voice, i will build my voice for reaserch in indonesian. because the voice is difficult to understand

rhdunn commented 10 years ago

You need to create a phsource/ph_<language> file that is referenced by phsource/phonemes. This contains how the different phonemes are pronounced. There is already one for Indonesian.

Next, you need a set of pronunciation rules (dictsource/<language-code>_rules) that describe how individual or groups of characters are pronounced. You also need a word list (dictsource/<language-code>_list) file that contains rules for pronouncing numbers, identifying the grammar/parts of speech for certain words and fixing words that are not pronounced correctly using the rules. These are already present for Indonesian (dictsource/id_rules and dictsource/id_list).

Next, you need a voice file in espeak-data/voices. There is already one for Indonesian (espeak-data/voices/asia/id) and one for the id1 MBROLA voice data (espeak-data/voices/mb/mb-id1).

You can build any dictionary/phoneme changes by running:

make id

Running make on its own will build all the dictionaries.

You can either adjust the existing voice, or create a different one (e.g. the English dialects), which requires different phsource and voice files.

There is more information on how the different files work at http://espeak.sourceforge.net/docindex.html. You can also look at the existing files in eSpeak to see how things are done.

It would also be useful to look through and understand https://en.wikipedia.org/wiki/Help:IPA_for_Malay and https://en.wikipedia.org/wiki/Malay_phonology.

adimcver commented 10 years ago

thank very much, I will try it, but can you tell me for convert espeak to android apk

rhdunn commented 10 years ago

To make the changes on eSpeak for Android, you need to switch to the android branch:

git checkout android

You can then make your changes accordingly. Once that is done, follow the build instructions on the README.md page to build the APK and then push the APK to your Android device.

adimcver commented 10 years ago

I can used indonesain language, but I want to make my voice, or I want to build ne Voice Variant, How can I do, this my reaserch for my school,

rhdunn commented 10 years ago

You need a new phsource file for your variant and an espeak-data/voices file for the variant. See, e.g. the en-n file for English (North) and how it is mapped in the phsource/phonemes file.

If you want a completely different sound to the way espeak sounds, eSpeak does not provide an easy way to provide different sound generation (you would need to re-write the ph_indonesian file and provide your own spectral/audio data files). I am not completely familiar with how this works, but the eSpeak dev makes use of Praat (see e.g. the espeak branch of my old praat mirror -- https://github.com/rhdunn/praat) in conjuction with espeakedit.

adimcver commented 10 years ago

Thank you very much. I very helped. I will try it. Pada 3 Apr 2014 02:06, "Reece Dunn" notifications@github.com menulis:

You need a new phsource file for your variant and an espeak-data/voices file for the variant. See, e.g. the en-n file for English (North) and how it is mapped in the phsource/phonemes file.

If you want a completely different sound to the way espeak sounds, eSpeak does not provide an easy way to provide different sound generation (you would need to re-write the ph_indonesian file and provide your own spectral/audio data files). I am not completely familiar with how this works, but the eSpeak dev makes use of Praat (see e.g. the espeak branch of my old praat mirror -- https://github.com/rhdunn/praat) in conjuction with espeakedit.

Reply to this email directly or view it on GitHubhttps://github.com/rhdunn/espeak/issues/61#issuecomment-39363363 .