Problem automating M4L device

Questions and discussion about building and using Max for Live devices
Post Reply
gross9978
Posts: 66
Joined: Tue May 08, 2018 2:18 pm

Problem automating M4L device

Post by gross9978 » Mon Jul 19, 2021 5:49 pm

Hey:) I’ve started making a remote for my Hydrasynth with M4L and after getting a few parameters setup I thought I’d test it out. I have bidirectional control of Mutator 1 seemingly working using NRPN fine when using the hardware and/or the M4L ui but when I tried to automate a knob it’s not working the way I’d expect. When I draw in automation or record automation the playback isn’t sending the info to the synth until it reaches the highest value even though the UI is updated correctly. When I turn the knob manually in the ui on the screen it sounds as expected and if I modulate it with an LFO in Live it sounds as expected. I’ve made other remotes for synths using CCs and they work fine so I’m not sure where my errors could be except with the NRPN somehow, but they seem to work fine except via automation. Any suggestions would be very much appreciated. Thanks
I’m on Live 11.0.5 And Mac OS Catalina

[jur]
Site Admin
Posts: 2973
Joined: Mon Jun 01, 2015 3:04 pm
Location: Ableton

Re: Problem automating M4L device

Post by [jur] » Tue Jul 20, 2021 12:59 pm

Weird.
Did you try hooking up a software like Midi Monitor to check what's getting out of Live? You can also do it with Max actually.
Ableton Forum Moderator

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

Re: Problem automating M4L device

Post by gross9978 » Tue Jul 20, 2021 7:33 pm

I didn’t but managed to fix the problem by enabling the defer automation checkbox. No clue why it worked but it did?

[jur]
Site Admin
Posts: 2973
Joined: Mon Jun 01, 2015 3:04 pm
Location: Ableton

Re: Problem automating M4L device

Post by [jur] » Tue Jul 20, 2021 11:26 pm

I'd be curious to check, could you share the patch or an example bit of it?
Ableton Forum Moderator

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

Re: Problem automating M4L device

Post by gross9978 » Wed Jul 21, 2021 1:43 am

Sure I'd be happy to, I'm not sure how to upload an amxd to the forum?

[jur]
Site Admin
Posts: 2973
Joined: Mon Jun 01, 2015 3:04 pm
Location: Ableton

Re: Problem automating M4L device

Post by [jur] » Wed Jul 21, 2021 9:59 am

You can copy-paste the device as text here.
When the device is open in the Max editor > cmd/ctrl+A to select everything > click "Copy compress" in Max's Edit menu > you can now paste this in here.
Ableton Forum Moderator

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

Re: Problem automating M4L device

Post by gross9978 » Wed Jul 21, 2021 11:56 pm

Here you go, I think its more likely to be an issue with the way I've done things than a bug of some kind but you never know. Be warned its messy haha

<pre><code>
----------begin_max5_patcher----------
5867.3oc6c01aiiij9yc+qHv3tubHWVV7cd.6G16FL3Nfq28v1Kv7gAKZ33n
jnYbryYKmt6Yw7eeodwN9EZmhhlxxzowLINRxRkJVrXwpddH+Ge7CCtc52xl
O3p+iq94q9vG9Ge7Cen5PkG3CM+8GF7zvuMZ7v4UW1faedXwnGylM355S9Rd
1WeIed9s4iyK9d4k.MmY582OOqn9dStgbc4Ot5u2bxwSG8qY2c2rgOLezroi
GWdYjlyMZb9nes3wYSW7viqe7rICucb1i69EpOwK6dhae3oo2kswQlN6Nqvu
1QddV17rIECKxmN4KyxF0HwTt7FghKXBSy+DWekr70.z5peQ0q89j8zsY2s9
a+jEOkOYbVw788rV+hyq9pCld6u7uS4jAudKltnX66wvYOzzfM3SKr2poyfA
qDipFm7IOr1KBn158Pe8UTon5UvT+KJcs2jksu0l.M1.eXv84VMb1r4aJ4Vw
44mW6veXsuRogyuLs5Foud0gxmTeHX0glkUZ+zbae8vCmYeSJruFKlU0BN3a
R9fWuO110YSVjW8kpO3u+wkxTk05jgOkM+4gip+xkF0KO8q5FFstojUYeJkU
+kVKeUcTZCUaqtVaf0194rI4S1Sy4GFbW18CWLt3K2OcRw77eqRD.qR104uu
QDcdxxWhJ4+OMKe33UuAOLK+toSJEhMdrkGd4iy1vW23JV+ko5JlL7YGeYqw
mUurmSN29RtX9sCmU0Ueb0Sft7jESmNdySs56MN69hlS+b9jIaoEKl979O4r
7Gd7.e2amZO4SG5dWcl4eYwj5y9EqQQwWlO7kM01ECGOdR1Wsu8ac6+1vI4O
MrHqHutIfRVcxcbDAadlWbbl6rV4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