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

Simultaneous playback of music files #1

Open
kitao opened this issue Aug 26, 2018 · 4 comments
Open

Simultaneous playback of music files #1

kitao opened this issue Aug 26, 2018 · 4 comments

Comments

@kitao
Copy link

kitao commented Aug 26, 2018

Hi, very interesting project!

Is is possible to play multiple files, song and sfx files for example, simultaneously?
If not, is there any way to expand it?
Thank you!

@multimediamike
Copy link
Owner

You probably could play multiple songs, but it would be difficult to synchronize them.

What exactly are you hoping to achieve?

@kitao
Copy link
Author

kitao commented Aug 27, 2018

Thank you for reply.
I would like to play NES music as bgm of a web game and also play sound effect of NES style too.

@multimediamike
Copy link
Owner

You should be able to use this player easily for bgm, provided you have a music file in a supported format. For sound effects, you should probably just create new nodes using the Web Audio API and let the browser worry about the mixing.

@kitao
Copy link
Author

kitao commented Aug 27, 2018

Thank you! I'll try the multiple node plan.

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

2 participants