Play loop sound (from file) with dynamic intervals?
first of all thanks a lot for providing this great framework.
I want to play a certain sound effect from a file at dynamic interval times.
So let's say I have this array [0, 1043, 5456, 6001, 10020] that contains time information in milliseconds.
What I want to achieve is to play the sound at the very beginning (0 ms), then at 1043 ms, then at 5456 ms, then at 6001 ms, then at 10020 ms while this last playback equals the 0 ms.
So the next playback would be 1043 ms later... and so on (in a loop).
Could anybody please give me a hint on this one?
Thanks a lot!