File: pin~-help.pd

package info (click to toggle)
pd-mjlib 0.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 372 kB
  • sloc: ansic: 1,175; makefile: 31
file content (77 lines) | stat: -rw-r--r-- 3,072 bytes parent folder | download
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
66
67
68
69
70
71
72
73
74
75
76
77
#N canvas 504 86 559 457 10;
#X obj 0 0 cnv 15 552 40 empty empty pin~ 3 12 0 18 -204280 -1 0;
#X obj 0 314 cnv 3 550 3 empty empty inlets 8 12 0 13 -228856 -1 0
;
#X obj 0 357 cnv 3 550 3 empty empty outlets 8 12 0 13 -228856 -1 0
;
#X obj 0 412 cnv 3 550 3 empty empty arguments 8 12 0 13 -228856 -1
0;
#X obj 79 366 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 79 328 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 0 454 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289
0;
#N canvas 240 348 428 75 Related_objects 0;
#X obj 0 0 cnv 15 425 20 empty empty empty 3 12 0 14 -204280 -1 0;
#X text 6 1 Related Objects;
#X restore 206 456 pd Related_objects;
#N canvas 756 193 494 344 META 0;
#X text 12 195 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
Wilkes for Pd version 0.42.;
#X text 12 25 LICENSE GPL v2;
#X text 12 175 AUTHOR Mark Williamson <mark@junklight.com>;
#X text 12 45 DESCRIPTION take a single signal input and output it
to the left or right output at random based on the probability set
;
#X text 12 75 INLET_0 signal;
#X text 12 95 INLET_1 float;
#X text 12 115 INLET_2 float;
#X text 12 135 OUTLET_0 signal;
#X text 12 155 OUTLET_1 signal;
#X text 12 5 KEYWORDS signal random;
#X restore 503 456 pd META;
#X obj 152 260 mjlib/output~;
#X floatatom 258 121 5 0 0 0 - - -, f 5;
#X obj 153 187 mjlib/pin~ 0.5 100;
#X obj 521 3 pin~;
#X text 8 23 random based signal router, f 78;
#X text 107 328 signal;
#X text 162 328 - input signal;
#X obj 79 390 cnv 17 3 17 empty empty 1 5 9 0 16 -228856 -162280 0
;
#X text 107 366 signal;
#X text 107 390 signal;
#X text 160 366 - first output signal. Either input signal or zero
;
#X text 160 390 - second output signal. Either input signal or zero
;
#X text 86 432 probability (0-1) and switch interval in ms.;
#X obj 208 81 hsl 64 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 0 1;
#X floatatom 205 101 5 0 0 0 - - -, f 5;
#X obj 261 102 hsl 64 15 0 1000 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 500 1;
#X obj 154 60 osc~ 440;
#N canvas 1 79 450 300 original 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 text 19 30 by mark williamson (mark@junklight.com);
#X text 21 199 note that no panning or envelopes are applied and therefore
low choice intervals will add "switching" noise to the output.;
#X restore 433 287 pd original text;
#X connect 10 0 11 2;
#X connect 11 0 9 0;
#X connect 11 1 9 1;
#X connect 22 0 23 0;
#X connect 23 0 11 1;
#X connect 24 0 10 0;
#X connect 25 0 11 0;