How to reset all send return for all tracks with 1 buttons ?

0

Hello everyone

How to reset all send return for all tracks with 1 buttons ?

i created a reaction to reset value send to 0

self.song().tracks[0].mixer_device.sends[0].value = 0
self.song().tracks[1].mixer_device.sends[0].value = 0
self.song().tracks[2].mixer_device.sends[0].value = 0
self.song().tracks[3].mixer_device.sends[0].value = 0
self.song().tracks[4].mixer_device.sends[0].value = 0
self.song().tracks[5].mixer_device.sends[0].value = 0

self.song().tracks[0] => is number of tracks

mixer_device.sends[0] => is number of sends

Is there a command to select all  tracks and all sends ?

Thank you in advance for your answer

<img src=”https://community.remotify.io/wp-content/uploads/anspress-temp/3324dc36adacac37f0a53f931acbae2f1dfd81be_1130.jpg” />

JohnC Answered question July 28, 2024
0

@MatMartigan the code for looping through sends is incorrect.
This is why it’s not working for you.

I’ve reported this to be fixed in a future update, but for now here’s what you can do:
Switch the loop into ‘custom coding mode’ and change the code so it matches the following:

self.song().tracks[0].mixer_device.sends

Attached is the working Reaction mapping which does the following:
1. Resets all sends on track 1 back to zero.
2. Logs the send number of each send to the CSS log

You’ll just need to set the listener to the button which you want to use for resetting them

JohnC Posted new comment August 1, 2024

ok thank you Man you are a king 🙂

it now works with track 1
I set to zero all send returns of track 1 whatever the number of sends of this track

there was indeed an error in the conversion (custom to gui mode)

Now is it possible to do the same thing by creating a button which will carry out this action but whatever the number of tracks ?

Because we can only add 1 loop per action

On the other hand I have no line in the log which should indicate the iteration number

There’s no way to loop through the tracks and then loop through all of the sends unfortunately.
You would need to add an action block or Reaction for each track.

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