I want to write a Scriptlet or Script that will use the ‘On ProgramChangeEvent’, then subtract 1 from the PC#, then send that PC to 8 different MIDI Channels.
I can’t seem to get off the ground because I haven’t played with scripting for a long time. Can someone plz help with the Script Code. It should be extremely simple, but I guess I am getting old and forgot how to program. LOL!
//Called when a program change message is received
On ProgramChangeEvent(m : ProgramChangeMessage)
SendNow(MakeProgramChangeMessage(GetProgramChangeNumber(m)-1))
End
@pianopaul I have a Rackspace that is using 8 DEXED plugins. I am trying to simulate a TX816 just for practice. I want to be able to display the patch name on a Text Label Widget, but it doesn’t seem to be offered:
Sorry there is only a very stupid workaround.
In scripting send a pc message to the plugin and as you know what preset you choose you set the label via scripting…
MIDI Program Change messages always go from 0 to 127. Since some hardware and software devices count the first program change as PC0 (the range is 0-127) and the others as PC1 (the range is 1-128), Gig Performer allows you to set the starting point for display purposes. This behavior can be changed in the Global MIDI Options:
That is exactly the tool I need and of course answers my questions.
Now, I just have to create my own list as the Plugin itself as David says, will most likely not provide the names of its Presets.