Forums > MaxMSP

how to stop speedlim ?


FP
November 12, 2008 | 8:30 pm

hi,

maybe it’s very easy.
how to stop a [speedlim] like [delay] or [pipe] ?

if i send 60000 then 0 to the right inlet i have to wait first 60000 ms before the speed limitation is back to 0.
i would like to stop the process exactly when i enter a new value.
how to ?

thanks.

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 315 443 14 196617 0;
#P message 286 443 26 196617 100;
#P toggle 247 388 15 0;
#P newex 247 410 52 196617 metro 40;
#P button 247 482 15 0;
#P newex 247 567 32 196617 print;
#P newex 286 504 47 196617 * 1000.;
#P newex 247 526 49 196617 speedlim;
#P window linecount 3;
#P comment 332 444 100 196617 i don’t want to wait 100s before 0 is active;
#P connect 6 0 5 0;
#P connect 5 0 4 0;
#P connect 4 0 1 0;
#P connect 1 0 3 0;
#P connect 8 0 2 0;
#P connect 7 0 2 0;
#P connect 2 0 1 1;
#P window clipboard copycount 9;

f./


November 14, 2008 | 12:00 pm

fp schrieb:
> if i send 60000 then 0 to the right inlet i have to wait first 60000 ms before the speed limitation is back to 0.
> i would like to stop the process exactly when i enter a new value.
> how to ?

the delay and pipe objects have a stop message, with delay and zl reg
you can build your own speed limit which could trigger an output and a
stop before setting a new time…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com



FP
February 7, 2009 | 4:13 pm

how do you do that please ?
thx.


February 7, 2009 | 4:44 pm

Hello,

for example:

#P button 96 171 15 0;
#P button 96 117 15 0;
#P window setfont "Sans Serif" 9.;
#P flonum 146 122 51 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#N vpatcher 110 130 710 530;
#P toggle 50 102 15 0;
#P window setfont "Sans Serif" 9.;
#P newex 95 75 52 196617 t 1 f stop;
#P newex 50 79 21 196617 t 0;
#P newex 65 195 24 196617 t 1;
#P newex 50 120 47 196617 gate 1 1;
#P newex 50 50 47 196617 t b l;
#P newex 65 148 20 196617 t b;
#P newex 65 172 61 196617 delay 1000;
#P inlet 95 28 15 0;
#P inlet 50 30 15 0;
#P outlet 50 243 15 0;
#P connect 1 0 5 0;
#P connect 5 0 8 0;
#P fasten 9 0 10 0 100 98 55 98;
#P connect 8 0 10 0;
#P fasten 7 0 10 0 70 222 39 222 39 100 55 100;
#P connect 10 0 6 0;
#P connect 6 0 0 0;
#P fasten 6 0 4 0 55 143 70 143;
#P fasten 9 2 3 0 142 167 70 167;
#P connect 4 0 3 0;
#P connect 3 0 7 0;
#P connect 5 1 6 1;
#P connect 2 0 9 0;
#P connect 9 1 3 1;
#P pop 1;
#P newobj 96 146 74 196617 p my speedlim;
#P connect 2 0 0 0;
#P connect 0 0 3 0;
#P fasten 1 0 0 1 151 141 165 141;
#P window clipboard copycount 4;



FP
February 8, 2009 | 12:20 pm

many thx.
:-)
>


fabrice planquette
elt@altern.org


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