it should work but the number may depend on the device speed, etc. Should be easy enough to try. Let us know how it works.
Just had a quick thought and am away from my development computer at the moment.
Is it possible to play two MP3s at the same time. If yes, what are the limits on the amount of MP3s that can be played simultaneously.
Regards, Colin
For what it's worth, on my Alcatel Ideal phone, I can play no more than 10 MP3s simultaneously. Trying to play any more causes an "java.lang.RuntimeException: java.io.IOException: setDataSource failed." error.
Each of the MP3s in my test is about 61 KB in size.
I Dimmed and initialized 78 (+1) Media Players, one for each note of each string of 12 frets on a guitar, and tried to load an MP3 of each note into the array. I was able to load and start playing 10 simultaneous notes, and the error occurs when loading the 11th Media Player of the array.
I'm cool with being limited to 10 simultaneous MP3s, since a guitar only has 6 strings and so my app never needs to play more notes than that simultaneously. And for my piano app, well, most people only have 10 fingers with which to tickle the ivories so it's still good. If I was making an app for instruments which can sound more than 10 notes at once, though, I'd be getting real strung out, fiddling with code, and harping on this issue.