/usr/lib/pd/extra/mjlib/pin~-help.pd is in pd-mjlib 0.1.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 | #N canvas 146 80 623 617 12;
#X obj 210 485 dac~;
#X obj 159 395 osc~;
#X msg 159 282 69;
#X obj 159 327 mtof;
#X floatatom 159 304 0 0 0 0 - - -;
#X floatatom 159 349 0 0 0 0 - - -;
#X obj 159 371 sig~;
#X floatatom 238 314 5 0 1 0 - - -;
#X floatatom 312 359 5 0 0 0 - - -;
#X text 19 13 pin~;
#X text 20 55 the pin~ object can be considered to be similar to the
pin in a bagatelle game. The ball upon hitting it has a random probability
of falling to one side or the other. The pin~ object takes a single
signal input and outputs it to the left or right output at random based
on the probability set (right most input). The interval at which the
outlet is choosen can be set by the right most input. Setting this
to 0 or less means a different output is choosen for every call of
the dsp routine. A higher value means that the output is choosen every
so many milliseconds.;
#X obj 159 250 loadbang;
#X text 19 314 test signal;
#X text 19 327 generator---->;
#X text 226 289 probability to choose left;
#X text 304 307 (between 0 and 1);
#X text 325 338 choice interval;
#X obj 181 437 pin~ 0.5 100;
#X text 25 523 note that no panning or envelopes are applied and therefore
low choice intervals will add "switching" noise to the output.;
#X text 19 30 by mark williamson (mark@junklight.com);
#X connect 1 0 17 0;
#X connect 2 0 4 0;
#X connect 3 0 5 0;
#X connect 4 0 3 0;
#X connect 5 0 6 0;
#X connect 6 0 1 0;
#X connect 7 0 17 1;
#X connect 8 0 17 2;
#X connect 11 0 2 0;
#X connect 17 0 0 0;
#X connect 17 1 0 1;
|