Topics

[espeak-ng:master] new issue: Espeak not translating phonemes for mbrola if mbrola voice is not used #github


espeak-ng@groups.io Integration <espeak-ng@...>
 

[espeak-ng:master] New Issue Created by hadware:
#704 Espeak not translating phonemes for mbrola if mbrola voice is not used

Hello,

I'm maybe pushing the limits of what should be done with Espeak (as a phonemizer) a bit far, but here's what I'd like to do: I'd like to phonemize some text, in the SAMPA format, with the symbols strictly defined on the original SAMPA website . I don't need either the length of phonemes, or their stresses.

A way to get that is to use a mbrola voice, and ask for the mbrola output ith --pho, then parse that output and extract the right phonemes. However, this is a bit convoluted...

Since the regular way to get some phonemized non-SAMPA output for some speech is :

$ espeak-ng -v fr-fr -q --sep=" " "c'est à quatre heures?"
 s E t2  a  k 'a t r  'W r

I thought, well, I should just switch the language to mb-fr1, Espeak should then use the mbrola_ph/fr1_phtrans phoneme remapping table, and... voilà?

$ espeak-ng -v mb-fr1 -q --sep=" " "c'est à quatre heure?"
 s E t2  a  k 'a t r  'W r

... as you can see, it doesnt work. However, the translation works fine if you use --pho

$ espeak-ng -v mb-fr1 -q --sep=" " "c'est à quatre heure?" --pho
s	100
E	33	 0 93 20 94 40 94 59 95 80 96 100 96
t	68
a	33	 0 96 20 96 40 97 59 97 80 98 100 98
k	90
a	40	 0 114 80 107 100 107
t	81
R	65
9	66	 0 108 13 95 27 82 53 92 80 110 100 110
R	65
_	301
_	1

This is a bit surprising, and counter-intuitive if you want to get some SAMPA-compatible (yet not for mbrola) phonemized version of some text. I'm using espeak 1.49.2 (official Ubuntu package).