Is there a command in GPScript to re-sync all of the external MIDI controller parameters to their widgets?
Let’s say I have a GPScript that I want to look for an incoming CC96 message, and when it sees that I want it to send out the the positions of all the widgets that are sync’d via MIDI.
When I switch between variations this happens, so that an external control surface will immediately pick up the changing positions of different widgets when changing variations. I want that same sync to happen through a script when I send the CC96 message. The CC96 detection part is easy enough. It’s sending out all the widget values I’m not sure about.
My real world application is using a BCF2000 controller. I have the faders and buttons set up such that 3 of the presets on the BCF2000 operate on 3 different MIDI channels, so I can basically use them as three different “pages” of controls. On Blue 3 I have preset 2 controlling the upper register drawbars, for example, and preset 3 controlling the lower register. On preset 1 the faders control volumes for different VSTs.
Individually these all work fine. The problem is only one preset (what I’m using as a "page) of the BCF will stay in sync. e.g., if I’m on preset 1 on the BCF and I change variations in GP, the faders and knobs will all snap to the right place. If I then switch to preset 2, the faders and knobs on the BCF will reflect whatever they were at last time I was on that preset. They don’t “hear” the updates GP sent when it changed variations, other than the updates for the preset I was on.
I’m not sure how clear that explanation is. The basic gist is I’m just wondering if there’s a way to get GP to re-send the positions of all the MIDI sync’d widgets through a script.