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

add note on - note off to API #4

Closed
tatumizer opened this issue May 2, 2017 · 1 comment
Closed

add note on - note off to API #4

tatumizer opened this issue May 2, 2017 · 1 comment

Comments

@tatumizer
Copy link

To enable live performance (via Web Midi), library has to provide API for realtime playing, which essentially boils down to implementing note on - note off (with specified velocity). Adding sustain pedal on-off would be perfect (though it's easy to add on application level).

@surikov
Copy link
Owner

surikov commented May 2, 2017

Open 'endless flute' example. Look to the functions

  • playPipe
  • stopPipe

use similar code for noteOn and noteOff

@surikov surikov closed this as completed May 2, 2017
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