Forums > Max For Live

strange discontinuities in a pattrstorage

Apr 14 2011 | 7:40 pm

Hi all, i try automating the preset change in time in a granularizer (here attached) using pattrstorage with some counter … strangely enough the values create audio discontinuities, not due to CPU.. i don’t know why because when i change all parameters manually this doesn’t happen..
any idea?

Apr 21 2011 | 10:01 pm

I had this same issue a while back and it was caused because I was automating the mute functionality and every time I changed presets, it would flip them to mute and then set them to what I wanted. I fixed it by passing the changemode 1 flag to the pattrstorage. This makes it ignore anything that hasn’t changed when you jump from preset to preset. Once I did that it stopped doing it.

Apr 21 2011 | 11:13 pm


You sound like you may have the answer to my problem. I’ve created a massive patch so i’ll just upload the bit i’m struggling with. I have created some [sfplay~] objects and created loop toggles for them. I then created two presets. The trouble is, if i set a file to loop then change the preset, the loop is toggled off because it is saved that way in the preset. How can I get the preset to ignore the loop toggle function that i have created?

— Pasted Max Patch, click to expand. —
Apr 22 2011 | 2:50 am

@Max Carter, I am not sure if I understand your problem. The example you sent seems to work for me which makes me think I don’t really understand what you want it to do. When I set it to loop on both presets, it stays looping. When I set it on one and not the other, it behaves as expected. If the loops are saved a certain way in the preset, they seem to do what I would expect. What are you trying to do that I am misunderstanding? My post was referring to using pattrstorage objects to store presets which I have more experience with. I haven’t used the presets much at all. That being said, if you can get me to understand what you want it to do I’ll do what I can to help.

Apr 22 2011 | 10:45 am

Thanks for your reply,

I’ll try to explain a little more clearly.
I want to be able to toggle the loop during playback so… if i’m playing a sound with preset 1 active and i then toggle the loop on, it loops (as expected)
I want to be able to then switch to preset 2 with the loop toggle not reverting back to being off (thus ending the loop) Basically i have a whole bunch of loops that i want to be independent of the presets.

Apr 22 2011 | 10:52 am

AHH i figured it out!!

I have to connect the third outlet on the preset to the toggle, button and g-switch to prevent it from changing (and also to the led as not to confuse the user)

Apr 22 2011 | 2:00 pm

Awesome man, those eureka moments are great. Sorry I couldn’t be more help.

Apr 23 2011 | 10:33 am

Yeah, all works great now =) No problem I wasn’t very clear lol

Sep 06 2011 | 4:05 pm

Hi all
I am bit late to the party, hope you are still listening. I am having the same problem here: audio is disrupted when switching pattrstorage presets while the Live CPU load is fine.

@jlegler: What mute functionality were you refering to? Is it the mute~ object or the mute message to poly~?


Sep 07 2011 | 2:17 pm

bump. did anyone else solve this?

Viewing 10 posts - 1 through 10 (of 10 total)

Forums > Max For Live