Loop between JSUI and live.numbox constantly disables automation

aceslowman's icon

I'm having some automation issues with a device I'm building. Currently, when trying to adjust automation on certain parameters, the automation line turns gray, and "Re-enable Automation" turns orange.

Now I think I know why. I have a system where a JSUI object essentially mirrors some [live.numbox] parameters. When the dials in the JSUI are adjusted, it forces updates to the numboxes. When the numboxes are changed manually, it forces updates of the JSUI. In short, I'm trying to keep them in sync, and until now, it has worked fine. This has been a surprise to me, considering the convoluted method of keeping the UI in sync with objects.

Note: I prevent it from causing a feedback loop by making sure that the parameters have changed before updating the live.numbox object.

screenshot of device in question

Now, when automation is defined in Ableton, it of course tries to change the [live.numbox]. This immediately triggers the JSUI, and when it tries to keep the two in sync, Ableton then sees that as a manual change, disabling automation.

Are there ways around this? Any advice at all would be appreciated with this, I'm excited to start sharing this synth soon, but I want to make sure that automation works. There are some things I would definitely do differently in the future, but this project has come so close to working that I'd like to get it working with as few bugs as possible, without doing major rewriting.

Max Patch
Copy patch and select New From Clipboard in Max.

aceslowman's icon

https://cycling74.com/forums/re-enable-automation-turning-on-randomly/
https://cycling74.com/forums/buttontoggle-automation/

While it doesn't sound like my issue is a bug really, it does look like I'm not the only one that has issues with "Re-enable Automation" turning on. My main frustration is that the way I am keeping these objects in sync works fine within Max... is there any way to disable this "Re-enable Automation" response?

Cuvint Delage's icon

Hey Aceslowman,
I'm having a similar issue here. Wondering if you found a way around it in the end..
Cheers