> I cannot find this line anywhere in MidiMemo.
Sorry, it's line 32.
> Running status cannot be used here; the last status byte was F7.
Just to be clear, I did not write that module.
So, the problem is that it doesn't reset the status byte after a sysex
event, right?
2016-09-28 13:59 GMT+02:00 Clemens Ladisch <clemens@email-addr-hidden>:
> Maurizio Berti wrote:
> > I actually add the length using a lambda function in the ev_dict at line
> 24:
> > lambda ev: [len(ev.sysex)-1] + ev.sysex[1:-1]
>
> I cannot find this line anywhere in MidiMemo.
>
> > SysEx events are not a problem per se, if you have a track with only
> SysEx events, it works like a charm; the issue happens when there are
> different event types in the same track, in a peculiar order.
> > More about this:
> > https://github.com/vishnubob/python-midi/issues/95
>
> midi.Track(\
> [midi.NoteOnEvent(tick=0, channel=0, data=[22, 64]),
> midi.SysexEvent(tick=0, channel=0, data=[8, 11, 12, 13, 14, 15, 16,
> 17]),
> midi.NoteOnEvent(tick=0, channel=0, data=[22, 64]),
> midi.EndOfTrackEvent(tick=0, data=[])])
>
> 000000: 4D 54 68 64 00 00 00 06 00 01 00 01 00 DC 4D 54 MThd..........MT
> 000010: 72 6B 00 00 00 16 00 90 16 40 00 F0 08 0B 0C 0D rk.......@......
> 000020: 0E 0F 10 11 F7 00 16 40 00 FF 2F 00 .......@../.
> ^
> Running status cannot be used here; the last status byte was F7.
>
>
> Regards,
> Clemens
>
-- È difficile avere una convinzione precisa quando si parla delle ragioni del cuore. - "Sostiene Pereira", Antonio Tabucchi http://www.jidesk.net
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Wed Sep 28 16:15:02 2016
This archive was generated by hypermail 2.1.8 : Wed Sep 28 2016 - 16:15:02 EEST