A Midihub Program Change patch enabling communication between otherwise incompatible devices!
First of two patches converting between (absolute) Program Change Numbers & (relative) incrementing CC events.
This patch was written for a user who had a
• controller with Program Change up/down buttons which transmitted a changing PC number, but a
• device which only recognised a CC with fixed-values for Up and Down.
The patch was designed to *store* the just-received PC number so that it could be used to decide which fixed-CC-value should be sent on subsequent Program Changes
This uses a physical-loopback to map internally created events.
For those unfamiliar with loopback patches, there is an accompanying diagram at https://community.blokas.io/t/program-change-patches/4053/2 to help interpret the stages.