Hi,
I’m using a combo to set the MIDI channel of a range of controllers on a panel. Most have complex expressions programmed in LUA, but I have some standard MIDI CC sliders as well.
What I want to do is to set the channel override channel to the MIDI Channel value. I’m using this command to try to accomplish this.
panel:getModulatorByName(“Vol”):getComponent():setPropertyInt(“midiMessageChannel”, cntch)
The problem is that there are 2 parameters called midiMessageChannel. The first, and the one I want to change is the 3rd parameter in the MIDI section in the General Pane (when the controller is selected). It’s immediately under the midiMessageChannelOverride parameter (which I have ticked).
The parameter that actually changes is further down the list (5 up from the Component Header), and it has the same name (midiMessageChannel).
The second parameter doesn’t seem to have any effect. Can anyone let me know how I can programmatically change the first midiMessageChannel parameter?
The Puppeteer
http://godlike.com.au