-
Notifications
You must be signed in to change notification settings - Fork 1
Status calculation is wrong in Bitwig.midiOut #24
Copy link
Copy link
Open
Description
Sorry, this isn't an issue, more of a question.
On this line:
Line 39 in a65e668
| const status = type << (4 + channel); |
Can you explain adding
channel here? Doesn't it shift the type bits too far?
According to the Linnstrument midi docs, CC should be 1011cccc where c is the channel. To me, this should be const status = type << 4 | channel);, where the << shifts 4 spaces left and | channel flips the appropriate bits to set the channel.
But... it seems your code works.
What do you think?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels