Store and recall Live Device settings

Learn about building and using Max for Live devices.
morganjenks
Posts: 22
Joined: Sat Oct 24, 2009 8:22 pm

Re: Store and recall Live Device settings

Post by morganjenks » Tue Aug 31, 2010 3:17 am

@toscanini I am fairly a noob to using midi cc, so I'm not sure what you're plan is with store/recall using clips, but I believe that this [message] trick will solve your [zl len] issues.


<pre><code>
----------begin_max5_patcher----------
1929.3oc6b10bahCEF9ZmeELbs2Lnugd2t+M5zIC1njPKF7.D2tsS+uufNXa
vFgEN1X4s4FbBeHd4giNR7JA+5gYtKx9grv04SNe1Y1re8vrYpUUuhYM++L2
Ug+XYRXgZ2bW7VYYVp6bXSwQpUls3q+k.uckYuUlHKK+20RnfcWDl9hqyWZ1
7yurLKIKG1l2idyqVDfCnH7bGT8+VsX2Nm91p3zpRScxQMqbcX4xWiSe4ob4
xRnb3DR8gR7qWh81trc4.xBJn5U96GdndwbCuvSkeu5xb60Xo7GpyraoyBmE
8fCt+1U9bVZYZ3JELb+673vDm+IKIZXZM+HpUUJEw+TsSn5qOX0WOTxopB.y
ejU8iuVVhOCVtRVTD9hrOr4ctXaOpVLl.LMbsCrvCAKUIxBfBlvU+vmhHumK
9d35dPHgbtHLNsrNvq9mKEeDBUXDUcnNj.EdtrASZvyZmWjkOsNLuB.kx7mh
iJ5CVh2e7lIHZf5aBJD6DvT+34eBF0onj4MjoAMUpINQtQlWDWkkd+dOyc+I
L.xRRU2YvXJj3r0IrtJTR1xuIUbxa6JijOOpBIasLc+AzTQr0ht6Yb55bYgL
sLrrQ5sOwgukT9TGPier2s+b3Ro1Ct68W2s6xK4wQYo0hnyQVu5smtO6ffaO
r15VsGogq64fKyxRVDluItHdQhrychpv4vz3UgkxxXPOXucGW7p04pJfsJKY
ZXUY7Zwx7rjjNEErkM8rkH4l3kxuGGU9ppr1SqNM42JxoSEsNqevr2cq0UUm
yYWcth16RqJcAj1aX3Jdmnx2.U.0lmRWEQFzsAlJGtO9vL45xlOaaJK3Olel
TsSZrtPMIdi7wpMVqT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25seeRvywOwSG7LQugx3SiFZP+OYyE3cb+fuH.cLsPafi+smLHXXYg4uDi
Ncu8+GMG55PlfaukzP1FhGu+4J20iLslKbsYByyVXBV32+bd65wjCmSac.Cx
NZdh17dO40+jW6Z27zQu05cXD1NZipgQfw.AWCFo866CiX322m1CBS6GvO.l
vmdA5+D8LFHD3oobNbPfPW8Fo169aGfMv3BdU+J1fGccOevMXJm2+nVbAXWG
ai5foc8N17OPQHnMEMyEp9sI5XKhtXezhX76l6zBvKUF7tl1LzJSRSPgqq6u
RezS7tnmFfbE9vX0vNpnkOzSyGYrsc1SShF+6D.xadBTnkflNCYF.U6RWuaA
ddnGKMT83IqUGKXMxWki8TYLPoWqWNJbvT4efxzHeOqU9dFHeFypoO5TxmXq
xmwMM3AYkxmZRvC2Zou3OD4itai8YVadelI48O3VjMIeSZ0kgNg7uvZBYRxb
uoUSlz9HMXR0zAmNMZx2B0j3DIitvZx2TMMgbxjj1T9zpISZFmRlTMQLpwM7
zxIhAZhLwwSlzJJgXe4LIjwkKP3SpM+h3olFR9d6+u2ajlI2UoroM5mXPKgJ
MMcYSYFwI5zF8ytu6DlIHkQuZxWv7TFJCN05yX69uNWXU+yue3+PpkcYP
-----------end_max5_patcher-----------
</code></pre>

morganjenks
Posts: 22
Joined: Sat Oct 24, 2009 8:22 pm

Re: Store and recall Live Device settings

Post by morganjenks » Tue Aug 31, 2010 7:51 am

I fixed it!... actually, the problem was in the little bit of code I put up a little while ago for toscanini. a set message was going to the wrong place.


<pre><code>
----------begin_max5_patcher----------
1954.3oc6bssbapCE8YmuBFdNmLnq.8sy42nyYxfMJNzhAO.wsm1o+6GPBGC
X.sIASja8KgXttzh8EwRaoed2J60oeWjaa8IqOasZ0Oua0J4tp1wp5euxdWv
22DGjKOM60uTTjlXeu5PIurKJIVTHOF5zNSeon6diBkWe55u7Wt3iW+9fhMO
Gkr8wLwlBELn9tO3buEh4WsA6b7uV+a80nt2E+2dg5BrWGjr090C+z1MowoY
piIuZmG7w9T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FFkMyuRlXCaIduP08dYdwDoUIoNDlXs
NoEASNPvzxwSLG.XpCYpESbLox0fp56Amd5WuWGENTztbLHExaUh6xZ86BIf
BdY4IH4cnK76NH7TGitKNl7ffok0dh5CESHCCSdlWzzN.+hiIDfLgc.9EGSX
HwmPKKl7tt6DFjTiLOiE9fxXw0Dg4J.9WuFObGSk8k0Ci1PbDSk84PxZvXFK
78fZ7Xjv2ERtH9BE3r7G+5t+G7plkTC
-----------end_max5_patcher-----------
</code></pre>

pid and toscanini, Thank you both a ton. It was the first few posts in this thread that finally gave me the epiphany of how to navigate the LOM!!

and the patch is done. REJOICE!!
http://www.maxforlive.com/library/device.php?id=384

toscanini
Posts: 410
Joined: Thu May 05, 2005 5:42 pm

Re: Store and recall Live Device settings

Post by toscanini » Tue Aug 31, 2010 9:05 am

I see the knobs flick to the correct settings for a moment, but then they snap back to where they were before.
@Toscanini, is this what you mean about my patch not storing more than a few presets?
Yes, absolutely. I have seen the same behaviour in your patcher. (But I must confess I might have forgotten to recheck parameter enable of pattrstorage. As pid (or hoffmann in his tutorial?) claims, that setting won't remain if you copypaste from code)
@toscanini I am fairly a noob to using midi cc, so I'm not sure what you're plan is with store/recall using clips, but I believe that this [message] trick will solve your [zl len] issues.
Not midi cc (control change), but PROGRAM change. Program change messages are to change presets, for example. If you have a VST plugin in Live, you can recall its presets from Live's midi clips. You do this with the Bank/Sub-Bank/Program menus in the midi clip's properties. As the midi clip is fired, the PC message goes along with it. In your M4L patcher you need to connect a midiparse object to midiin. midiparse's 4th port transmits Program Change messages.

The idea is to have a hierarchy of strength of different messages. If both scene and clip send information, clip wins (on its own track only)

I'll check your trick for the zl len, maybe you have found a simpler way to solve the problem than I had. And I need to check your newer patchers: there is too much activity in this thread suddenly :lol:

________
I have checked only your last version, the maxforlive.com upload. Seems perfectly bug free now:) And cool that you have built it as an audio effect.
________
The real advantage that I see recalling on set's basis is that eventually one can include parameters of effects that live on return tracks and master track.
...but for now I am looking forward to studying your patcher. Lots of things that I need to understand, lots of things to learn :wink:
Last edited by toscanini on Tue Aug 31, 2010 3:15 pm, edited 3 times in total.

toscanini
Posts: 410
Joined: Thu May 05, 2005 5:42 pm

Re: Store and recall Live Device settings

Post by toscanini » Tue Aug 31, 2010 3:12 pm

@morganjenks yep, your loop trick is really nice indeed. It first made me dizzy but now I get it :D
...but I see you also use deferlow. Maybe in my last patches I could have used deferlow to force one process to wait until the other side is finished, instead of doubling a part of the structure. I will try that.

I am a bit clueless about what exactly an output from your textedit window depends on. I see the output doesn't repeat if I press "write preset" while the same clip is playing and the parameters are unchanged. Is this the real interest to use textedit in this case?

Finally I was worrying about store actions to go "all the way" and recall the exact same settings that were just stored. I had the idea that this could be left out, this is why I was looking for a solution with pattr "clones". But this is how your structure also works, so I guess i won't worry anymore 8)
cheers,
toscanini

morganjenks
Posts: 22
Joined: Sat Oct 24, 2009 8:22 pm

Re: Store and recall Live Device settings

Post by morganjenks » Tue Aug 31, 2010 8:20 pm

Hey Toscanini. Kind of funny, but I've completely overlooked the program change feature on clips. your idea about monitoring scenes for preset recall, but having indevidual tracks deviate from the scene with a PC is a great idea. I'm not sure about the timing relationship between live.observer and midiparse, but you could probably use a buddy object which would always receive the launched scene and only receive a PC if there was one.

The textedit is being fed through a [prepend set], so populating that list never outputs. The autopattr recall is monitoring clip launches and not presses of the 'write preset' button. When the pattr state changes, it outputs automatically!

looking forward to seeing what you end up with.

pid
Posts: 354
Joined: Thu Nov 05, 2009 9:51 am

Re: Store and recall Live Device settings

Post by pid » Thu Sep 02, 2010 12:06 pm

hiya you two. just got back from being away. found this thread, and what i found is... you both made cool stuff! nice one, and thanks too.
3dot... wrote: in short.. we live in disappointing times..

toscanini
Posts: 410
Joined: Thu May 05, 2005 5:42 pm

Re: Store and recall Live Device settings

Post by toscanini » Thu Sep 02, 2010 4:59 pm

No, thanks to you :)
I might have some time to progress in the next days, I'll post as soon as there is something.

morganjenks
Posts: 22
Joined: Sat Oct 24, 2009 8:22 pm

Re: Store and recall Live Device settings

Post by morganjenks » Fri Sep 03, 2010 10:03 pm

I started a thread on the c74 forum to update with troubleshooting as I go.

http://cycling74.com/forums/topic.php?i ... ost-140730

JuanSOLO
Posts: 3236
Joined: Sun Jul 15, 2007 8:21 am
Location: Shreveport LA, sometimes Dallas/Ft Worth TX

Re: Store and recall Live Device settings

Post by JuanSOLO » Sun Sep 05, 2010 10:18 pm

WOW, Killer stuff. I got on this thread late, been busy trying to do similar things in a way thats very crude.

I haven't had the chance to try anything other than the ClipStates, but I will be trying the others soon.

However I have always been trying to utilize the Program Change as the manner in which I use to recall "presets" so to speak. When I saw ClipStates, I got really excited in how it worked and how on the fly it was, BUT what happens if I want to rearrange my clips, or import them from one set to another? This starts to make utilizing the program change numbers like the way forward for me.

Currently my Live set is mainly for performing with my band. The bulk of it is mainly for Drums, for example, track 1 = kick, track 2 = snare, and so on through 8. Each track has a sampler with 127 samples in it utilizing the sample selection to recall different samples. The other tracks in my set are 1 for a Reaktor synth and then lots of sends for FX and such.

So the ClipStates has really given me a different way to think about storing all may Macro settings. However I guess I need to get to hacking and posting and get you guys input till I get to the solution I desire. I am really wanting to store only the parameters for all Racks across the first 8 tracks, my drums. And I am wanting to store/recall that via program change.

JuanSOLO
Posts: 3236
Joined: Sun Jul 15, 2007 8:21 am
Location: Shreveport LA, sometimes Dallas/Ft Worth TX

Re: Store and recall Live Device settings

Post by JuanSOLO » Sun Sep 05, 2010 10:35 pm

I cant get toscanini's patch to work?

toscanini
Posts: 410
Joined: Thu May 05, 2005 5:42 pm

Re: Store and recall Live Device settings

Post by toscanini » Mon Sep 06, 2010 11:49 pm

JuanSOLO wrote:I cant get toscanini's patch to work?
All it does so far (best is to check the forelast patch that I posted) is compile a list with all ID numbers and corresponding parameter settings of all devices present in the set (does not include devices on return and master tracks yet).
This list can be used in a pattr object "as it is", and once you build a live set with all devices on their definitive places my idea was that you deal with id numbers that don't change anymore and therefore you can recall the parameter settings with "Id i" messages, even if these are not output from any live.path object, but just because you happen to know the correct ids. (this needs to be proved though)
I said I would finish this but haven't had time yet... sorry

toscanini
Posts: 410
Joined: Thu May 05, 2005 5:42 pm

Re: Store and recall Live Device settings

Post by toscanini » Fri Oct 08, 2010 2:30 pm

Ok, here is an update, sorry for being so unbelievably slow...


It now stores and recalls all device settings, even those on return and master tracks.
...but it does not save the presets along with Live sets yet. It would be really cool is someone could give me a hint about how to include this feature. Also, probably in this specific case the best way would be to force the system to retrieve IDs for all tracks> devices> parameters before anything else, with a loadbang: this would allow to have these IDs corresponding always to the same items.
For further development I like the idea to give scenes names and to save presets with the corresponding names. This also implies kind of some extra linking of scene IDs to given names, but seems more "natural" than giving preset numbers.
All help suggestions thoughts welcome;)

<pre><code>
----------begin_max5_patcher----------
3845.3oc6cssbihjD8Y2eEDJ1m1viCp6v91t+FSLgCrD1MSiPNjPd5YlX92W
pJovfDWRzEDXQ2QXAhKUlGxJqrxr3n+9aOr3kM+Lb2Bm+iyu57vC+82d3AyW
o+hGx2+gEqC94x3fclSaw5vc6BdKbwivwRC+Yp462El57QP79Pm+EwdvW2jj
tK5uB0m.w8I27uNZk4J17xu+KRg8beOHc42iRd64sgKSAAhwxtDGAmp+Ppz+
kHex042xujj8qiRhCSMBF8yuby9T62RJIIIAqMRxh+61nfXm+2l3U1FGthz+
78PnkWrv42zG4e912z+4QjXSR3ejoTGAM6SdOX4ObhbdsG.CqEfgC.CA9..F
ul.FRs.C8DAlnjzEO5r303MAoWTP58sguGlrxIZUO.IZKfDwk.lOlOjzSAkl
tlODDHyWJ6m3nOBeJ6.ZsDMLIHc59Q55q+vqCTZD694uhchRC25PwiKb+tMe
3Rt4Cwo.Lmp4i114z.mkaVuNLI83wsR2rsXzrLmP6xNofznMIk0XyCeoQSAq
hJ5KB7zqM7TH02RJqgaeYg5fNjc0K0sCX9BhiY5SPbLJfjX7EyDmBPJaAHE9
kvQwHGGeYeZZlbzAdYrLXl9aTW6eKznx.CuSfAhZnlayY.Ljl5n9RPxamnWr
8qeIbKdeUr1BBvy3ihXtR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UlFtQKnnxbz.mkFLxjbfC9.yvpDuwmLQG3zzfwW.aXC+fgIcVrgEm37qf
L8Yo5x9K6BU1NFc74g.kLMzdHPkgx9FkKTNNY9KhG79UTcOtoZ+NjrOD46ct
1lXxugbX6CKwzGVNv8gQgS8s3w4OG8sKVE6NmK.xPD3nrmYHx2HqB6OCnE6b
txJlA1DCrAHEqLcpAuksy+7s+Ob7pq9M
-----------end_max5_patcher-----------
</code></pre>

earmade2
Posts: 19
Joined: Wed Oct 14, 2009 1:31 pm
Location: France
Contact:

Re: Store and recall Live Device settings

Post by earmade2 » Sun Oct 10, 2010 9:14 pm

Hi Toscanini,

Great job !
I've been looking for something like this for a long time.
Few weeks ago I started to build a max patch for this kind of purpose but my skills are very bounded...
I think your work would be definitly awesome if we could also store and recall informations such as volumes, track states, send levels, etc...
May be you're already working on it. A real snapshot function in Live is really missing !
Thanks for sharing ! :wink:

http://www.myspace.com/earmade

toscanini
Posts: 410
Joined: Thu May 05, 2005 5:42 pm

Re: Store and recall Live Device settings

Post by toscanini » Sun Oct 24, 2010 6:31 pm

Hello,
I still haven't succeeded to figure out how to have preset recalls up and going as a Live set is loaded. (I am talking about the version of the patch as pasted in my last post)
This is what I have observed by trial and error:

-I start a Live set with my patch as a Max MIDI device.
-I throw some devides, on the same track to make sure I see what's happening
-I store some parameter settings, then save and quit the Live set. I come back. Now:

-if I try to recall presets, it won't work
-if i start by storing something, after that: recalling works!

-I tried to get all IDs needed with a loadbang: won't help
-I tried to force a store event (which actually includes getting all IDs) with a loadbang: wont help
-my patch includes a kind of a gate mechanism to avoid store actions to go through a loop (i.e. parameter values are "get" first in order to be stored, and than "set" to the same value, which seems to be avoidable. I removed the gate: won't help

The problem is that I don't know if the problem is at parameter setting level of the pattr and pattrstorage objects, or if it has to do with my structure. I have looked at other structures that work, but I cannot figure it out.
Thank you for helping me here:)
toscanini

JuanSOLO
Posts: 3236
Joined: Sun Jul 15, 2007 8:21 am
Location: Shreveport LA, sometimes Dallas/Ft Worth TX

Re: Store and recall Live Device settings

Post by JuanSOLO » Sun Oct 24, 2010 6:36 pm

GEEZ I have tried and tried to figure this out, and I am with you, totally stumped. :?:


When this gets figure out I am going to ecstatic.

Post Reply