Android : launch sounds at 
I want to launch multiple sounds every x miliseconds with a good precision (< 5ms).

I tried TimerTask/Handler.postDelayed with MediaPlayer/SoundPool. I always have bad precision.

For instance, I launched sounds like this :
- launch sound1 in 500ms, 1000ms, 1500ms, 2000ms, 2500ms, ...
- launch sound2 in 250ms, 500ms, 750ms, 1000ms, 1250ms, 1500ms, 1750ms, ...

DO you have a better idea for this purpose ?

Thank you.
Android : launch sounds at 
===

I want to launch multiple sounds every x miliseconds with a good precision (< 5ms).

I tried TimerTask/Handler.postDelayed with MediaPlayer/SoundPool. I always have bad precision.

For instance, I launched sounds like this :
- launch sound1 in 500ms, 1000ms, 1500ms, 2000ms, 2500ms, ...
- launch sound2 in 250ms, 500ms, 750ms, 1000ms, 1250ms, 1500ms, 1750ms, ...

DO you have a better idea for this purpose ?

Thank you.