this is what Sift (Value) does… but i fear that in the case of parsing midi files it will not help you very much. the problem is that you will have events for note on and for note off. and if you feed in time to the sift node search you can easily miss some on or off events.
midi file players need to keep track of what happened in the past. this is a non-trivial task. but i don’t know what your goal is…
i am already using beyons midi-file-reader, and i am already
trying another approach, where i use precise on and off
events feeding an lfo. and it seems to work.
here and there i look for some knowledge into beyons patch.
and finally i am about to build a kind of a physical machine playing a piano :)
so i thought it would be handy getting midi files used for that.