#N canvas 518 53 1914 985 12;
#X obj 54 371 expr-dynamic 0;
#X text 165 372 \$1=the idx of the abs;
#X obj 54 198 vsl 15 128 -1 1 0 0 empty empty -1-+1 0 -9 0 10 -262144
-1 -1 7800 1;
#X obj 473 171 vsl 15 128 -1 1 0 0 empty empty -1-to-1 0 -9 0 10 -262144
-1 -1 8300 1;
#X obj 495 189 vsl 15 128 -1 1 0 0 empty empty -1-to-1 0 -9 0 10 -262144
-1 -1 7300 1;
#X obj 521 209 vsl 15 128 -1 1 0 0 empty empty -1-to-1 0 -9 0 10 -262144
-1 -1 8600 1;
#X obj 543 227 vsl 15 128 -1 1 0 0 empty empty -1-to-1 0 -9 0 10 -262144
-1 -1 7600 1;
#X obj 489 349 t b f;
#X obj 515 376 t b f;
#X obj 538 407 t b f;
#X obj 471 451 pack f f f f;
#X msg 111 257 $f2*(sin(2*3.14159*$f3*$f1+3.14159)*$f4)+$f5;
#X msg 101 229 $f1+$f2+$f3+$f4+$f5;
#X obj 55 401 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144
-1 -1 124 1;
#X floatatom 53 547 5 0 0 0 result - -;
#X text 106 187 example functions;
#X text 462 476 $f2 \, $f3 \, $f4 and $f5;
#X text 50 35 a straight forward \, dynamic 1 value and 4 parameter
[expr] generator \, using dynamic patch \; \; so you can send in a
5 variable function as a list (to the second inlet) that uses a variable
at $f1 and 4 parameters at $f2 \, $f3 \, $f4 \, and $f5 and that [expr]
function is then created dynamically inside the patch at [pd container].
;
#X msg 125 289 $f1*($f2+$f3+$f4+$f5);
#X connect 0 0 13 0;
#X connect 2 0 0 0;
#X connect 3 0 10 0;
#X connect 4 0 7 0;
#X connect 5 0 8 0;
#X connect 6 0 9 0;
#X connect 7 0 10 0;
#X connect 7 1 10 1;
#X connect 8 0 10 0;
#X connect 8 1 10 2;
#X connect 9 0 10 0;
#X connect 9 1 10 3;
#X connect 10 0 0 2;
#X connect 11 0 0 1;
#X connect 12 0 0 1;
#X connect 13 0 14 0;
#X connect 18 0 0 1;
