I just want to reiterate what s going on.
My goal:
To turn on the green light (send velocity=01) when Playback Button 01 Active
and to turn on the red light (send velocity=03) when Playback Button 01 Inactive
This code:
<action>
<trigger type="Unsigned" specifier="Change">Playback Button 01 Active</trigger>
<tasks>
<task type="Midi" function ="Set">
<argument type="Midi Address">Channel 0 - Message 09 - Index 53</argument>
<argument type="Unsigned">01</argument>
</task>
</tasks>
</action>
does send the correct velocity (i.e. color).
However, when I add another action (i.e. the Inactive/Red sending code):
<action>
<trigger type="Unsigned" specifier="Change">Playback Button 01 Inactive</trigger>
<tasks>
<task type="Midi" function ="Setl">
<argument type="Midi Address">Channel 0 - Message 09 - Index 53</argument>
<argument type="Unsigned">03</argument>
</task>
</tasks>
</action>
So that the whole feedback action script looks like this:
<actionlist enabled="true" label="feedback" source="System">
<action>
<trigger type="Unsigned" specifier="Change">Playback Button 01 Active</trigger>
<tasks>
<task type="Midi" function ="Set">
<argument type="Midi Address">Channel 0 - Message 09 - Index 53</argument>
<argument type="Unsigned">01</argument>
</task>
</tasks>
</action>
<action>
<trigger type="Unsigned" specifier="Change">Playback Button 01 Inactive</trigger>
<tasks>
<task type="Midi" function ="Set">
<argument type="Midi Address">Channel 0 - Message 09 - Index 53</argument>
<argument type="Unsigned">03</argument>
</task>
</tasks>
</action>
</actionlist>
The script in this order seems to ignore the Active script and just execute the Inactive script.
Therefore, I get the button to light up red when its Inactive, but when the button becomes Active the light stays on.
Which leaves me with a red light that stays on no matter what.
Changing to "Set" to "Control":
<actionlist enabled="true" label="feedback" source="System">
<action>
<trigger type="Unsigned" specifier="Change">Playback Button 01 Active</trigger>
<tasks>
<task type="Midi" function ="Control">
<argument type="Midi Address">Channel 0 - Message 09 - Index 53</argument>
<argument type="Unsigned">01</argument>
</task>
</tasks>
</action>
<action>
<trigger type="Unsigned" specifier="Change">Playback Button 01 Inactive</trigger>
<tasks>
<task type="Midi" function ="Control">
<argument type="Midi Address">Channel 0 - Message 09 - Index 53</argument>
<argument type="Unsigned">03</argument>
</task>
</tasks>
</action>
</actionlist>
Has the effects of executing only the first Active script, and sending velocity at full.
It does, however, turn off when the Playback Button is no longer Active.
I'm almost there, but yet so far. And I've been working on this problem for weeks and weeks.
So please, is there a way to write the code to:
To turn on the green light (send velocity=01) when Playback Button 01 Active
and to turn on the red light (send velocity=03) when Playback Button 01 Inactive?
Also:
Just tested with control and v.1024 does only have feedback implemented to 12 playback button.
When are the rest going to be supported?