Page 1 of 1

Can you "move" automation like this with Max For Live?

Posted: Fri Sep 22, 2023 7:01 pm
by Vance
Trying to figure out whether it's possible to do the below with Max For Live - essentially, "moving" Track Volume automation to Utility Gain automation. So in practice it would look like:

1. Have a Live track which has Track Volume automation
2. On that track, create an instance of Utility at the end of the chain
3. Create automation on the Gain parameter of the Utility plugin which matches the Track Volume automation
4. Reset the Track Volume automation to zero

Re: Can you "move" automation like this with Max For Live?

Posted: Sat Sep 23, 2023 7:57 am
by doubleUG
put "this device" in front a utility, it observes the track volume and sets the utility gain. Then record the utility automation, and delete the fader automation.

The device is not perfect, the values will differ and you have possible smooth the utility automation.

<pre><code>
----------begin_max5_patcher----------
1160.3oc0YEsbqZCD8YmYx+fFds95QRfDPe51uiNc7Hi00QoXfAjc8M2o+6U
RavIM0.J9JSReHgAYY18b1U6dV7Ot+tEQapOI6hP+J52QKV7CyJKbqYWYQ+B
Kh1KNUTJ5baLpR9W0adLZ4yelVdR6VeuT2ViHXzWEEZ0QIhbdOUG1WePWJ0t
m.oeYXM82ajfGDsQTsKB8G8etZq6Aar1Wn4meXMBcwCppcqakEZ3KlvyWgWh
3YL6kb2MT7J7KOJiGnp5c.paw+996rWMWV9Si8mJW0J2M.doCh2nkl+tLdIi
hWZpEhY3X6kX1MCuaNn00USEGaDsBSzW1tVVI1T5PG9JBxjQCxwTpCmzL2kj
9+O.nIAOH2UHJkH7JDYE5Kl+vqHoD16NIef.NaLryxbA7zbh8BAmLQDme0f+
ak0lmzTYxuuHtMM+MQ8uU2tW3.G+BjQxnY+owjWQFL7DbQ3SDZZkMxpsnNoF
cTTdPFnb.Bc7b.WcsbrKUHOY1gsnwg5yw9NTdn.NdLfyetZGgCI+4yNxKMsy
VY7rGhdI+sR2odxAKhMC7h7P7q2dkg0bOseqUIJiFuovfMFHI9PUbWoRF4ig
oLeh0iBTtQrOGJRA.mNUmv9U6DGkaWCN5ZgV2pLs5.kPKdAyKhV2XxyUcZYU
g7EFqmxtJpaurqSrSdgxJlDLjk.WaKrnaEE+YGhh1JOpJjcWgbpAHzQKtxy3
fTJnSCmO6ZodrVUYf8WMwjc6rUYvAB34iexwohhm.UWimcX+KWQ.VUouLTyF
Epf.YVNDayWwle0xxBU4vozWihY9nPl3ZWxRndIYfdapKpeP0AmlilnewkEM
uDh3KGIvGOtBZWfOl3TPmldy5NLbIt1ZSAU82CproQUNS4tixbnAwjXldq5H
1IaOJaC4DhiFoY.bgQCSw+Ons3DpN2qNYl1.N8fNVWdXevTcONQBENfRljjr
4+LiZKJkFpdfjQ6LPYtVBoIw23xjy66UXTIyIfRm33yhkmYIyOUh5JsY0Iuy
oKnW8zEWtL5DUTfbBXlBn7xrVGUi1I0fD4OXdJwCdJgm.xI+TLAle7D4p3oK
yQLe3n7Tu3ne5tS3a8PaVgcqeixt4my4dv4wvjM4ePJf+b7NTXo9jcBhk+nd
GJeNXJtO053L1UwTv1Lvs5+7SP4Ll8CdC+0Uensn206+cRPuxfakcZUkPqLp
Kd0tXvtFNT4uAy8xfjvYPusGIH1i3kAsuUtPAPlWFjFLC5UDj7Lid9fS6Vy3
amalLGd.9euqyd.I.dPlOdPdvRpr0QdMaNPVbXs2zLbV3Lnu7INXlaR5LKXl
y1vbZ3wRBmA8hO6cqPXPuJBwG3DId17.F8FVTf40oFV3Zlx7prfyfg4XJyul
agCfd07NXlyu3GOX1K98XuaxoF+7fa3YFhW8xCmZIRh2xyBjdPrWFLb098RQ
O+x164QJDMMGsuB.3q.lxL60i0tvd1R3dUEbOCtu0L+d+WIAVRzZF4Qal24P
KLL0o9Ahh1WaRhpNn5yirf0ZZ23c1gu5ZD.rbiAd+clM7O.JuvpK
-----------end_max5_patcher-----------
</code></pre>

