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

Multiple Sound sources #2

Open
felicss opened this issue Mar 22, 2018 · 1 comment
Open

Multiple Sound sources #2

felicss opened this issue Mar 22, 2018 · 1 comment

Comments

@felicss
Copy link

felicss commented Mar 22, 2018

Is there a proper way to play multiple sounds or is this implementation only intended for single audio sources?
Doing something like this
this.sound = new Source(soundEnv.addBuffer("beep1"));
this.sound2 = new Source(soundEnv.addBuffer("beep2"));
this.sound.play(true);
this.sound2.play(true);
doesn't seem to do the trick

thank you

@felicss
Copy link
Author

felicss commented Mar 22, 2018

It seems to work if i don't start playing the sounds immediately after one another

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