Hello, I would like to hold a button on my intech device and instantly switch what cc a fader or a knob is sending, how to setup!
Thanks
Hello, I would like to hold a button on my intech device and instantly switch what cc a fader or a knob is sending, how to setup!
Thanks
hey, you can use a global var and code blocks to do it:
my_cc with your default CCmidi_send(-1, -1, my_cc, -1)my_cc = new valuemy_cc = old valuelmk if any of the above don't make sense
no only the second row, to declare that the global variable equal 0 by default
oh, the global variable would actually hold the CC number the encoder is going to send
I was thinking global variable as 0 or 1 and using if blocks, a bit like bome midi translator logic
I think I get it
Yeah, you got it, lmk if you need more help
I almost made it, but my knob is sending reset messages
Maybe use the actual values instead of default -1?
midi_send(0, 176, holdvar, self:encoder_value())
Above example sends control messages (176) to channel 1 (0) with CC (holdvar) and value (switch if not an encoder)
thanks
View on Discord
This post is from the Intech Studio Discord community.