#N canvas 569 23 552 702 12;
#X floatatom 328 318 0 0 0 0 - - -;
#X floatatom 271 402 0 0 0 0 - - -;
#X floatatom 271 317 0 0 0 0 - - -;
#X floatatom 111 613 0 0 0 0 - - -;
#X floatatom 111 552 0 0 0 0 - - -;
#X floatatom 254 613 0 0 0 0 - - -;
#X floatatom 254 552 0 0 0 0 - - -;
#X floatatom 328 613 0 0 0 0 - - -;
#X floatatom 328 552 0 0 0 0 - - -;
#X floatatom 162 388 0 0 0 0 - - -;
#X floatatom 162 327 0 0 0 0 - - -;
#X floatatom 177 613 0 0 0 0 - - -;
#X floatatom 177 552 0 0 0 0 - - -;
#X floatatom 296 220 0 0 0 0 - - -;
#X floatatom 213 222 0 0 0 0 - - -;
#X obj 144 192 sin;
#X floatatom 213 107 0 0 0 0 - - -;
#X floatatom 144 220 0 0 0 0 - - -;
#X obj 213 159 * 6.28319;
#X obj 213 133 / 360;
#X obj 213 194 cos;
#X obj 296 192 tan;
#X obj 177 583 sqrt;
#X obj 162 358 atan;
#X obj 328 583 log;
#X obj 254 583 exp;
#X obj 111 583 abs;
#X obj 271 345 float;
#X obj 328 345 t b f;
#X obj 271 374 atan2;
#X text 32 265 The arc tangent takes two forms. The atan2 version takes
an (x \, y) pair and gives you an output between -pi and pi., f 70
;
#X floatatom 38 613 0 0 0 0 - - -;
#X floatatom 38 552 0 0 0 0 - - -;
#X obj 38 583 wrap;
#X text 401 187 see also:;
#X obj 433 212 cos~;
#X text 177 6 math function in Pd;
#X floatatom 364 552 0 0 0 0 - - -;
#X text 19 37 Pd offers the mathematical functions sin \, cos \, tan
\, atan \, atan2 \, sqrt \, log \, exp \, abs \, and wrap. Unlike the
signal version cos~ \, control-rate trig functions take inputs in radians:
, f 72;
#X text 434 535 see also:;
#X obj 431 563 wrap~;
#X obj 438 588 abs~;
#X obj 456 613 sqrt~;
#X obj 480 563 exp~;
#X obj 481 588 log~;
#X text 39 433 We also have wrap \, absolute value \, square root \,
exponential and logarithms \, all of which have corresponding signal
versions. The "wrap" object wraps the input to a value between 0 and
1 \, including negative numbers (for instance \, -0.2 maps to 0.8.).
As in the signal version log~ \, log takes a base value via an argument
or the right inlet \, but it defaults to "e"., f 69;
#X text 319 661 updated for Pd version 0.49;
#X connect 0 0 28 0;
#X connect 2 0 27 0;
#X connect 4 0 26 0;
#X connect 6 0 25 0;
#X connect 8 0 24 0;
#X connect 10 0 23 0;
#X connect 12 0 22 0;
#X connect 15 0 17 0;
#X connect 16 0 19 0;
#X connect 18 0 15 0;
#X connect 18 0 20 0;
#X connect 18 0 21 0;
#X connect 19 0 18 0;
#X connect 20 0 14 0;
#X connect 21 0 13 0;
#X connect 22 0 11 0;
#X connect 23 0 9 0;
#X connect 24 0 7 0;
#X connect 25 0 5 0;
#X connect 26 0 3 0;
#X connect 27 0 29 0;
#X connect 28 0 27 0;
#X connect 28 1 29 1;
#X connect 29 0 1 0;
#X connect 32 0 33 0;
#X connect 33 0 31 0;
#X connect 37 0 24 1;
