How do I deal with multiple pattrstorages …

Feb 8, 2013 at 4:39pm

How do I deal with multiple pattrstorages …

I’m banging up against my limited understanding of the pattrstorage world…

I’m using pattrstorage at the top level of my patch to store all the settings exposed to autopattrs in each of the sub patchers. That’s all ok.

I”ve just built 4 wavetable synth sub patchers which use the pattrstorage method of interpolating between waves, and it works very nicely! So there’s a pattrstorage at the subpatcher level that stores the values in a couple of multisliders that represent the waveforms. I also need to store a few other settings, but not with the waveform values in the local pattrstorage. If i put an autopattr in the subpatcher it shows up in the local rather than the top level pattrstorage. Is there a way around this? Would it involve pattrforward?

Top level – pattrstorage
–subpatcher (all synths/samplers etc) – autopattr
—-subsubpatcher (synth) – hoping I can put autopattr here but haven’t tried it yet
——subsubsubpatcher (waveform creation/storage/interpolation) – local pattrstorage for waveform storage; also need to store other controls at top level of patch.

#66411
Feb 9, 2013 at 4:49pm

Hmm. Well, this is what I came up with, and it seems to work. pattrmarker turned out to be what I wanted…

subpatcher (name -> lowlevel)

– Pasted Max Patch, click to expand. –

main patch (name -> toplevel)

– Pasted Max Patch, click to expand. –
#239080
Feb 9, 2013 at 8:08pm

nice feature of pattrstorage is also the subscription mode, which allows you to have two pattrstorages on one level, and subscribe some of the “pattr” objects to one pattrstorage and the rest to the other pattrstorage. (not sure how this goes together with autopattr as i never used that)

#239081

You must be logged in to reply to this topic.