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

Use Web Audio API for music. #89

Open
bouveng opened this issue Jun 9, 2020 · 0 comments
Open

Use Web Audio API for music. #89

bouveng opened this issue Jun 9, 2020 · 0 comments
Assignees

Comments

@bouveng
Copy link
Collaborator

bouveng commented Jun 9, 2020

Use Web Audio API in favor for basic playback embedding with HTML5 Audio element.

The Web Audio API offers more capabilites than the HTML5 Audio element and in our use case it is critical to create seamless looping of super mario music.

Jake Archibald did a write up on the subject in 2016: https://jakearchibald.com/2016/sounds-fun/

Looping: https://webaudio.github.io/web-audio-api/#looping-AudioBufferSourceNode

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

No branches or pull requests

2 participants