Re: Play a sound multiple times without waiting for it to finish
Reply #1 –
Sound#play() shouldn't block. The music module in particular specifically relies on it not blocking, so it's kind of weird if it is for you.
That said, a single Sound can only have one instance playing at a time - calling play() on it again will just restart it:
Sound#play([mixer]);
Begins or resumes sound playback. When called with no `mixer` argument,
Sound#play() will resume playback for a paused sound. Otherwise, the sound
is started from the beginning on the specified mixer.
I should probably implement a SoundEffect API like Sphere 1.6. Something to think about for the next miniSphere version, I guess.