keijiro / MidiJack

MIDI input plugin for Unity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to get a timestamp?

tomkail opened this issue · comments

My drum kit calls note up almost instantly after a note down, which means that GetKey/GetKeyDown are never true in Update loops.
What I'd really like is the noteOnDelegate to also include the midi-time timestamp of the note so I can handle this stuff myself, but I'm not sure how to get it out from the message data. Can anyone shed some light?

At the moment, it's not possible to get timestamp with the plugin. I can understand it's useful in some use cases. I'll revisit it in the near future.