Forums > MaxMSP

problem with line object

April 17, 2006 | 4:56 pm

cant quite figure out how to order my messages so that i can ahve the delay time and start point affected dynamically

here is my current method, although it doesnt work

#P window setfont "Sans Serif" 9.;
#P flonum 533 280 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 488 370 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 488 279 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P message 498 309 67 196617 set $1 , 0 $2;
#P newex 488 338 40 196617 line 0.;
#P connect 4 0 1 0;
#P connect 0 0 3 0;
#P connect 1 0 0 0;
#P connect 2 0 1 0;
#P window clipboard copycount 5;


April 17, 2006 | 5:29 pm

john. I’m not exactly sure what your looking for. BUT. I can say
that the $2 in your patch isn’t doing much because you are only
sending the message box one number. you need to send it a list of
two. try this.

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 157 25 40 196617 0.5 600;
#P message 51 21 40 196617 1 300.;
#P flonum 76 113 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 86 52 67 196617 set $1 , 0 $2;
#P newex 76 81 40 196617 line 0.;
#P connect 4 0 1 0;
#P connect 3 0 1 0;
#P connect 1 0 0 0;
#P connect 0 0 2 0;
#P window clipboard copycount 5;

. . . . . . . . . . . .
http://www.EstateSound.com
http://ideasforstuff.blogspot.com
. . . . . . . . . . . .


April 17, 2006 | 5:37 pm

how can i ammend this to build the list dynamically, i.e the user can input the start point (end point is always zero) and override the default line time?


April 17, 2006 | 6:32 pm

see pack. and the documentation. your looking to build a list.
thats more than one number or symbol in the same message. I hate to
say this but you’ve definately bit off more than you can chew.

so have I with this stupid horrible evil drum modeler
-matt


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