Reply To: TTS say phonemes

Home Forums OpenEars TTS say phonemes Reply To: TTS say phonemes

#11257
Halle Winkler
Politepix

Hi, sorry for the fact that I didn’t see this.Here is a function I use in grapheme generator to obtain phones for arbitrary text:

const char * flite_text_to_phones(const char *text,
cst_voice *voice,
const char *outtype)
{
const char * phones;

cst_utterance *u;

u = flite_synth_text(text,voice);
flite_process_output(u,outtype,FALSE);
phones = print_phones(u);

delete_utterance(u);

return phones;
}

But this of course involves two synthesis passes. I do it with a really fast voice in OpenEars so it isn’t that arduous but it’s probably still noticeable.

If I recall correctly, the phonemes used in Flite are the same ones used in Pocketsphinx with the exception that Pocketphinx’s ah needs to be turned into ax.