Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Play sequence of sounds without delay? #5

Open
gwenfriedman opened this issue Aug 6, 2020 · 0 comments
Open

Play sequence of sounds without delay? #5

gwenfriedman opened this issue Aug 6, 2020 · 0 comments

Comments

@gwenfriedman
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant