|
Post by bongojak on Sept 5, 2023 3:13:13 GMT
Midi fire
In the midi remote (midi mapping) is There a way to assign the same CC(72) at velocity 0 to one module and cc(72) at velocity 127 to a different module?
another way of asking.. can the parameters in the midi remote allow for inverted messages? (I say invert as I’m coming from AUM where he calls it inverted, which is velocity 0 and 127)
this way I can create a midi “switch”
Midi controller > CC72 =
A (0) = midi channel 1 B (127) = midi channel 2
|
|
|
Post by redheronmusic on Sept 5, 2023 12:34:30 GMT
|
|
|
Post by bongojak on Sept 5, 2023 13:57:49 GMT
I thought that might have been hard to understand, let me try to reword it. Appreciate the help!
CC72 (or any cc) I have my controller set to toggle (light on, on press =127, light off on press = 0)
Inside midi fire remote (midi mapping).. I would like module “A” (bypass state) to be on (light on/ 127) and off when light off (0).. easy done.. but now I want module “B” (bypass state) to ON with CC 72 light off (0) and off with CC 72 light on (127)
Which would create “switch” to toggle back and forth from module A to module B with one button (light on and off)
|
|
|
Post by redheronmusic on Sept 5, 2023 22:44:40 GMT
Looks like the Remote Control function is hardwired so that a value greater than or equal to 64 is on, less than 64 is off.
And looks like this is the value received at the input to MIDI Fire, not at the input to the module. So you could not use SB to invert the value.
While you cannot use Remote control, you can make a hack, similar to the one I linked to, using SB to block or enable a module. In this case you can use any desired value to enable or block.
At the input to the desired module, add a SB module. From the same source, hook up a second SB module that bypasses the module. Now we need mirror image SB block code, that toggles between the two paths.
Put this code as in in one path, reverse the on, off, and initial values in the second module.
Now repeat for the second module, but reversing the SB module codes.
# Red Heron Music # Sep 5, 2023 # Toggle block Rev 2
If Load Define Ctl_Msg B0 01 Define On_Value $127 # CC Value to turn on Define Off_Value 0 # CC Value to turn off Ass i0 = 0 # initial state, 0 for blocked, 1 for enabled End
If M0 == Ctl_Msg If M2 == On_Value Ass i0 = 1 End If M2 == Off_Value Ass i0 = 0 End End
If i0 == 0 Block End
|
|
|
Post by bongojak on Sept 8, 2023 14:02:16 GMT
Thank you so much! Took me a bit to find B0 01 which is cc 01.. I needed cc 72 which is 48.. I got it now, thanks!
|
|