jsynth-midi
v0.4.0
Published
time based function for reading events from midi files
Downloads
8
Readme
jsynth-midi
require it
pass it a midi file
it returns a function(time)
call that function over and over again, passing the time
it will sometimes return midi events
look for event.subType == noteOn || noteOff
in those objects you will find event.noteNumber and event.velocity properties
known bug
tempo changes may cause a problem, but so far only very complex midi files has those.
want to fix bug soon tho.