/usr/lib/pd/extra/hcs/pwm.pd is in pd-hcs 0.1-3.
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 57 58 59 60 61 62 63 64 65 | #N canvas 240 53 501 567 10;
#X msg 208 411 0;
#X msg 157 412 1;
#X text 281 361 duty cycle;
#X obj 6 30 inlet;
#X obj 256 31 inlet;
#X text 46 30 start/stop;
#X obj 226 384 delay;
#X obj 157 146 select 1;
#X obj 208 168 bang;
#X obj 7 332 spigot;
#X obj 7 290 bang;
#X obj 328 254 /;
#X msg 290 222 1000;
#X obj 290 130 loadbang;
#X obj 7 310 delay 100;
#X obj 256 361 *;
#X obj 256 88 max 0;
#X obj 256 66 min 1;
#X text 27 8 argument = pwm rate in Hz;
#X obj 290 177 abs;
#X obj 184 493 outlet;
#X text 228 533 released under the GNU GPL;
#X text 14 517 (C) Copyright 2006 Hans-Christoph Steiner <hans@at.or.at>
;
#X text 299 32 pulse width (0-1);
#X obj 290 154 purepd/float_argument \$1 30;
#X obj 290 201 trigger bang float;
#X obj 184 441 float;
#X obj 328 293 send \$0-ms;
#X obj 272 336 receive \$0-ms;
#X obj 65 289 receive \$0-ms;
#X obj 6 104 trigger float float;
#X obj 157 232 purepd/once;
#X connect 0 0 26 0;
#X connect 1 0 10 0;
#X connect 1 0 26 0;
#X connect 3 0 30 0;
#X connect 4 0 17 0;
#X connect 6 0 0 0;
#X connect 7 0 31 0;
#X connect 7 1 8 0;
#X connect 8 0 0 0;
#X connect 8 0 31 1;
#X connect 9 0 6 0;
#X connect 9 0 1 0;
#X connect 10 0 14 0;
#X connect 11 0 27 0;
#X connect 12 0 11 0;
#X connect 13 0 24 0;
#X connect 14 0 9 0;
#X connect 15 0 6 1;
#X connect 16 0 15 0;
#X connect 17 0 16 0;
#X connect 19 0 25 0;
#X connect 24 0 19 0;
#X connect 25 0 12 0;
#X connect 25 1 11 1;
#X connect 26 0 20 0;
#X connect 28 0 15 1;
#X connect 29 0 14 1;
#X connect 30 0 7 0;
#X connect 30 1 9 1;
#X connect 31 0 1 0;
#X connect 31 0 6 0;
|