Forums > MaxMSP

Should be simple but it escapes me

March 5, 2008 | 1:04 am

Hi,
I’ve tried searching through the archives and tutorials and can’t seem to figure out a solution to my problem, which is probably obvious. I am looking to create a random number generator which ramps from a line object, but the kicker is that I need the message to change over time as well so that every time the random number generator hits, it updates the first number in the message. In other words, I want the random number generator to smoothly ramp the parameters within my patch. I hope that makes sense.


March 5, 2008 | 1:16 am

do you mean something like this?

#P button 264 168 15 0;
#P window setfont "Sans Serif" 9.;
#P number 302 337 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 302 205 64 196617 random 127;
#P newex 302 246 66 196617 pack 0 2000;
#P newex 302 273 56 196617 line 64 10;
#P connect 2 0 1 0;
#P connect 4 0 2 0;
#P fasten 0 1 2 0 353 328 454 328 454 134 307 134;
#P connect 1 0 0 0;
#P connect 0 0 3 0;
#P window clipboard copycount 5;

if not give what you have


March 5, 2008 | 1:36 am

yep! that’s perfect! I knew it was easy


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