Listener Erroring on Arm from Custom List

1.70K viewsCSS BugsMaybe Bug maybebug?
0

I am trying to setup a listener on a series of tracks whose position may shift. When the listener is using a Custom List value, I receive critical error.

Doing some troubleshooting, this custom list value is populated correctly – If I remove the get list from the listener and instead put in a CSS log action block, it works correctly.

Attached JSON:

Mapping: INIT – Capture Track Locations builds the list (On a generic Ableton session, all values in list are 0)

Mapping: Testing Arm in Listener

toneyvecchio Answered question
Attached Files:
0

I see what you mean…

In the below example, I wanted to check if the list item is equal to the number 35656.
Using the default condition didn’t work as list items are stored as strings.

To check if a list item is a number, I changed my condition to custom code and then wrapped the method call to self.get_list_item in an int()

This fixed it for me and i was able to print to the CSS log only when the list item is equal to 35656.

From this: self.get_list_item("list1", 0) == 35656
To this: int(self.get_list_item("list1", 0)) == 35656

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