line~ ignoring messages?

Mar 17, 2009 at 3:52pm

line~ ignoring messages?

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.

Mar 17, 2009 at 4:33pm

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

Mar 17, 2009 at 4:54pm

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?

Mar 17, 2009 at 6:05pm

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. –



You must be logged in to reply to this topic.