Forums > MaxMSP

Line and setclock

March 8, 2006 | 8:23 pm

I am trying setclock for the first time and everything happens as per the
manual except the line object. It does not seem to be watching the clock.

Here’s a frag from the setclock help. My intend is for line to interpolate
between 0 and 100 over 100 ms (clock ticks). Banging the message to line
sets it 1 rather than 0 and the very next clock tick advances to 100 without
an interpolation. Is there something I am missing here. I tried other
time-based objects like pipe and they work as expected.

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 248 280 62 196617 0 , 100 100;
#P number 249 338 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 249 310 44 196617 line 0 1;
#P toggle 128 169 15 0;
#P window linecount 2;
#P comment 126 140 35 196617 Start/Stop;
#P window linecount 4;
#P comment 166 116 48 196617 Assign the passive clock;
#P window linecount 1;
#P message 165 169 49 196617 clock jim;
#P message 217 169 31 196617 clock;
#P window linecount 4;
#P comment 217 116 59 196617 Return to the millisecond clock;
#P comment 255 175 67 196617 Increase the number box to "move" the metro.;
#P number 255 226 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 255 246 85 196617 setclock jim pass;
#B color 5;
#P button 128 220 24 0;
#P newex 128 198 46 196617 metro 1;
#P fasten 7 0 0 0 170 191 133 191;
#P connect 7 0 11 0;
#P connect 13 0 11 0;
#P connect 11 0 12 0;
#P connect 0 0 1 0;
#P fasten 10 0 0 0 133 191 133 191;
#P fasten 6 0 0 0 222 191 133 191;
#P connect 3 0 2 0;
#P window clipboard copycount 14;

Cheers,
Gary Lee Nelson
TIMARA Department
Oberlin College
http://www.timara.oberlin.edu/GaryLeeNelson


March 9, 2006 | 4:37 pm

That’s funny, I also was using setclock for the first time and am having problems with line. I also noticed that there is a maximum for the multiplier in mul mode (5).

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 207 186 23 196617 10.;
#P number 70 152 63 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 70 125 35 196617 timer;
#P message 159 49 33 196617 clock;
#P message 185 186 17 196617 6.;
#P message 167 186 17 196617 5.;
#P toggle 83 56 15 0;
#P newex 83 89 58 196617 metro 100;
#P message 195 49 57 196617 clock slow;
#P message 239 102 62 196617 0 , 10 5000;
#P number 239 152 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 239 128 40 196617 line;
#P message 151 186 17 196617 1.;
#P newex 166 215 90 196617 setclock slow mul;
#B color 5;
#P window linecount 2;
#P comment 234 186 100 196617 1 and 5 work but 6 and 10 do not.;
#P connect 14 0 1 0;
#P connect 2 0 1 0;
#P connect 9 0 1 0;
#P connect 10 0 1 0;
#P connect 6 0 7 0;
#P connect 6 0 3 0;
#P connect 11 0 7 0;
#P connect 11 0 3 0;
#P connect 7 0 12 0;
#P connect 7 0 12 1;
#P connect 12 0 13 0;
#P connect 8 0 7 0;
#P connect 3 0 4 0;
#P connect 5 0 3 0;
#P window clipboard copycount 15;

don


March 9, 2006 | 8:56 pm

I’ve reported this to C74 earlier on. It is fixed and should be
included in the next incremental update.

Best,
Trond

> That’s funny, I also was using setclock for the first time and am
> having problems with line. I also noticed that there is a maximum
> for the multiplier in mul mode (5).


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