How to lit in nanoKONTROL2

Then it is still more efficient to use 24 callbacks and simply call a common function to do the work

@dhj and if not too much to ask how can I do that? I’m new to GP and love it, but I don’t know still nothing about scripting

This is working perfectly with the one button. What MIDI devices are your MIDI Blocks pointing to?

I’m willing to help with one or two buttons so that you can learn and possibly do the rest. I imagine to do 24 buttons you would need to create an array to toggle the button state of all 24 buttons.

Also you didn’t tell me what note you are sending.

SteveC

@SteveC-Bome I have not idea what note it is because I think is a cc#

You should be able to tell by opening the Global MIDI Monitor in Gig Performer.

@SteveC-Bome I got the button working (the light is on (on the nano) but when switching variation or rackspace where it should be off it stays on

@SteveC-Bome

OK, it would be better though if you set up your controller so that all buttons are notes (momentary) and sliders and knobs are CC’s you can do that with the Korg Control Editor. You can download it at the Korg web site.

Steve

So you will likely need to have some scripting that changes the value of the light as you move from one rackspace to another IN ADDITION to the controller updating the widget. This would require the state of the widget (perhaps controlled by a plugin to update the LED in addition to the button.

Something I could probably do but would take time so I would not do it for free. Maybe someone else in the community would like to take this on.

SteveC

@SteveC-Bome

If you put the code in each rackspace and turn sync on, it should follow the state of the selected rackspace.

I just set up Note 8 for mute and a simple MIDI learn on the slider.
I tied the note widget to Mute and the slider widget to volume

nk2-demo.gig (175.8 KB)

Oh, and in the Korg Control Editor I set LED mode to External.

And after all that, I found out that GigPerformer is smart enough without the script. I commented out the entire script in both rackspaces and everything works fine. A little embarrassed but not too much because I really don’t spend that much timer with Gig Performer. I do most of my work in Bome MIDI Translator Pro.

SteveC

@SteveC-Bome For some strange reason it’s not working in my end, oh well thanks anyways

how did you do that?

@SteveC-Bome never mind I found it, thanks