danigb / soundfont-player

Quick soundfont loader and player for browser
MIT License
453 stars 60 forks source link

schedule doesn't seem to have a parameter for note length #73

Open eprincen2 opened 4 years ago

eprincen2 commented 4 years ago

How do you tell the player to stop a note when you are using schedule?

Treefrog74 commented 4 years ago

This might not be very helpful, but I am currently working on a p5.js sketch that is encountering the same kind of problem. Currently the .stop function only works on actual time, but I am trying to figure out a function that will allow it to work with some kind of note value so that it varies with the bpm. Let me know if you come up with something.