lcardevnas / Soundable

Soundable allows you to play sounds, single and in sequence, in a very easy way
MIT License
93 stars 9 forks source link

Play sequence of sounds without delay? #5

Open gwenfriedman opened 4 years ago

gwenfriedman commented 4 years ago

Hello, I'm wondering if it's possible to play a sequence of sounds without any delay. I'm using: let sound1 = Sound(fileName: "guitar-chord.wav") let sound2 = Sound(fileName: "rain.mp3") let sound3 = Sound(fileName: "water-stream.wav")

let sounds = [sound1, sound2, sound3] sounds.play()

and there is a slight delay before each new sound starts.

Thanks!