Reaction only fires in the last track created

3.18K 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

I also got the following error message in the CSS log. I can’t say if it has anything to do with it:

/Applications/Ableton Live 12 Suite.app/Contents/App-Resources/MIDI Remote Scripts/css_device_parameter_listener/css_device_parameter_listener.py:891: SyntaxWarning: “is not” with a literal. Did you mean “!=”?

school Off

JohnC Posted new comment

That’s just a warning which began being output since Live 12.1. It won’t break the script (the warning will be removed in the next version of CSS).

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