Reactions question. Device selection and LED feedback

850 viewsCSS Questionsdevice Reactions
0

Hi there everyone,

Excuse the question as a newbie to Reactions trying to build my first reactions script. I’ve watched the videos and tried my hand at some scripts but not much progress. 

I have an Novation SL Mk2. The buttons are set to Momentary. There’s only one colour available, Red, 0 is off 127 is on. I want use a button, Say button 9, to select a device on a particular track, light the LED on that button and have it stay on until I select another device using another button. At the moment I just get a momentary flash when I press the button as would be expected from a momentary button. I have set up a script that selects the device (Not in Reactions) but cannot get the LED feedback to happen.

In Reactions

-And what is the correct Reaction sequence to get an LED to stay lit as described above?

-What is the sequence of Action commands that selects a device on a particular track, or a device within a chain? 

Thanks for your help

Glenn V. Answered question November 6, 2024
Attached Files:
0

Hi Maikoos,

what is the correct Reaction sequence to get an LED to stay lit as described above?

If you want to have a momentary button act as a toggle button, you’ll need to make sure the Reaction is exited whenever the Velocity Value is 0 (which happens on button release).

To do that, you can make the first Action Block as follows:

CONDITION

If <<Button>> is equal to 0

ACTION

Exit reaction

EXAMPLE

What is the sequence of Action commands that selects a device on a particular track, or a device within a chain?

In the menu of an Action, you can find the “Select Device” option as follows:

“Live Object Model” >> “Song” >> “Select Device”

Using the Path Menu, which is accessible through the icon of the gray upwards pointing hand (see pic below) you can point towards the device you want to have selected:

As you can see, there are a lot of options. Checking the box next to “Target device chain” gives you device chain options.

Maikoos Posted new comment November 6, 2024

Thanks so much for your detailed reply, Glenn. I’ll have a go with it in the next few weeks.
M

You are viewing 1 out of 3 answers, click here to view all answers.