Forums > MaxMSP

crack issue with Pattrstorage

December 8, 2011 | 7:33 pm

Hello

i’m trying to interpolate between two presets with pattrstorage.
I have a float box and i change it with my mouse : pattrstorage do the interpolation.
So i decide to do the same with a line connected to the pattrstorage but this time my audio is crackling all the way of the line…..

I can’t understand what’s so different between a float box that i change with my mouse and a float box moved by a line…..

I put my (big)patch so that someone can help. Just open the Main.
I colored the problem in red

Attachments:
  1. Devoir4.rar


pm
December 12, 2011 | 12:47 pm

Allo,
tu peux essayer de mettre un objet [qlim 100] pour limiter la vitesse de l’envoi de ton preset vers le [line]. Et aussi, peut-être que le line devrait être moins rapide, i.e. [line 20.].
But your patch seems pretty heavy on CPU… There is something in your poly~, why do you send that much data to your [thispoly~]?
I presume that the problem is not only with the pattrstorage. Try to make your patch more efficient, and I bet it will solve the problem.
Also, you should have a look at using an [autopattr] with scripting name instead of patch cording each box you want to control.



dtr
December 12, 2011 | 2:43 pm

i didn’t look at the patch but i know the symptoms from my own work. your CPU gets overloaded indeed, as pm points out. try to figure out what makes it work so hard while the line is running.

btw, line has a parameter for its output frequency/speed (grain). default is 20 milliseconds so it sends values 50 times per second. increasing the grain value might already solve your problem.


December 12, 2011 | 4:15 pm

Ok Thank you

I’ll essaye that :)

@Dtr yes i tried to change the grain, but someone told me to uncheck the overdrive, it seems that having that engaged with some multisliders can sometimes cause troubles….

I’ll give news !


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