meenie / band.js

Band.js - Music composer interface for the Web Audio API.
Other
1.18k stars 93 forks source link

Functionality to clear the notes [Fixes #8] #10

Closed ebeigarts closed 10 years ago

ebeigarts commented 10 years ago

I had a similiar problem as described in #8.

Creating multiple BandJS (AudioContext) instances lead to

Uncaught SyntaxError: audio resources unavailable for AudioContext construction 

With this method I can now reset the notes and reuse the same BandJS instance, I am not sure if this clears everything, but at least it is working for me.

meenie commented 10 years ago

Thanks a ton for this! I appreciate the PR.