Type in Switch
Give the MIDI out plugin in the rackspace the gp script handle MIDI_OUT via the plugin popup menu like shown in the documentation I posted.
Exactly, that was it. There are no more error messages. Unfortunately, the parameters in the script are incorrect, so I canât see any changes in the lighting on my controller. But thatâs a different issue
Now you have climbed the first step in GP script
Thank you so much!
That is because you are not sending the right note numbers and sending to the wrong MIDI channel.
Why are you not using a loop for step 4?
I just edited his script. A loop would be better but the numbers of the pads are actually not consecutive.
Should be as follows, so you could do 2 loops
excerpt
// Step 4: Change Pad colors (BF xx yy) - without loop
SendNowExternal(MIDI_OUT, MakeMidiMessage3(0x90, 0x70, 0x01)) // Color for Pad 0
SendNowExternal(MIDI_OUT, MakeMidiMessage3(0x90, 0x71, 0x02)) // Color for Pad 1
SendNowExternal(MIDI_OUT, MakeMidiMessage3(0x90, 0x72, 0x03)) // Color for Pad 2
SendNowExternal(MIDI_OUT, MakeMidiMessage3(0x90, 0x73, 0x04)) // Color for Pad 3
SendNowExternal(MIDI_OUT, MakeMidiMessage3(0x90, 0x74, 0x05)) // Color for Pad 4
SendNowExternal(MIDI_OUT, MakeMidiMessage3(0x90, 0x75, 0x06)) // Color for Pad 5
SendNowExternal(MIDI_OUT, MakeMidiMessage3(0x90, 0x76, 0x07)) // Color for Pad 6
SendNowExternal(MIDI_OUT, MakeMidiMessage3(0x90, 0x77, 0x08)) // Color for Pad 7
SendNowExternal(MIDI_OUT, MakeMidiMessage3(0x90, 0x60, 0x09)) // Color for Pad 8
SendNowExternal(MIDI_OUT, MakeMidiMessage3(0x90, 0x61, 0x0A)) // Color for Pad 9
SendNowExternal(MIDI_OUT, MakeMidiMessage3(0x90, 0x62, 0x0B)) // Color for Pad 10
SendNowExternal(MIDI_OUT, MakeMidiMessage3(0x90, 0x63, 0x0C)) // Color for Pad 11
SendNowExternal(MIDI_OUT, MakeMidiMessage3(0x90, 0x64, 0x0D)) // Color for Pad 12
SendNowExternal(MIDI_OUT, MakeMidiMessage3(0x90, 0x65, 0x0E)) // Color for Pad 13
SendNowExternal(MIDI_OUT, MakeMidiMessage3(0x90, 0x66, 0x0F)) // Color for Pad 14
SendNowExternal(MIDI_OUT, MakeMidiMessage3(0x90, 0x67, 0x10)) // Color for Pad 15
With loops after defining y and z as integers
// Step 4: Change Pad colors
y = 1
while y < 17 do
z=0x70
while z<0x78 do
SendNowExternal(MIDI_OUT, MakeMidiMessage3(0x90, z, y))
y=y+1
z=z+1
End
z=0x60
while z<0x68 do
SendNowExternal(MIDI_OUT, MakeMidiMessage3(0x90, z, y))
y=y+1
z=z+1
End
End
Or a shorter loop
y=1
z=0x60
While y<0x17 do
if z < 0x68 Or z>0x6F then
SendNowExternal(MIDI_OUT, MakeMidiMessage3(0x90, z, y))
y=y+1
End
z=z+1
End
I just wanted to check in and explain why I havenât written anything more on the topic. I havenât made any progress with GP Script at all. However, Iâve now found a solution for my pad lighting setup outside of GigPerformer that doesnât require scripting . Since I have a Novation Launchkey keyboard, I looked into their software. On their website, thereâs an editor that allows you to configure the Launchkey via WebMIDI. Using the editor, I was able to set up the toggle function, choose my desired colors, adjust the key behavior, and assign the CC values exactly the way I wanted.
Even though it didnât work out through scripting, I want to thank everyone who took an interest in my topic.
Hi @genM
I tried this on my LaunchKey MINI MK3 and although I can get the CCs to work (custom mode), I donât get any LED feedback when pressing the buttons in GP. How did you accomplish this?
SteveC
For me, the solution âhardware controls softwareâ works best. I try to control as much as possible through the controller and avoid using the mouse. Youâre rightââsoftware controls hardwareâ doesnât work. Thatâs normal for the potentiometers anyway. With my solution, you also canât control the pads on the controller via the pads on the panel. For that, youâd need scripting, which I now reject and doesnât fit into my operating concept.
Oh, so I guess the LEDâs donât synchronize with Gig Performer as you originally intended.
I was messing with it and as far as I can tell, there is no remote LED feedback in custom mode.
I found this article and got my LKey MINI MK3 to work by allowing LED feedback.
I set the pads in custom mode to CCâs with toggle. and in Gig Performer turn sync on and turn Momentary to latching off. Now in custom mode everything works and keeps GP and the controller LEDâs in sync perfectly.
SteveC
This is great! I was following this thread with interest, but am not keen to start digging into scriptlets at all - itâs the kind of rabbit hole I canât afford to dive into, this is great.
Just one thing that I had to do on my LK (not configurable via Novation Components) is to make sure âExt. Feedbackâ is set to âOnâ. Now, doing what SteveC said works for me. Cheers!
Yeah, no scripts or scriptlets required now. It required update the the firmware to work but compontents does that for you.
SteveC