Re: Can you "move" automation like this with Max For Live?

Posted: Sat Sep 23, 2023 9:32 am
by chapelier fou
(We really need to upgrade the forum so we can at least share small files)

Re: Can you "move" automation like this with Max For Live?

Posted: Sat Sep 23, 2023 3:09 pm
by Tarekith
I’ve been pushing for that for years now, along with screenshots. I’ll keep trying, that’s all we can promise for now.

Re: Can you "move" automation like this with Max For Live?

Posted: Sat Sep 23, 2023 4:39 pm
by [jur]
chapelier fou wrote:
Sat Sep 23, 2023 9:32 am
(We really need to upgrade the forum so we can at least share small files)
Well, in the case of Max code, it is working good enough imo.
There's indeed security issues with sharing files, but otherwise: Tarekith's words!

Re: Can you "move" automation like this with Max For Live?

Posted: Sat Sep 23, 2023 5:27 pm
by chapelier fou
[jur] wrote:
Sat Sep 23, 2023 4:39 pm
chapelier fou wrote:
Sat Sep 23, 2023 9:32 am
(We really need to upgrade the forum so we can at least share small files)
Well, in the case of Max code, it is working good enough imo.
There's indeed security issues with sharing files, but otherwise: Tarekith's words!
Not for people who have no clue how max works imo.

Re: Can you "move" automation like this with Max For Live?

Posted: Sun Sep 24, 2023 1:39 pm
by Rivanni
chapelier fou wrote:
Sat Sep 23, 2023 5:27 pm
[jur] wrote:
Sat Sep 23, 2023 4:39 pm
chapelier fou wrote:
Sat Sep 23, 2023 9:32 am
(We really need to upgrade the forum so we can at least share small files)
Well, in the case of Max code, it is working good enough imo.
There's indeed security issues with sharing files, but otherwise: Tarekith's words!
Not for people who have no clue how max works imo.
Perhaps create a sticky post about how to copy and paste compressed code in a new Max device, so that people can refer to it when they paste code or ask others to do so.

Re: Can you "move" automation like this with Max For Live?

Posted: Sun Sep 24, 2023 7:34 pm
by [jur]
You're right Chapelier, and Rivanni proposed a good suggestion.
My memory might be tricking me, but I'm pretty sure every time someone didn't understand what do to with those codes in a thread the solution was given back in the next comment.
My opinion is that the real topic is here is about finding a solution to safely share patches... and so we're going back in circle :lol:
I'm not saying I'm against a sticky, but maybe that would be a good occasion to rather make a list of important basics M4L info/tricks?

Re: Can you "move" automation like this with Max For Live?

Posted: Wed Sep 27, 2023 4:59 am
by Vance
Thanks so much for this! I have never ever done any patching or editing of Max For Live patches themselves though so I have no idea how to actually get this to work. I saw the link in your signature but still can't figure it out, are there any super basic youtube tutorials you can point me to?
doubleUG wrote:
Sat Sep 23, 2023 7:57 am
put "this device" in front a utility, it observes the track volume and sets the utility gain. Then record the utility automation, and delete the fader automation.

The device is not perfect, the values will differ and you have possible smooth the utility automation.

