I wrote a talking clock 6 months ago. Because TTS didn't support my language so I combine some sound files to create a phrase.
For example: ItIs.mp3 + Ten.mp3 + Oclock.mp3 = "It is ten o'clock" (of course in my language).
I used a Sub to play each sound file:
Dim mp As MediaPlayer
Sub Talk(what As String)
Do While mp.IsPlaying
DoEvents
Loop
mp.Load(File.DirAssets, what & ".wav")
mp.Play
End Sub
Talk("ItIs")
Talk("Ten")
Talk("Oclock")
My app worked great on my old phone (800Mhz CPU). I can hear each sound file played one by one. I just changed to new phone (1.5Ghz Dual Core CPU), now it seems
all sound files play at the same time. I think the CPU is too fast to handle the loop. Is it right? How can I make the sound files play one by one again?
Thank you for your help.