strange discontinuities in a pattrstorage
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..
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.
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?
----------begin_max5_patcher---------- 1478.3oc6ZssjiZCD8YOeEtHu5rkZcCTxS4GH+.aM0TXaFurKFlBvyL6t0lu 8.RbQXK6FeMSpx9ALHZ2WNp6VGK3mOLwad16QEdS+ioed5jI+7gISzCUOvjl qm3sN78EIgEZw7RhV5MyLd5l0woIQk5a.MC9RdTQTZYXYbV5S4QKJMJGHL1m HylRE75u.Y6woO1qsrMk6ntvxEeINcksp7I95eMkqzpjzdrSWFEU98WhL+Du 3zpe7iNbQaaEuTGgYy+5uS4Ad0C9qGdn9vrQBNy2TVVoyCgOGeXBAvXCy4go q5iyAwi5ThmxrUqRhtvwCEXmzzlc3HHmR3rNpnHbUW7TF8doImNK6k1AeNKs rH9GZO.nUtniXmhkqSHV45lDeH3rx0AAaO5ZGP63RzEfcjmFtVqFu+JONL4T v3UEuEWEFTuCAbCie5ghetvjzP0EALcEOidv3elMFLHVoWxrF3TRYF+LujDT GqJedSHKF+DucPKEW1I3zn2pz6NnQwyujD98+YJ87QEFNp.DPCKBEdSjh3Uo Ug5L6y1eiRo7.vUycJBesU4+1eqUrI30YdUtSc9JQIq7LhYDu+r2XOmm8inz mpLVUT8TXYYdb0xFlEgmzg4S7B2rLN643Di8KyCW7sovzk4aVW7o2BeUO0Yl 6NuUopwq3znEYIY4lf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hWtLRKP6VttNd4KYU9ZiaLvImc7dkfZnRi3UAGmWA99b8CG j5adUEjDhqqUrl2ANvu6xyMhpe4ElRwhnsha7HRJztHz974aiP80m8r.YL4F 7faatglYEpWskue8yXgQgUparWMpYPcV2QUGARSci4ggA9Lg6qAyS9xWv6u9 rqjDipik7FmUJG07+MtOZ8qzvGPuh8gzqfOhdEkb08ppK90C+Kr5MkGO -----------end_max5_patcher-----------
@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.
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.
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)
Awesome man, those eureka moments are great. Sorry I couldn’t be more help.
Yeah, all works great now =) No problem I wasn’t very clear lol
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~?
bump. did anyone else solve this?
Forums > Max For Live