<pre><code>
----------begin_max5_patcher----------
1160.3oc0YEsbqZCD8YmYx+fFds95QRfDPe51uiNc7Hi00QoXfAjc8M2o+6U
RavIM0.J9JSReHgAYY18b1U6dV7Ot+tEQapOI6hP+J52QKV7CyJKbqYWYQ+B
Kh1KNUTJ5baLpR9W0adLZ4yelVdR6VeuT2ViHXzWEEZ0QIhbdOUG1WePWJ0t
m.oeYXM82ajfGDsQTsKB8G8etZq6Aar1Wn4meXMBcwCppcqakEZ3KlvyWgWh
3YL6kb2MT7J7KOJiGnp5c.paw+996rWMWV9Si8mJW0J2M.doCh2nkl+tLdIi
hWZpEhY3X6kX1MCuaNn00USEGaDsBSzW1tVVI1T5PG9JBxjQCxwTpCmzL2kj
9+O.nIAOH2UHJkH7JDYE5Kl+vqHoD16NIef.NaLryxbA7zbh8BAmLQDme0f+
ak0lmzTYxuuHtMM+MQ8uU2tW3.G+BjQxnY+owjWQFL7DbQ3SDZZkMxpsnNoF
cTTdPFnb.Bc7b.WcsbrKUHOY1gsnwg5yw9NTdn.NdLfyetZGgCI+4yNxKMsy
VY7rGhdI+sR2odxAKhMC7h7P7q2dkg0bOseqUIJiFuovfMFHI9PUbWoRF4ig
oLeh0iBTtQrOGJRA.mNUmv9U6DGkaWCN5ZgV2pLs5.kPKdAyKhV2XxyUcZYU
g7EFqmxtJpaurqSrSdgxJlDLjk.WaKrnaEE+YGhh1JOpJjcWgbpAHzQKtxy3
fTJnSCmO6ZodrVUYf8WMwjc6rUYvAB34iexwohhm.UWimcX+KWQ.VUouLTyF
Epf.YVNDayWwle0xxBU4vozWihY9nPl3ZWxRndIYfdapKpeP0AmlilnewkEM
uDh3KGIvGOtBZWfOl3TPmldy5NLbIt1ZSAU82CproQUNS4tixbnAwjXldq5H
1IaOJaC4DhiFoY.bgQCSw+Ons3DpN2qNYl1.N8fNVWdXevTcONQBENfRljjr
4+LiZKJkFpdfjQ6LPYtVBoIw23xjy66UXTIyIfRm33yhkmYIyOUh5JsY0Iuy
oKnW8zEWtL5DUTfbBXlBn7xrVGUi1I0fD4OXdJwCdJgm.xI+TLAle7D4p3oK
yQLe3n7Tu3ne5tS3a8PaVgcqeixt4my4dv4wvjM4ePJf+b7NTXo9jcBhk+nd
GJeNXJtO053L1UwTv1Lvs5+7SP4Ll8CdC+0Uensn206+cRPuxfakcZUkPqLp
Kd0tXvtFNT4uAy8xfjvYPusGIH1i3kAsuUtPAPlWFjFLC5UDj7Lid9fS6Vy3
amalLGd.9euqyd.I.dPlOdPdvRpr0QdMaNPVbXs2zLbV3Lnu7INXlaR5LKXl
y1vbZ3wRBmA8hO6cqPXPuJBwG3DId17.F8FVTf40oFV3Zlx7prfyfg4XJyul
agCfd07NXlyu3GOX1K98XuaxoF+7fa3YFhW8xCmZIRh2xyBjdPrWFLb098RQ
O+x164QJDMMGsuB.3q.lxL60i0tvd1R3dUEbOCtu0L+d+WIAVRzZF4Qal24P
KLL0o9Ahh1WaRhpNn5yirf0ZZ23c1gu5ZD.rbiAd+clM7O.JuvpK
-----------end_max5_patcher-----------
</code></pre>

Re: Can you "move" automation like this with Max For Live?

Posted: Wed Sep 27, 2023 5:35 am
by chapelier fou
:D What was I saying ??
Copy everything between pre code and code pre.
Create a new empty max audio effect by dropping it from the browser. Click its edit button and paste into the patcher. Save the patcher with a relevant name.

Re: Can you "move" automation like this with Max For Live?

Posted: Wed Sep 27, 2023 9:31 am
by [jur]
chapelier fou wrote:
Wed Sep 27, 2023 5:35 am
:D What was I saying ??
😅


chapelier fou wrote:
Wed Sep 27, 2023 5:35 am
Copy everything between pre code and code pre.
Create a new empty max audio effect by dropping it from the browser. Click its edit button and paste into the patcher. Save the patcher with a relevant name.
What was I answering, though 😋

Re: Can you "move" automation like this with Max For Live?

Posted: Thu Sep 28, 2023 6:30 am
by Vance
OK thanks, figured it out!

It seems to work in general but there always seems to be an offset between the value of the track automation and the value the patch transcribes to the Utility - e.g. when the track volume is at 0, the Utility reads -0.15. Don't think this'll do the trick for what I'm after unfortunately, but thanks very much for posting!

Re: Can you "move" automation like this with Max For Live?

Posted: Fri Sep 29, 2023 1:38 pm
by doubleUG
thats because of the strange curve of the fader https://cycling74.com/forums/getting-cu ... ume-slider. I have no idea how to correct it.