[LAU] MidiMemo and MidiGraph

Maurizio Berti maurizio.berti at gmail.com
Wed Sep 28 12:16:07 UTC 2016


> 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 at ladisch.de>:

> 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....... at ......
> 000020: 0E 0F 10 11 F7 00 16 40 00 FF 2F 00              ....... at ../.
>                          ^
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20160928/330058fd/attachment.html>


More information about the Linux-audio-user mailing list