standards - error reading MIDI files into program -


i have midi file generated using musescore. plays in windows media player, causes midi reading program crash. i've been using following links me: midi specification , mobilefish midi guide, second 1 primarily.

4d 54 68 64 = mthd 00 00 00 06 = header length of 6 00 01 = track format 1 00 02 = 2 tracks 01 e0 = 480 delta-ticks per quarter note  4d 54 72 6b = mtrk 00 00 00 86 = length of 0x86 00 ff 58 04 04 02 18 08 = time signature 00 ff 59 02 00 00 = key signature 00 c0 00 = program change (channel 1) 02 b0 07 64 = control mode change (channel 1) 02 0a = running status 40 02 = running status 5b 1e = running status 02 5d = running status 1e ac 78 90 = aftertouch event (channel 13, not applicable in context) 3e 50 = running status 83 5f 3e = delta time (83 5f) , 3e, not status byte (more bytes context): 00 01 40 50 

what exists in midi standard i've overlooked here?

this question, wrote, flawed, , i'm sorry people tried me; must have copied output notepad++ incorrectly. however, may run same issues did, i'll write answer question.

whenever running status used, always preceded delta time. may see guides otherwise, such one, http://www.blitter.com/~russtopia/midi/~jglatt/tech/midispec/run.htm, know information on these misleading.

for example:

00 90 7f 7f 7f 00 50 7f 50 00 

this wrong.

however, correct version:

00 90 7f 7f 81 00 7f 00 00 50 7f 81 00 50 00 

this preceded delta time.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -