Is there any way of giving the text to speech engine phonetic input, rather than input in a particular language? I'm creating an app for African users who are not fully literate, and it would be useful to have TTS in exotic languages that are not supported by Android but for which I can provide phonetic spellings. (I realise these wouldn't sound perfect, but the result would be intelligible.)
I've read that the Android TTS engine accepts input in Speech Synthesis Markup Language (SSML). However, when I try, for example:
...which I'd hoped would read out "ljonse ulutSe:lo akasuBa kale:ma" (a sentence in the African language Bemba spelled phonetically), it simply reads out the tags as if they were part of the text.
Is there any way of giving the TTS engine phonetic input?
I've read that the Android TTS engine accepts input in Speech Synthesis Markup Language (SSML). However, when I try, for example:
B4X:
TTSEngine.Speak ("<phoneme alphabet=\""xsampa\"" ph=\""[ljonse ulutSe:lo akasuBa kale:ma\""/>.",True)
...which I'd hoped would read out "ljonse ulutSe:lo akasuBa kale:ma" (a sentence in the African language Bemba spelled phonetically), it simply reads out the tags as if they were part of the text.
Is there any way of giving the TTS engine phonetic input?