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

.stopAllNotes not working with webaudio api #76

Open
ntowbinj opened this issue Apr 8, 2014 · 0 comments
Open

.stopAllNotes not working with webaudio api #76

ntowbinj opened this issue Apr 8, 2014 · 0 comments

Comments

@ntowbinj
Copy link

ntowbinj commented Apr 8, 2014

I wrote a simple program using MIDI.js that worked as expected with the 'audiotag' api. However, on machines where the webaudio api is used, the MIDI.stopAllNotes didn't do anything--i.e. notes still rang out until the sample ended or a noteOff event turned them off. I have a work around where I keep track of all notes that are on and simply use noteOff on all of them instead of stopAllNotes, but it's worth looking into. The problem was verified on a mac and pc, both with Firefox and Chrome.

I may see about trying to fix it myself, but I'm quite new to web audio in general.

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