Forums > MaxMSP

line object with intervals??

August 27, 2009 | 5:04 pm

Hi there!

I have a patch that slows down when i read through the values 1 at a time.

I have rgb BlinkMs, and when I send a line for 0 to 255, it begins to change the RGB colour. However if I attach this to say 3 or 4 light max begins to slow right down..

I am thinking that this has to do with the lights or max not being able to keep up with discrete values 1 through to 255.

So I was wondering can line ramp to a value in increments??

So instead of going 1,2,3,4,5,6,7, right up to 255, is there a way to get it so that it jumps in 10s, or 20s, to the destination value??

Many thanks!


August 27, 2009 | 5:09 pm

i got it thanks!

Its the grain argument


August 27, 2009 | 6:20 pm
mcozire wrote on Thu, 27 August 2009 19:09
i got it thanks!

Its the grain argument

the grain argument, or make a line from 0. to 25.5 and do

[* 10]
|
[change]

to its output.


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