-
Notifications
You must be signed in to change notification settings - Fork 271
Closed
Description
Hi,
I like the library, but there is one Problem I am having with it. You can not listen to more than one Input Midi Channel at a time. This is a serious limitation. My suggestion would be, to use a Bitmask instead of the Channel number to set the Channels to listen to. (So if bit 1 and 2 are set, you listen to Channels 1 and 2) At a later time in the "User Code", the User of the lib can sort the messages.
There are also two bugs in the Code, one might want to Fix:
- in the inputFilter method in Midi.hpp:
the Argument "inChannel" is not used, but there is "mInputChannel" used instead. (You can not specify the Channel to filter if you call the method) - in the thruFilter method in Midi.hpp:
the Argument "inChannel" is not used, but there is "mInputChannel" used instead. (You can not specify the Channel to filter if you call the method)
BTW: I can Upload my Code with the changes applied, if you want to see it.