Your shopping cart is empty.

Mode Selector LED settings sometimes appear, sometimes don't

Submitted by Jushia Tuphou on Sat, 04/10/2021 - 11:47
Jushia Tuphou
Control Surface Studio User

Hi John,

I'm trying to create a script for my Korg nanoKONTROL2. It's based on djpaimon's korg_nanokontrol2.json controller template and has 11 modes... 5 primary 'a' modes, a shift mode, and 5 secondary 'b' modes.

So far, I've gotten the functionality working how I want and /mostly/ the correct LEDs come on when the respective mode is active. The exception being the button I'm using to shift between the 'a' and 'b' sets, which I want to be lit whenever a 'b' mode is active. *Finding a fix is out of scope for this post* (though all help gratefully received! suffice it to say, I've read your blog post and watched the YT tutorial) but I'm finding it hit and miss in terms of changing LED settings. In that...

Bug?: Mode Selector LED settings sometimes appear, sometimes not

You'll see what I mean in this video (sorry for low res, I'm running low on space, but you'll see enough to get the gist of the issue) - https://www.dropbox.com/s/av7wus7rwqg8ub5/CSS_ModeSelectors_LEDsettings....

In this screen recording, I navigate down the script hierarchy selecting Mode Selectors. Keep an eye on two things:
1) Any Mode Selector mapping name ending in 'LED' is a Mode Selector for which I've already applied an LED setting, but currently the setting is not visible in the GUI
2) Mode Selector mapping names not ending in LED are either not needing a bespoke setting; or, as you'll see, I finally manage to change them as the setting appears (ie: I was doing this yesterday and the LED settings were missing, but now they appear!)

Hope this makes sense? Controller Template and Script attached

Right... I should now try and discern why Mode 5b is correctly lighting buttons 3 and 7, whilst the other 'b' modes are not lighting button 3.

Cheers
Jus

Topic Category: 

5 Responses

Comments

Jushia Tuphou
Control Surface Studio User
#1

I should add:
CSS 2.5.6
OS X 10.14.6
MacBook Pro (Retina, 15-inch, Late 2013)
2.6 GHz Intel Core i7
16 GB 1600 MHz DDR3
NVIDIA GeForce GT 750M 2048 MB / Intel Iris Pro 1536 MB (Auto Graphics Switching = OFF)
Java 8 Update 281 build 09 (build 1.8.0_281-b09)

John C
Forum Admin
#2

Hi Justin,

I see what you're saying (the video helped, so thanks for that)
However, as far as I'm aware, Mode Selector buttons don't have midi feedback so I'm not sure how some of them do in your script - has the json file been directly edited in some way?
For feedback related to modes, you add this in the Mode's settings, not the mode selector.
If you open a mode settings form you will see the following options:
Send Feedback yes/no
Mode is active
Mode not active
Here you can set the feedback value to send to your controller when the mode is activated and when it is deactivated.

Jushia Tuphou
Control Surface Studio User
#3

Hmmm... very strange indeed! No direct editing of the json (I wouldn't know where to start). I'll take a look at the mode level feedback tomorrow. Thanks!

Jushia Tuphou
Control Surface Studio User
#4

John, Thanks for your help with the Modes feedback. All the mode buttons and LEDs are working now.

I set every Mode Selector back to default control and default LED. I also replaced the Mode Selector that had a dropdown arrow (see the video above from 1m:5s)

The real snag I'm persistently coming up against is my script jumbling up. I've added to the thread covering this...
https://remotify.io/community/question/not-saving-order-items-list-bug-b...

Thanks again!
Jus

John C
Forum Admin
#5

Thanks for letting my know that fixed it for you.
I'll take a look at the other issue too :)