This patch has a problem with negative value with [pow 2] for example.
Here a patch working with all values.
++

Jack

Attachment: pow.pd
Description: Binary data


Le 10 nov. 08 à 22:20, olsen a écrit :

hi list
as [pow] cannot handle negative messages - is my mind playing tricks on me or is the attached version the easiest way to exponentiate negative factors in pd?
thanks for satori
olsen





--
Planet Pluto bleibt!
#N canvas 56 102 283 278 10;
#X obj 93 25 moses 0;
#X obj 132 81 pow 2;
#X obj 93 82 pow 2;
#X obj 93 55 * -1;
#X floatatom 118 153 5 0 0 0 - - -;
#X obj 93 105 * -1;
#X floatatom 93 1 5 0 0 0 - - -;
#X floatatom 150 51 5 0 0 0 - - -;
#X connect 0 0 3 0;
#X connect 0 1 1 0;
#X connect 1 0 4 0;
#X connect 2 0 5 0;
#X connect 3 0 2 0;
#X connect 5 0 4 0;
#X connect 6 0 0 0;
#X connect 7 0 1 1;
#X connect 7 0 2 1;
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to