py-midi icon indicating copy to clipboard operation
py-midi copied to clipboard

SysEx Start/Play got halt in the while loop.

Open adwuard opened this issue 5 years ago • 3 comments

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.

adwuard avatar Jul 24 '19 11:07 adwuard

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?

edthrn avatar Jul 24 '19 16:07 edthrn

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.

adwuard avatar Jul 24 '19 16:07 adwuard

Ok thanks for notifying.

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

edthrn avatar Jul 24 '19 20:07 edthrn