Need help converting a PC message into a CC message

Trying to do this

PC 1 —> CC #115 Value of 0
PC 2 —> CC #115 Value 1
PC 3 —> CC #115 Value 2

When i do it, PC1 works as intended, but PC 2+3 seem to still be sending PC messages to my pedal. Why is that?

pc to cc conversion help.mhp (412 Bytes)

Every parallel [FROM A] pipeline gets a copy of the incoming event, so you are duplicating them and sending [TO B].

To better get the whole picture, try changing all [TO B] destinations to [TO VIRTUAL A]. Then place:

[FROM VIRTUAL A] → [TO B]

At this new line, you will see the entire MIDI stream in the MIDI Monitor, so you can see all the duplicate events the same as the device connected to MIDI B output sees.

To fix that - move all Transform pipes to go on a single [FROM A] → Transforms… → [TO B] line - this way only a single PC message will be passing through the line and that one should get picked up by one of the Transforms and converted to the CC.

P.S., your 3rd Transform should have Argument 2 set to 2, not 1.

UPDATE: Sorry, I got sidelined during this reply so missed @Giedrius reply!


.


Hey, @choponster01
Your PC → CC Transforms are doing what you want…
…but they only Replace the PC Range they’re set for

(so your Work with Program Number in Range Low|High = 1, will let PC#0 and PC#2-127 go merrily by)


(see also here)

If it helps, think of someone watching a conveyor belt with the strict instruction to only pay attention to messages labelled PC and #1 :
he/she’s just gonna ignore any Note On.. or CC.. or any other PC

How to fix it:

Add a filter to each line:

or better still, in this instance, use just one line

if stray CCs might come in MIDI-A