Forums > MaxMSP

line~ ignoring messages?

March 17, 2009 | 3:52 pm

in the attached patch, the line~ object seems to occasionally ignore messages, it’s definately recieving them from the qlist, but not ramping to the right values, sometimes missing out one of the envelopes.

i’m not sure if the qlist stores its text in the patch, it should be:

amp 0.5 10;
10 amp 0 490;
490 amp 0.5 10;
10 amp 0 490;
490 amp 0.5 10;
10 amp 0 490;
490 amp 0.5 10;
10 amp 0 490;

any ideas why this is happening? thanks.

March 17, 2009 | 4:33 pm

Are you sure the line~ is missing the messages?
Couldn’t it be that you [snapshot~] misses them?

March 17, 2009 | 4:54 pm

i’m pretty sure it’s line~ because if i use it to control gain of a sound then i also hear it missing some of the things.

just realised could it be that they are arriving in the wrong order since there is only 10ms between them? they’re being sent in the right order, but maybe line doesnt gaurantee dealing with them in that order if more than one come in the same control step?

March 17, 2009 | 6:05 pm

Recording the stuff shows that it’s there. There might be better ways to achieve this. Have a look at zigzag~.

– Pasted Max Patch, click to expand. –


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