Disable undo values for a M4L device

Learn about building and using Max for Live devices.
Post Reply
junior85
Posts: 23
Joined: Sun Jun 16, 2019 4:07 pm

Disable undo values for a M4L device

Post by junior85 » Sat Sep 10, 2022 10:26 am

Hi folks, I've created two devices that I use for adding tiny randomizations to a track's volume and pan.
I use them for a sort of jittery fader-riding to add unpredictability to sounds.

I've set them up so that they don't start working until you press Play.
However, they still write values for Ableton's Undo feature and it's kinda useless :D
It clogs up the Undo list and makes it hard to undo genuine mistakes I make.
I have to undo many times to get back to the thing I want to fix.

Is there a way to disable undo values for a M4L device?

gross9978
Posts: 104
Joined: Tue May 08, 2018 2:18 pm

Re: Disable undo values for a M4L device

Post by gross9978 » Sat Sep 10, 2022 1:56 pm

If you change the guilty parameters setting to “stored only” instead of “automated and sorted” I believe it will stop filling the undo history. Down side and a it won’t be able to be automated.

schlam
Posts: 144
Joined: Mon Dec 14, 2020 11:51 am

Re: Disable undo values for a M4L device

Post by schlam » Wed Sep 14, 2022 7:04 am

hello
try, if it's possible, to use "live.remote" instead of "live.object" in your device

junior85
Posts: 23
Joined: Sun Jun 16, 2019 4:07 pm

Re: Disable undo values for a M4L device

Post by junior85 » Mon Sep 19, 2022 6:19 pm

So, that didn't work, but I tried setting them to Hidden instead.
I also disabled "Visible to Mapping" too.
Looks like one or other of them worked, because now I don't have useless undo data from this plugin.
Thanks!

junior85
Posts: 23
Joined: Sun Jun 16, 2019 4:07 pm

Re: Disable undo values for a M4L device

Post by junior85 » Mon Sep 19, 2022 6:20 pm

schlam wrote:
Wed Sep 14, 2022 7:04 am
hello
try, if it's possible, to use "live.remote" instead of "live.object" in your device
Ah, I've just seen this now.
I'll experiment with that another time now that I have a version that works.

Post Reply