Hallo, Roman Haefeli hat gesagt: // Roman Haefeli wrote: > i can't quite follow, what you mean hear. you CAN use [wrap~] to build > your own [int~] (see attached patch).
Well, the problem is, that this will give you "-1" if you apply it to [sig~ 0], whereas int(0) is 0 as is the equivalent message algorithm using [wrap] (see attached again). Ciao -- Frank Barknecht _ ______footils.org_ __goto10.org__
#N canvas 754 157 470 377 10; #X obj 86 242 wrap~; #X obj 70 202 sig~; #X obj 69 268 -~; #X floatatom 110 86 5 0 0 0 - - -; #X obj 129 308 print~; #X obj 129 202 b; #X obj 267 305 int; #X floatatom 267 333 5 0 0 0 - - -; #X obj 363 276 wrap; #X obj 333 305 -; #X obj 333 243 t a a; #X floatatom 333 333 5 0 0 0 - - -; #X msg 110 51 0; #X msg 144 51 1; #X msg 175 51 2; #X floatatom 195 333 5 0 0 0 - - -; #X obj 195 306 snapshot~; #X obj 110 116 t a b a a; #X obj 129 178 del 10; #X connect 0 0 2 1; #X connect 1 0 0 0; #X connect 1 0 2 0; #X connect 2 0 4 0; #X connect 2 0 16 0; #X connect 3 0 17 0; #X connect 5 0 4 0; #X connect 5 0 16 0; #X connect 6 0 7 0; #X connect 8 0 9 1; #X connect 9 0 11 0; #X connect 10 0 9 0; #X connect 10 1 8 0; #X connect 12 0 3 0; #X connect 13 0 3 0; #X connect 14 0 3 0; #X connect 16 0 15 0; #X connect 17 0 1 0; #X connect 17 1 18 0; #X connect 17 2 6 0; #X connect 17 3 10 0; #X connect 18 0 5 0;
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
