Trying to switch inputs

Hi All!
I have a somewhat complicated patch that starts with input via usb B port. I want to change it to input from midi A. I use the “change source of all usb B pipes” but it doesn’t work.
It looks like this:


It does appear to change every instance of usb B to midi A but no go. Any ideas why? Thanks!!
Peter
P4.CH1-69>CH2.87INV.mhp (612 Bytes)

I don’t see this idea reflected in the patch, @pje, because I only see virtual mappings bypassing pipes, not changing their Source | Destination property.


Ignoring the unmapped flows from the MIDI DIN inputs, your patch seems to be in two sections.

The first toggles…
…between pjeTop0 and pjeTop1
when CC#69 is on Ch1

The 2nd toggles…
…between pjeSecond0 and pjeSecond1
when CC#87 is on Ch1

So while the 1st (Virtual H group) allows some events from USB B IN → USB A OUT in both states,

the 2nd (Virtual F group) is different – whenever the “inverting” Note Remap is disabled, no events get out from USB A OUT anyway. I don’t know if this is intended.

PS. As the two groups act independently with only one filter, in some states messages will go to USB A OUT from both sections.
(So A2-in → A2-out and E4-out can occur with some combination of mapping CCs)
I don’t know if this is intended.

Thank you for responding!
Notes enter from USB b.
they go to channel 1.
when pressing a pedal assigned to cc 69, the sound is held, and the pathway is switched to channel 2. On channel 2, you can play over held sounds of Channel one.

The second part inverts notes on ch 1 when pressing pedal assigned to cc 87.

The truth is, I don’t completely understand how it works, but it works, reliably.

All I want to do is change the single note input to Midi A instead of USB b

for some reason, this does not work with the MH command of “change, all instances of. x’

can you understand what I need to do to accomplish this?
thanks again,
Peter

I think it’s important that you do!

  • I find it easier to see with plain numbers that note names (View → Note Value Display) but you may be different
    invertNotes

  • watch the Monitor when you hit 45, then 46, etc

  • if need be (temporarily) change the values to just one octave…
    invertNotesChange
    …it might make it easier to see it’s just following a number pattern

  • then maybe change it so In covers just 1 octave but Out covers 2

  • spend half an hour watching Note → Monitor and it will click


All I want to do is change the single note input to Midi A instead of USB B

So Do you mean you want to toggle between

  • USB B → … → Virtual F
    and
  • MIDI DIN A → … → Virtual F?

And I suspect you want Note Remap to be Disabled when the Source should be MIDI DIN A?

If so, as your CC is going in USB B you should do similar to the “invert CC77” in line1:
note 2 x Transform → Rescale:
invertNotesSrcScale
(CC87 has just created CC88)


then
invertNotesSrcMap
(change the map in Note Remap to Virtual H)

but…

…I don’t know if this is what you want – my query:

some states messages will go to USB A OUT from both sections.

I think would still stand.

“So Do you mean you want to toggle between

  • USB B → … → Virtual F
    and
  • MIDI DIN A → … → Virtual F?”

no, I want to replace usb B with Midi A.
I want it to work the same, except with midi A input.
I try this again, and it worked! I have no idea why it did not work the first time. This has improved my set up a lot. Five pin midi playing response seems more responsive and predictable than USB.
now I’m going to try to convert my other five patches to Midi A in