-
Notifications
You must be signed in to change notification settings - Fork 0
/
hoc.karpluck~.pd
121 lines (121 loc) · 2.97 KB
/
hoc.karpluck~.pd
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
#N canvas 507 208 708 432 10;
#N canvas 259 157 847 508 plucked_instrument 0;
#X obj 22 63 inlet;
#X obj 92 60 inlet;
#X obj 175 60 inlet;
#X obj 241 59 inlet;
#X obj 311 60 inlet;
#X obj 374 63 inlet;
#X obj 473 65 inlet;
#X obj 515 65 inlet;
#X obj 557 65 inlet;
#X text 17 16 6 inlets representing the six strings of our instrument.
A midi note integer message to any inlet excites that particular string
at the specified pitch.;
#X text 469 46 Width \, decay \, and cutoff inlets;
#X obj 21 373 outlet~;
#X obj 21 349 *~ 0.25;
#X obj 473 128 s \$0-width;
#X obj 516 107 s \$0-decay;
#X obj 557 87 s \$0-cutoff;
#X obj 106 87 r \$0-width;
#X obj 188 89 r \$0-decay;
#X obj 264 90 r \$0-cutoff;
#X text 73 343 scale the output down by approx 12dB to avoid clipping
;
#X obj 374 264 abstractions/karpluck~;
#X obj 16 139 abstractions/karpluck~;
#X obj 92 181 abstractions/karpluck~;
#X obj 175 203 abstractions/karpluck~;
#X obj 241 224 abstractions/karpluck~;
#X obj 312 243 abstractions/karpluck~;
#X connect 0 0 21 0;
#X connect 1 0 22 0;
#X connect 2 0 23 0;
#X connect 3 0 24 0;
#X connect 4 0 25 0;
#X connect 5 0 20 0;
#X connect 6 0 13 0;
#X connect 7 0 14 0;
#X connect 8 0 15 0;
#X connect 12 0 11 0;
#X connect 16 0 20 1;
#X connect 16 0 21 1;
#X connect 16 0 22 1;
#X connect 16 0 23 1;
#X connect 16 0 24 1;
#X connect 16 0 25 1;
#X connect 17 0 20 2;
#X connect 17 0 21 2;
#X connect 17 0 22 2;
#X connect 17 0 23 2;
#X connect 17 0 24 2;
#X connect 17 0 25 2;
#X connect 18 0 20 3;
#X connect 18 0 21 3;
#X connect 18 0 22 3;
#X connect 18 0 23 3;
#X connect 18 0 24 3;
#X connect 18 0 25 3;
#X connect 20 0 12 0;
#X connect 21 0 12 0;
#X connect 22 0 12 0;
#X connect 23 0 12 0;
#X connect 24 0 12 0;
#X connect 25 0 12 0;
#X restore 68 211 pd plucked_instrument;
#X text 238 251 Colin Barry / [email protected];
#X text 238 263 www.loomer.co.uk;
#X obj 176 101 * 39;
#X obj 176 124 + 1;
#X obj 222 121 + 0.9;
#X obj 222 99 * 0.099;
#X obj 173 16 inlet width;
#X obj 173 70 clip 0 1;
#X obj 173 43 \$1;
#X obj 68 175 route 1 2 3 4 5 6;
#X obj 240 72 clip 0 1;
#X obj 242 45 \$2;
#X obj 243 -8 inlet decay;
#X obj 366 9 inlet cutoff;
#X obj 326 136 clip 20 20000;
#X obj 329 72 sel 0;
#X msg 329 97 5000;
#X obj 105 8 loadbang;
#X obj 329 46 \$3;
#X obj 69 251 outlet~;
#X obj 69 63 inlet note;
#X obj 69 149 pack f f f;
#X obj 69 116 poly 6 1;
#X obj 83 90 stripnote;
#X connect 0 0 20 0;
#X connect 3 0 4 0;
#X connect 4 0 0 6;
#X connect 5 0 0 7;
#X connect 6 0 5 0;
#X connect 7 0 9 0;
#X connect 8 0 3 0;
#X connect 9 0 8 0;
#X connect 10 0 0 0;
#X connect 10 1 0 1;
#X connect 10 2 0 2;
#X connect 10 3 0 3;
#X connect 10 4 0 4;
#X connect 10 5 0 5;
#X connect 11 0 6 0;
#X connect 12 0 11 0;
#X connect 13 0 12 0;
#X connect 14 0 16 0;
#X connect 15 0 0 8;
#X connect 16 0 17 0;
#X connect 16 1 15 0;
#X connect 17 0 15 0;
#X connect 18 0 9 0;
#X connect 18 0 12 0;
#X connect 18 0 19 0;
#X connect 19 0 16 0;
#X connect 21 0 23 0;
#X connect 22 0 10 0;
#X connect 23 0 22 0;
#X connect 23 1 22 1;
#X connect 23 2 22 2;