Working with Scaler 2, I have to send different CC #s to select different scales. This I have accomplished for 8 scales with 8 Radio Buttons and MIDI In (Local GP Port).
There are, however, almost 100 available scales. Ideally, I would like to be able to choose from all of them using a single control (i.e. not 100 buttons).
IOW, in this picture, I would like to use the slider instead of the buttons.
Another reason here is that there will be more than one Scaler plugin in the gig and I want to keep them in sync, which I could do with a widget group, but that can’t include Radio Buttons, and besides, hundreds of buttons are not desired in any case.
The goal is to move one simple control and reset all the Scalers accordingly.
The fact that they require CCs as the means to do it certainly seems to complicate things!
That general approach with script, as-if I had my single widget routed to multiple destinations, is one that I would like to understand. I would use that in multiple places.
May I please encourage you to. review the system function list and become familiar with it. All these things are possible using the available functions.
Q. Since I had to use the Rackspace script in order to take advantage of the WidgetValueChanged() function, how do I then route a MIDI message from the Rackspace script into the MIDI input of the plugin that needs to receive it?
Alternatively, you could create a scriptlet and have it as a dedicated block on Wiring view. You create a parameter and have that callback generate the CC, in a similar way to what you’ve done. For scriptlets, there is a SendNow function, which will output the CC message via the block’s MIDI Out port. That way, you connect it to the MIDI in port of your plugin.
That was my first approach, but then how do I connect the scriptlet to the slider widget? The compiler reports that the widget type is only allowed in rackspace scripts.