Mode Change Resets All LED/Display States
Hey everyone,
First of all I love CCS and this is a great community with lots of valuable knowledge that enables me spending hours and hours creating “the perfect script”, a never ending project just as my songs :D.
I’m experiencing an issue with Control Surface Studio where switching between modes completely resets all LED and display states, and I’m looking for a solution or workaround.
The Problem: Every time I switch modes, all controller LEDs and CC value displays get reset to OFF and Zero. This happens even when returning to a previously active mode.
Example:
- Mode 1: Button 1 LED is ON, Encoder 1 CC value display is at 127
- Switch to Mode 2
- Switch back to Mode 1: Button 1 LED is now OFF, Encoder 1 CC value display is at 0
My questions:
- Is there a built-in way to preserve LED/display states between mode changes at all?
- Has anyone implemented a custom solution to cache and restore states (modifiers would not be appropriate here, I guess?)?
- Is this intended behavior or a known limitation?
Any help or workarounds would be greatly appreciated! This is really disrupting my workflow as I have to manually restore all visual feedback after every mode change.
Thanks and best regards,
Jason
Hi John,
thanks for the quick reply.
In my script I have 16 encoders connected to the track volume of the 16 chains of a drum rack which is on track one in my script.
First Drum Rack Chain: self.song().tracks[0].devices[0].chains[0].mixer_device.volume.value = self.get_value_from_ranges(False, 127, False, self.midi_cc_ch_0_val_70.cur_val, 0, 127, 2, 0.0, 0.85, 4, False)
In Mode One, the display shows value 127 for all 16 encoders and all 16 button leds of the buttons obove are on (buttons don’t have a function other than being resetted to 127 when script initialises).
After switching modes and returning to Mode One, all values of the encoder displays are at zero and the button leds off.
If I understand you correctly, the led buttonsĀ be back on as soon as I return to Mode One, and If yes, is the same true for the CC value shown on the display of the midi controller?
Sign up
User registration is currently not allowed.