Setting up reset parameter buttons via CSS Reactions

982 viewsCSS Questions
0

So I’ve been trying to set up a Basic CSS reaction that simply sets a parameter to a specific value when clicked.

Looking at the documentation it says that in order to select a specific value I need to just create a reaction that uses

"tracks" [0].devices[1].parameters[1].value () Input 64

I don’t have any conditions for this, I just have a button set up as a listener. When I do this nothing in the DAW appears to happen. Even when I add a condition that just checks to see if the device is on:

"tracks" [0].devices[1].parameters[1].value == Input 1.0
or
"tracks" [0].devices[1].parameters[1].value == True

It still doesn’t work…

In my log I found a couple errors but they don’t appear to be related to my input from the controller cause it seems to occur at random times… also the other functions that I program the controller with seem to work fine.


2019-08-13T22:43:01.891173: info: RemoteScriptError: Traceback (most recent call last):

2019-08-13T22:43:01.891239: info: RemoteScriptError: File “/Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/_Framework/ControlSurface.py”, line 661, in call_listeners

2019-08-13T22:43:01.891314: info: RemoteScriptError: File “/Applications/Ableton Live 10 Suite.app/Contents/App-Resources/MIDI Remote Scripts/css_midi_fighter/css_midi_fighter.py”, line 987, in _on_selected_track_changed

2019-08-13T22:43:01.891489: info: RemoteScriptError:
2019-08-13T22:43:01.891510: info: RemoteScriptError: mode_to_call = getattr(self, “_remove_mode” + active_mode + “_led_listeners”)

2019-08-13T22:43:01.891535: info: RemoteScriptError: AttributeError
2019-08-13T22:43:01.891552: info: RemoteScriptError: :
2019-08-13T22:43:01.891572: info: RemoteScriptError: ‘css_midi_fighter’ object has no attribute ‘_remove_mode1_led_listeners’
2019-08-13T22:43:01.891606: info: RemoteScriptError:

2019-08-13T22:43:02.833495: info: Python: WARNING:_MxDCore.MxDCore:833 – Warning: get: no valid object set
2019-08-13T22:43:02.833780: info: Python: WARNING:_MxDCore.MxDCore:833 – Warning: get: no valid object set
2019-08-13T22:43:02.835827: info: Python: WARNING:_MxDCore.MxDCore:835 – Warning: get: no valid object set
2019-08-13T22:43:02.836093: info: Python: WARNING:_MxDCore.MxDCore:836 – Warning: get: no valid object set
2019-08-13T22:43:03.240351: info: RemoteScriptError: Traceback (most recent call last):

2019-08-13T22:43:03.240391: info: RemoteScriptError: File “/Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/_Framework/ControlSurface.py”, line 661, in call_listeners

2019-08-13T22:43:03.240464: info: RemoteScriptError: File “/Applications/Ableton Live 10 Suite.app/Contents/App-Resources/MIDI Remote Scripts/css_midi_fighter/css_midi_fighter.py”, line 987, in _on_selected_track_changed

2019-08-13T22:43:03.240709: info: RemoteScriptError:
2019-08-13T22:43:03.240737: info: RemoteScriptError: mode_to_call = getattr(self, “_remove_mode” + active_mode + “_led_listeners”)

2019-08-13T22:43:03.240773: info: RemoteScriptError: AttributeError
2019-08-13T22:43:03.240895: info: RemoteScriptError: :
2019-08-13T22:43:03.240927: info: RemoteScriptError: ‘css_midi_fighter’ object has no attribute ‘_remove_mode1_led_listeners’
2019-08-13T22:43:03.240946: info: RemoteScriptError:

2019-08-13T22:43:04.215658: info: RemoteScriptError: Traceback (most recent call last):

2019-08-13T22:43:04.215727: info: RemoteScriptError: File “/Users/versonator/Jenkins/live/output/mac_64_static/Release/python-bundle/MIDI Remote Scripts/_Framework/ControlSurface.py”, line 661, in call_listeners

2019-08-13T22:43:04.215808: info: RemoteScriptError: File “/Applications/Ableton Live 10 Suite.app/Contents/App-Resources/MIDI Remote Scripts/css_midi_fighter/css_midi_fighter.py”, line 987, in _on_selected_track_changed

2019-08-13T22:43:04.216233: info: RemoteScriptError:
2019-08-13T22:43:04.216267: info: RemoteScriptError: mode_to_call = getattr(self, “_remove_mode” + active_mode + “_led_listeners”)

2019-08-13T22:43:04.216306: info: RemoteScriptError: AttributeError
2019-08-13T22:43:04.216330: info: RemoteScriptError: :
2019-08-13T22:43:04.216353: info: RemoteScriptError: ‘css_midi_fighter’ object has no attribute ‘_remove_mode1_led_listeners’
2019-08-13T22:43:04.216377: info: RemoteScriptError:

admin Changed status to publish
Attached Files: