What do you use to store values ?
-
- Posts: 6047
- Joined: Mon May 15, 2006 12:15 pm
What do you use to store values ?
Genuine question. What’s a good way to store a value saved with the live set ?
For instance, a ‘hidden’ live.dial does the job but what are the most elegant ways ? Dicts ?
For instance, a ‘hidden’ live.dial does the job but what are the most elegant ways ? Dicts ?
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1
MacStudio M1Max 32Go OS 12.3.1
Re: What do you use to store values ?
if its one value then [int] or [float] with parameter mode enabled. Many values > [multislider]. Complex things > [dict]. Sometimes [textedit]
copy the text, open Live > drag in empty M4L device > open Max editor > paste > save M4L device
https://docs.cycling74.com/max8/vignett ... ng_patches
https://doubleUG.bandcamp.com/releases
https://docs.cycling74.com/max8/vignett ... ng_patches
https://doubleUG.bandcamp.com/releases
Re: What do you use to store values ?
[int] and [float] have no parameter mode. You probably mean [number]. But yes, look for objects that have the parameter mode option. Also [pattr @parameter_mode 1] can recall a single value of any type with the Set.
-
- Posts: 6047
- Joined: Mon May 15, 2006 12:15 pm
Re: What do you use to store values ?
Woah. I never knew I could parameter enable [int] or [float]. After all these years. I'm glad I did ask,
and thanks again, @doubleUG.
and thanks again, @doubleUG.
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1
MacStudio M1Max 32Go OS 12.3.1
-
- Posts: 6047
- Joined: Mon May 15, 2006 12:15 pm
Re: What do you use to store values ?
Ah, so I wasn't so ignorant. Thanks !
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1
MacStudio M1Max 32Go OS 12.3.1
-
- Posts: 6047
- Joined: Mon May 15, 2006 12:15 pm
Re: What do you use to store values ?
Still, I'm not originally a coder, but I 'philosophically' felt that it's bad to use a 'graphical' object to store values.
Wouldn't it be great if [int] and [float] were able to be 'parameter enabled' ?
Wouldn't it be great if [int] and [float] were able to be 'parameter enabled' ?
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1
MacStudio M1Max 32Go OS 12.3.1
-
- Posts: 6047
- Joined: Mon May 15, 2006 12:15 pm
Re: What do you use to store values ?
Well, I just tried with [pattr] and [int]. 'pattr does not support this object'
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1
MacStudio M1Max 32Go OS 12.3.1
Re: What do you use to store values ?
The pattr itself is your parameter container. You don't need to bind to an object.
Really? This forum doesn't allow us to add example amxd device to a post? How lame!
Really? This forum doesn't allow us to add example amxd device to a post? How lame!
Re: What do you use to store values ?
You can copy/paste the code
Regarding the topic's question... [message]
Ableton Forum Moderator
Re: What do you use to store values ?
Still lame. The other side has to create a new device first to try things.You can copy/paste the code
Is this a security concern or why can we not attach a file to a post?
How do you store something with the Liveset in a [message]?Regarding the topic's question... [message]
-
- Posts: 6047
- Joined: Mon May 15, 2006 12:15 pm
Re: What do you use to store values ?
I don’t think it’s possible.
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1
MacStudio M1Max 32Go OS 12.3.1
Re: What do you use to store values ?
Additionally to the Live objects which are parameters by default, you can set the "parameter_enable" attribute for these objects:
jit.playlist live.arrows attrui button chooser crosspatch dial dict flonum function gswitch gswitch2 incdec itable js jsui kslider led matrixctrl mc.function multirange multislider nodes nslider number pattr pattrstorage pictctrl pictslider radiogroup rslider slider swatch tab table textbutton textedit toggle ubutton umenu amxd~ filtergraph~ gain~ mc.amxd~ mc.gain~ mc.playlist~ mc.table~ mc.vst~ mcs.amxd~ mcs.vst~ playlist~ table~ vst~.
No guarantee for completeness.
jit.playlist live.arrows attrui button chooser crosspatch dial dict flonum function gswitch gswitch2 incdec itable js jsui kslider led matrixctrl mc.function multirange multislider nodes nslider number pattr pattrstorage pictctrl pictslider radiogroup rslider slider swatch tab table textbutton textedit toggle ubutton umenu amxd~ filtergraph~ gain~ mc.amxd~ mc.gain~ mc.playlist~ mc.table~ mc.vst~ mcs.amxd~ mcs.vst~ playlist~ table~ vst~.
No guarantee for completeness.
Re: What do you use to store values ?
My bad, I didn't meant in a live set.
I should read the topics
Ableton Forum Moderator
Re: What do you use to store values ?
I know...
Let's see if we can improve things in this area.
Ableton Forum Moderator
-
- Posts: 6047
- Joined: Mon May 15, 2006 12:15 pm
Re: What do you use to store values ?
Well, [dict] seems to be really good for basic storage. I'll go with this.
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1
MacStudio M1Max 32Go OS 12.3.1