Hi, Johan.
Thanks. The xsampa sequence "fa_Iv" produces the desired long i sound
in the speech output "five".
I'm not sure how to specify your example of rise "r\a_Iz though due to
the backslash escape character. I tried the following and they all
produced a speech output sounding like "huh ive".
text = "<speak xml:lang=\"en-US\"> <phoneme alphabet=
\"xsampa\" ph=\"ra_Iz\"/>.</speak>";
mTts.speak(text, TextToSpeech.QUEUE_ADD, null);
text = "<speak xml:lang=\"en-US\"> <phoneme alphabet=
\"xsampa\" ph=\"r\\a_Iz\"/>.</speak>";
mTts.speak(text, TextToSpeech.QUEUE_ADD, null);
text = "<speak xml:lang=\"en-US\"> <phoneme alphabet=
\"xsampa\" ph=\"r*a_Iz\"/>.</speak>";
mTts.speak(text, TextToSpeech.QUEUE_ADD, null);
My attempted use of an asterisk is based upon the note in
http://en.wikipedia.org/wiki/Xsampa that "X-SAMPA uses backslashes as
modifying suffixes to create new symbols. For example O is a distinct
sound from O\, to which it bears no relation. Such use of the
backslash character can be a problem, since many programs interpret it
as an escape character for the character following it. For example,
you cannot use such X-SAMPA symbols in EMU, therefore you need to
replace backlash with some other symbol (e.g. an asterisk: '*') when
adding phonemic transcription to an EMU speech database."
Clearly, my use of
http://en.wikipedia.org/wiki/Xsampa as a reference
hasn't been particularly effective. Is there a reference you
recommend for those trying to learn how to specify pronunciations
using xsampa sequences? (In a few weeks, I'll be volunteering with
some 7th and 8th graders on a project to specify the pronunciation of
the scientific names of the birds of North America using xsampa, pico,
and Android.)
Thanks again,
Greg
On Sep 20, 12:35 pm, "Johan Wouters" <
johan.m.wout...@gmail.com>