Reaction only fires in the last track created

1.92K 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 January 8, 2025
0

Hello John, I’ve tried it now. As soon as I use if selected track changes as a listener it works. When I use the listener tracks change it doesn’t work. Thank you for that. What surprises me, however, is that it works without this listener with values ​​from 0-127 and still not with values ​​from 0-1. anyway, this helped me a lot.

JohnC Posted new comment January 8, 2025

‘selected track changed’ should fire whenever you select a different track.
‘tracks changed’ should fire whenever a track is added/removed/moved.

I’m not sure about the 0-127 and 0-1 issue though sorry.

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