/usr/lib/pd/extra/mapping/polar.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 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | #N canvas 189 157 645 439 10;
#X text 28 331 output range: 0 to 1;
#X text 28 41 input range: 0 to 1;
#X text 11 5 [hid_polar];
#X text 220 39 input range: 0 to 1;
#X text 29 29 x-axis value;
#X text 221 26 y-axis value;
#X obj 252 140 - 1;
#X obj 252 120 * 2;
#X obj 29 140 - 1;
#X obj 29 120 * 2;
#X text 61 125 convert range to -1 to 1;
#X text 456 328 output range: 0 to 1;
#X text 245 371 released under the GNU GPL;
#X text 28 357 (C) Copyright 2005 Hans-Christoph Steiner <hans@at.or.at>
;
#X obj 29 164 vector;
#X obj 384 35 loadbang;
#X obj 29 58 inlet x;
#X obj 252 58 inlet y;
#X obj 29 312 outlet radius;
#X obj 447 310 outlet angle;
#X obj 514 268 mapping/reverse;
#X msg 500 121 1;
#X msg 384 120 2;
#X obj 384 100 select clockwise;
#X obj 384 59 trigger bang bang;
#X obj 384 80 purepd/symbol_argument \$1;
#X obj 567 213 == 2;
#X obj 500 180 f;
#X obj 500 212 == 1;
#X obj 447 236 spigot 1;
#X obj 514 237 spigot 0;
#X connect 6 0 14 1;
#X connect 7 0 6 0;
#X connect 8 0 14 0;
#X connect 9 0 8 0;
#X connect 14 0 18 0;
#X connect 14 1 29 0;
#X connect 14 1 30 0;
#X connect 15 0 24 0;
#X connect 16 0 9 0;
#X connect 17 0 7 0;
#X connect 20 0 19 0;
#X connect 21 0 27 0;
#X connect 22 0 27 0;
#X connect 23 0 22 0;
#X connect 24 0 25 0;
#X connect 24 1 21 0;
#X connect 25 0 23 0;
#X connect 26 0 30 1;
#X connect 27 0 26 0;
#X connect 27 0 28 0;
#X connect 28 0 29 1;
#X connect 29 0 19 0;
#X connect 30 0 20 0;
|