Setting up reset parameter buttons via CSS Reactions

Submitted by joshuaman32 on Wed, 08/14/2019 - 07:05
joshuaman32
Pro User

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

<code>"tracks" [0].devices[1].parameters[1].value () Input 64</code>

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:

<code>"tracks" [0].devices[1].parameters[1].value == Input 1.0</code>
or
<code>"tracks" [0].devices[1].parameters[1].value == True</code>

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.

<cite>
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:
</cite>

Topic Category: 

1 Responses

Comments

joshuaman32
Pro User
#1

I figured that I should probably add that I'm using live 10.1 and the most recent version of CSS

I also tried following the tutorial that was posted online and I wasn't able to even get that to light up my controller, so I'm not sure if the reactions work at all...