We're developing an app with neural nets that combines many small .mp3's (about 1 sec long) as a way to output the information in the audio format.
Like, if the network sees a number 3001, we wanna combine "three" & "thousand" & "and" & "one" and if it's 4002 --> "four" & "thousand" & "and" & "two", and to do that we try to run those files one after the other in a single thread so that the thread freezes until the "three" file played, then the "thousand" one and so on.
The .mp3's are too short to work with MediaPlayer, and SoundPool doesn't have OnComletedListener and the ability to tell the lenght of the .mp3 tracks. Do you know a good way to deal with the problem and find a solution to it?
Any help is really, really, really appreciated, thanks a lot in advance!