Reaction only fires in the last track created

3.41K viewsCSS Questionscss script
0

Hello dear remotify community, I currently have a problem that I can’t solve myself and I hope someone can help me.
I have created a reaction that fires whenever a certain parameter of a device within a device chain changes in the selected track.
Then there is a condition that asks whether the value is 1 or 0. If everything works, I send a sysex message to my controller.
If I now open the Ableton set and change the parameter value then it works great. As soon as I duplicate the track, it also works in the duplicated track
but no longer in the previous track. maybe someone has a tip


self.song().view.selected_track.devices[0].chains[0].devices[self.get_modifier_value("m15")].parameters[1].add_value_listener

								
therockdude Answered question
0

Try reloading the mode when the tracks change (i.e. a track is duplicated)

Add a new reaction,
listener: live object mode > song > tracks value has changed
action: script > set active mode
In the parameter section (set input field to ‘custom code’):

self.set_active_mode(active_mode)

JohnC Answered question
You are viewing 1 out of 6 answers, click here to view all answers.