Asking about midi data in event of note #30
Unanswered
RProduction
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Event delta is the time before the event, not the duration. Ultimately this is a tricky problem to solve, and I've been thinking of adding a MIDI preprocessing step that calculates absolute times & durations for each event at import. That said, it won't be added anytime soon so calculating it at runtime or before the track plays is the way to go for now. Event data can be a variety of things, for note-on it's the velocity. This page might help: https://midimusic.github.io/tech/midispec.html |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I want to ask.
What event['delta'] and event['data'] stand for? I want to get duration or length of a note. Do i get it by calculating between note on and note off real time or i can use delta at note on?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions