How to reset all send return for all tracks with 1 buttons ?
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” />
In order to set all of the sends to 0 regardless of how many there are, you would need to do the following:
1. loop through all sends on a track
2. Use the loop iteration number so that each send is targeted (script > loop > loop – iteration number)
This will dynamically loop through all sends.


And just to confirm, you have it set to track 1, is that the one which you’re checking?
Try adding this action below it (in the same action block)
‘script > display a value in CSS log ‘
And for the ‘Value to Display’ set it to:
‘script > loop > loop – iteration number’
When you press your ‘clear all send’, you can view all of the loop iteration numbers in the CSS log.
It should expect to see the number of sends which you have in the track. i.e. if you have 4 sends, you should see:
0
1
2
3

I add action
script – display a value in CSS LOG
Value to display -> loop – iteration number
in custom coding :
self.log_message(“csslog: ” + str(loop_number))
the log.tx remains empty and has 0mb
if I understand I should see the loops in the window located at the bottom right where it says “log.txt filesize 0mb”

@MatMartigan, please see my latest response (below).
Sign up
User registration is currently not allowed.
i tried that ;
Listeners => clear all send was moved
Action block 1
loop => self.song().tracks[0].sends
conditions => self.midi_note_ch_2_val_88.cur_val == 127 (for button clear send)
Actions =>
do this => self.song().tracks[0].mixer_device.sends[loop_number].value = 0
And do this => self.midi_note_ch_2_val_88.send_value(127) (for led response)
This is not working, nothing is happening
the send loop is not taken into consideration