8000 Midi files do not start at time 0 · mido · Discussion #619 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Midi files do not start at time 0 #619

Answered by rdoursenaud
Rythmat asked this question in Q&A
Discussion options

You must be logged in to vote

where time is specified as the length of the note to be played in ticks

MIDI File messages time holds a delta time value not a length. Delta time is the time in ticks before playing the next message.
In your example your first note_on message is set to start 120 ticks after the set_tempo meta. You want this value at 0.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Rythmat
Comment options

Answer selected by Rythmat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
0