edthrn / py-midi

A simple MIDI interface for Python 3
GNU General Public License v3.0
48 stars 9 forks source link

SysEx Start/Play got halt in the while loop. #9

Open adwuard opened 5 years ago

adwuard commented 5 years ago

Using with some Midi devices and I got error when hitting play on the midi devices. SysEx message like 11111010 [Start/Play] got halt in the while loop. Not sure what's the reason. Tried two midi devices I have. Same problem occurs.

edthrn commented 5 years ago

Is it related to this line? ie, the object is falsly identifing a signal as beiing the end of a SysEx, although it is not?

adwuard commented 5 years ago

Yes. Play is only single byte b"\fx" from the midi. That's all to it. No other SysEx data attach to it. And while loop is waiting for more data.

edthrn commented 5 years ago

Ok thanks for notifying.

I won't have time to push a patch in the coming weeks, but a Pull Request is welcome :wink: