pattrstorage & bpatcher / some questions

Learn about building and using Max for Live devices.
Post Reply
lqud009
Posts: 95
Joined: Fri Nov 13, 2009 6:43 pm

pattrstorage & bpatcher / some questions

Post by lqud009 » Mon Aug 31, 2015 8:57 am

Hello,

I have a workaround and I'm looking for a easier solution, but didn't get it.

example:
- I have two "bpatcher" within 4 "live.dial" Objects and "pattr [dial1]" to "patter [dial4]"

now I want to store/recall a preset for "bpatcher 1" - I send a message to pattrstorage like "store bpatch1::dial1 $1, store bpatch1::dial2 $1, store bpatch1::dial3 $1, store bpatch1::dial4 $1" and the same for recall.

So is ist possible to send a short message like "store bpatch1" and it saves all pattr values from dial1 to dial4 or maybe a message like this: "store bpatch1::dial1 $1 to bpatch1::dial4 $1"

So if I have a about 20 parameters in every bpatcher it is really a lot of individual message I must write. Is this possible with a shorter message? I want to handle the presets for every bpatcher separately.

Thanks

chapelier fou
Posts: 6024
Joined: Mon May 15, 2006 12:15 pm

Re: pattrstorage & bpatcher / some questions

Post by chapelier fou » Mon Aug 31, 2015 1:02 pm

MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

lqud009
Posts: 95
Joined: Fri Nov 13, 2009 6:43 pm

Re: pattrstorage & bpatcher / some questions

Post by lqud009 » Fri Sep 11, 2015 9:19 pm

Many thanks again, but I didn't got the hint for my problem ...

chapelier fou
Posts: 6024
Joined: Mon May 15, 2006 12:15 pm

Re: pattrstorage & bpatcher / some questions

Post by chapelier fou » Wed Oct 21, 2015 8:44 pm

i didn't read this, but maybe some help here, it's brand new.
https://cycling74.com/2015/10/20/solve- ... if2mlwfkgU

but reading your first post, i think you need to put an autopattr in your parent patch. You can then double click on the autopattr and select all the parameters you want it to see.
Then in your bpatcher, attach on pattr to each dial and name them #1_xxxxx1, #1_xxxxx2, #1_xxxxx3, #1_xxxxx4. Then in each bpatcher's inspector, change the argument and name it as you like (1, 2, 3, 4 for instance). This will replace #1 (arg #1) by the argument's name.
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

Post Reply