hi
here is some information about how to use abstractions and arguments. i think it's a must to know how to use abstractions and arguments in puredata :-)
http://puredata.hurleur.com/sujet-1187-abstraction-why-use-etc
http://crca.ucsd.edu/~msp/Pd_documentation/x2.htm#s7.1
basically u can copy/paste the patch starting from #N canvas until the last #X connect and save it with a texteditor with a ".pd" suffix i.e "up-down-counter.pd" . then make a new patch and save it to the same directory. now u can create an object [up-down-counter 0 9] or [up-down-counter -100 0]
good luck eni
On Dec 4, 2007, at 12:45 AM, Javier Garcia wrote:
Thomas Ouellet Fredericks wrote:
Instantiate the counter with 2 arguments: the min and the max values
I dont understand that object, where should i set the min and the max value? where is the counter?
Someone can give a patch using it?
br. GARFF
Date: Sun, 6 May 2007 10:31:58 -0400 From: tof@danslchamp.org To: pd-list@iem.at Subject: Re: [PD] up-down-counter.pd
An up&down counter with settable current value, minimum value and maximum value that also works with negative number.
Instantiate the counter with 2 arguments: the min and the max values
Tom
---- up&down.pd ----
#N canvas 0 0 571 568 10; #X obj 62 38 inlet; #X obj 246 544 outlet; #X obj 73 84 b; #X obj 91 137 f 1; #X obj 106 228 + $1; #X obj 373 411 t b b; #X obj 370 448 f $2; #X obj 3 449 t b b; #X obj 29 499 f $1; #X obj 318 486 t f f; #X msg 29 165 1; #X msg 215 125 -1; #X obj 91 271 t f f f; #X obj 120 337 > $1; #X obj 246 430 moses $2; #X obj 355 63 inlet set; #X obj 51 387 spigot; #X obj 73 323 t f f; #X obj 81 360 == 0; #X obj 129 387 spigot; #X connect 0 0 2 0; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 4 0 12 0; #X connect 5 0 6 0; #X connect 5 1 11 0; #X connect 6 0 9 0; #X connect 7 0 8 0; #X connect 7 1 10 0; #X connect 8 0 9 0; #X connect 9 0 1 0; #X connect 9 1 4 1; #X connect 10 0 3 1; #X connect 11 0 3 1; #X connect 12 0 17 0; #X connect 12 1 13 0; #X connect 12 2 4 1; #X connect 13 0 18 0; #X connect 13 0 19 1; #X connect 14 0 1 0; #X connect 14 1 5 0; #X connect 15 0 4 1; #X connect 16 0 7 0; #X connect 17 0 16 0; #X connect 17 1 19 0; #X connect 18 0 16 1; #X connect 19 0 14 0;
PD-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Tecnología, moda, motor, viajes,…suscríbete a nuestros boletines para estar a la última MSN Newsletters _______________________________________________ PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list