Hello all. I'm currently writing software to read midi files and I've having troubles. For starters, after the chunk header signifier MTrk, there's 4 bytes that specifies the size of the chunk, which I'm lead to believe doesn't include itself or the header signifier. However, in every single MIDI file that I've put in my hex editor, there's always a group of 0 bytes right after, sometimes just one. Are those bytes also included in the size? If so, then what do you do with them? If it's not a VLQ value for Midi event timing, nor the beginning of a Meta event, Should they be discarded? Are they just padding? Also, things like Meta events make playback difficult. If any of you have experience in designing MIDI players, is there a good way to scan ahead for meta events so they can be loaded before the song plays, like text, lyrics, and instrument assignment?