Switching between modes with MIDI Fighter Twister button leads to a TypeError
Hi everyone,
I am getting strange behavior when trying to implement two additional modes on top of the Global Mode. Because I have followed the instructions outlined in the video (https://www.youtube.com/watch?v=Rh8plD3ajno) closely, using a MIDI Fighter Twister, and only using a different button for changing the mode, I think this is buggy behavior. Please correct me if I’m wrong and I made a mistake somewhere.
In the imported MIDI Fighter Twister template, I am using Button 2, set to:
Mode = mode0 (my global mode)
Controller Input = Button 2
Mode Selector = Scroll
Input Control Override = Custom
Control Type = Increment
The rest left as is.
Now, when I load the script and press Button 2 to switch modes, the Log registers a TypeError:
“int() argument must be a string, a byte-like object or a real number, not ‘NoneType'”
Further up, the line “goto = int(active_mode_key) + 1” is referenced.
Am I missing something?
Thanks!
I’m also having some issues with mode switching, but trying to use “set active mode” in a reaction based on selected device name change, instead of a button like you.
Let’s say the mode switching just doesn’t seem to work for me, I had to revert everything to the global (mode 0) for my script to start working again, after trying to troubleshoot for hours…
I’m curious, are you on 12.4 beta? I feel I started having issues with CSS since I switched to the latest beta.
Thanks for your response.
Yes, I am. 12.4b, that is.
Also, my MidiFighter’s encoders suddenly stopped synchronizing to Ableton today, in a scrip that had worked the day before, so I had to remake it from scratch, and then it did work with the new script. Maybe some related Ableton Beta-issues, too…?
Yeah actually I just tried again and my script also seems to not work anymore.
I have a Midi Fighter too btw. I had a script in which the 16 encoders would control the first 16 parameters of the selected device, but it’s not working now… So yeah probably it has something to do with 12.4.
Sign up
User registration is currently not allowed.