I have an HD Desire phone with Android 2.3.
TTS is working fine and it says every text that I give. But when I use it in any of the lines below to set my own voice for some texts, it simply ignores it and synthesizes the text, just like a line is not written!
tts.addSpeech("salam", "/sdcard/salam.wav"); tts.addSpeech("shalam", "com.company.appname", R.raw.shalam); ... tts.speak("salam", TextToSpeech.QUEUE_FLUSH, null);
I am sure that both files exist. Why is this? Is there a limit on audio files? For example, at their frequency or mono or stereo?
I already checked the docs and didn't see anything.
Mousa source share