Help parsing MIDI data
I've searched many websites about MIDI specs, one thing I don't understand is the channel messages. For example, all websites I have searched say pitch bend is a 3-byte message, for example e0 7f 7f means pitch bend at channel 1, 7f 7f is a 7-bit encoded message means 16383 in decimal. But when I insert another pitch bend message, I can't find the first byte (E0) anymore. What I get is
00 e0 7f 7f 9e 00 00 48 00 ff 2f 00
00: delta time
e0 7f 7f: pitch bend at ch1, value 16383
9e 00: delta time
00 48 00: pitch bend value 9216, but why the first byte is 00, not e0?
00: delta time
ff 2f 00: end of track
I've attached the midi file, please help, thanks!
Last edited by bennetng; 05-21-2017 at 11:07 AM.
|