You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to calculate the duration that the MIDI file should be, included as a delta of an event of type MIDIEvents.EVENT_META_END_OF_TRACK in the "conductor track".
I could try and fix this and figure out what's wrong with the math, but I might be able to just get rid of this entirely, I'm not sure it's needed.
I also might be able to calculate this more easily by just totalling up the deltas of the events...
Looks like it should just need / ms_per_tick tho?
(assuming rounding errors don't come into play at these time scales?)
The text was updated successfully, but these errors were encountered:
I try to calculate the duration that the MIDI file should be, included as a delta of an event of type
MIDIEvents.EVENT_META_END_OF_TRACK
in the "conductor track".I could try and fix this and figure out what's wrong with the math, but I might be able to just get rid of this entirely, I'm not sure it's needed.
I also might be able to calculate this more easily by just totalling up the deltas of the events...
Looks like it should just need
/ ms_per_tick
tho?(assuming rounding errors don't come into play at these time scales?)
The text was updated successfully, but these errors were encountered: