/usr/lib/pd/extra/mapping/sinusoid.pd is in pd-mapping 0.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | #N canvas 73 115 576 439 10;
#X obj 40 26 inlet;
#X obj 194 9 inlet;
#X obj 37 401 outlet;
#X obj 40 140 pack float symbol;
#X msg 40 165 \$2 \$1;
#X obj 29 246 atan;
#X obj 29 267 / 1.26263;
#X obj 180 215 symbol;
#X msg 179 241 ERROR: argument not supported \$1 \, try atan cos or
sin;
#X obj 207 40 loadbang;
#X obj 40 88 * 3.14159;
#X obj 178 263 print [sinusoid];
#X obj 40 188 route atan sin cos;
#X obj 113 250 sin;
#X obj 142 250 cos;
#X obj 142 270 + 1;
#X obj 142 290 / 2;
#X obj 198 64 purepd/symbol_argument \$1;
#X connect 0 0 10 0;
#X connect 1 0 17 0;
#X connect 3 0 4 0;
#X connect 4 0 12 0;
#X connect 5 0 6 0;
#X connect 6 0 2 0;
#X connect 7 0 8 0;
#X connect 8 0 11 0;
#X connect 9 0 17 0;
#X connect 10 0 3 0;
#X connect 12 0 5 0;
#X connect 12 1 13 0;
#X connect 12 2 14 0;
#X connect 12 3 7 0;
#X connect 13 0 2 0;
#X connect 14 0 15 0;
#X connect 15 0 16 0;
#X connect 16 0 2 0;
#X connect 17 0 3 1;
|