-
Notifications
You must be signed in to change notification settings - Fork 0
/
buffet~-help.pd
201 lines (201 loc) · 5.69 KB
/
buffet~-help.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
#N canvas 586 296 617 462 10;
#N canvas 0 22 450 300 (subpatch) 0;
#X array dopey 62079 float 2;
#X coords 0 1 62079 -1 200 140 1;
#X restore 34 65 graph;
#N canvas 742 412 538 388 load-samples 0;
#X obj 36 151 soundfiler;
#X msg 36 83 bang;
#X obj 36 109 openpanel;
#X obj 144 37 loadbang;
#X msg 36 131 read -resize \$1 dopey;
#X obj 117 17 inlet;
#X msg 117 64 read -resize sound/voice.wav dopey;
#X connect 1 0 2 0;
#X connect 2 0 4 0;
#X connect 3 0 6 0;
#X connect 4 0 0 0;
#X connect 5 0 6 0;
#X connect 6 0 0 0;
#X restore 245 110 pd load-samples;
#X obj 222 241 buffet~ dopey 100 300;
#X obj 222 288 bng 15 100 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X floatatom 365 270 5 0 0 0 - - -, f 5;
#N canvas 0 22 450 300 (subpatch) 0;
#X array soapy 22050 float 2;
#X coords 0 1 22050 -1 100 70 1;
#X restore 34 234 graph;
#N canvas 171 294 544 498 processing 0;
#X obj 44 402 s buffet-msgs;
#X msg 203 208 reverse;
#X msg 171 150 normalize 0.95;
#X msg 173 176 killdc;
#X text 43 34 Destructive Buffer Edits;
#X msg 182 386 autoredraw \$1;
#X obj 182 364 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X text 199 363 turn off if redraw hurts performance;
#X msg 182 345 1;
#X obj 182 329 loadbang;
#X msg 43 67 fadein 100;
#X msg 89 92 fadeout 500;
#X msg 112 121 rotatetozero 300;
#X msg 221 247 erase 300 460;
#X msg 223 285 internal_fadeout 500 800;
#X msg 251 309 internal_fadein 200 500;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 3 0 0 0;
#X connect 5 0 0 0;
#X connect 6 0 5 0;
#X connect 8 0 6 0;
#X connect 9 0 8 0;
#X connect 10 0 0 0;
#X connect 11 0 0 0;
#X connect 12 0 0 0;
#X connect 13 0 0 0;
#X connect 14 0 0 0;
#X connect 15 0 0 0;
#X coords 0 0 1 1 85 60 0;
#X restore 33 341 pd processing;
#X obj 222 214 r buffet-msgs;
#N canvas 574 418 474 306 copying 0;
#X obj 48 70 buffet~ soapy 100 200;
#X text 46 30 clear receiver (optional);
#X obj 50 236 s buffet-msgs;
#X text 156 162 too long requests are truncated;
#X msg 270 53 normalize 1;
#X msg 47 50 erase 0 500;
#X msg 49 112 copy_to_buffer soapy 0 500;
#X msg 62 135 copy_to_buffer soapy 500 1000;
#X msg 154 181 copy_to_buffer soapy 300 1200;
#X connect 4 0 0 0;
#X connect 5 0 0 0;
#X connect 6 0 2 0;
#X connect 7 0 2 0;
#X connect 8 0 2 0;
#X restore 34 314 pd copying;
#X text 229 301 operation completion indicator;
#X text 412 269 rms report;
#N canvas 151 375 470 320 analysis 0;
#X obj 65 188 s buffet-msgs;
#X text 66 88 get rms reading from a specified segment of buffer;
#X msg 120 145 pevents 50 0.05;
#X text 117 130 look for percussive events;
#X msg 64 112 rmschunk 200 300;
#X connect 2 0 0 0;
#X connect 4 0 0 0;
#X restore 33 393 pd analysis;
#X obj 294 344 print;
#X text 334 347 list of estimated onsets in buffer;
#X obj 391 204 dac~;
#X floatatom 416 151 5 0 1 0 - - -, f 5;
#X obj 391 178 *~ 0;
#X obj 419 138 hsl 32 8 0 1 0 0 empty empty empty -2 -8 0 10 -261197
-1 -1 0 1;
#X text 458 150 playback gain;
#X obj 391 118 player~ dopey 1;
#X msg 245 78 bang;
#X text 282 80 reload;
#X text 29 420 buffet~ - Various operations on contents of an array
;
#N canvas 34 269 705 565 scrambler 0;
#X obj 57 356 s buffet-msgs;
#X msg 57 153 minswap \$1;
#X floatatom 57 123 5 0 0 0 - - -, f 5;
#X floatatom 147 121 5 0 0 0 - - -, f 5;
#X msg 146 151 maxswap \$1;
#X floatatom 144 223 5 0 0 0 - - -, f 5;
#X msg 143 253 overlap \$1;
#X msg 145 194 30;
#X msg 224 256 retroblock;
#X msg 314 276 swap;
#X msg 172 335 specswap 0 1000 250;
#X obj 59 57 t b b b;
#X obj 58 28 loadbang;
#X text 187 120 minimum and maximum swap times in ms.;
#X text 155 209 fade time for tapering swap blocks (20 ms. by default)
;
#X text 226 240 reverse a piece of the buffer;
#X text 354 276 swap two pieces of the buffer;
#X text 177 357 specify which parts of buffer to exchange. arguments
are skip1 \, skip2 and duration. In this example the first 250 ms block
of the buffer is swapped with the 250 ms block beginning 1000 ms into
the buffer.;
#X text 165 26 Destructive rearrangement of buffer;
#X msg 200 479 autoredraw \$1;
#X obj 200 453 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X text 217 452 turn off if redraw hurts performance;
#X msg 200 434 1;
#X obj 200 418 loadbang;
#X obj 316 141 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 315 164 metro 250;
#X msg 58 94 100;
#X msg 148 92 200;
#X obj 237 158 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 236 181 metro 500;
#X connect 1 0 0 0;
#X connect 2 0 1 0;
#X connect 3 0 4 0;
#X connect 4 0 0 0;
#X connect 5 0 6 0;
#X connect 6 0 0 0;
#X connect 7 0 5 0;
#X connect 8 0 0 0;
#X connect 9 0 0 0;
#X connect 10 0 0 0;
#X connect 11 0 26 0;
#X connect 11 1 27 0;
#X connect 11 2 7 0;
#X connect 12 0 11 0;
#X connect 19 0 0 0;
#X connect 20 0 19 0;
#X connect 22 0 20 0;
#X connect 23 0 22 0;
#X connect 24 0 25 0;
#X connect 25 0 9 0;
#X connect 26 0 2 0;
#X connect 27 0 3 0;
#X connect 28 0 29 0;
#X connect 29 0 8 0;
#X restore 33 367 pd scrambler;
#N canvas 0 22 470 320 playback-controls 0;
#X obj 18 59 impulse~;
#X msg 19 31 bang;
#X text 57 31 retrigger;
#X msg 95 54 pause;
#X msg 144 55 resume;
#X msg 204 56 stop;
#X obj 18 129 outlet~;
#X obj 203 130 outlet;
#X msg 238 103 static_increment 1;
#X obj 238 84 loadbang;
#X obj 18 89 samm~ 40 1;
#X connect 0 0 10 0;
#X connect 1 0 0 0;
#X connect 3 0 10 0;
#X connect 4 0 10 0;
#X connect 5 0 7 0;
#X connect 8 0 7 0;
#X connect 9 0 8 0;
#X connect 10 0 6 0;
#X restore 391 74 pd playback-controls;
#X obj 23 13 cnv 15 160 25 empty empty LyonPotpourri 20 12 1 18 -260097
-204786 0;
#X connect 2 0 3 0;
#X connect 2 1 12 0;
#X connect 2 2 4 0;
#X connect 7 0 2 0;
#X connect 15 0 16 1;
#X connect 16 0 14 0;
#X connect 16 0 14 1;
#X connect 17 0 15 0;
#X connect 19 0 16 0;
#X connect 20 0 1 0;
#X connect 24 0 19 0;
#X connect 24 0 19 1;
#X connect 24 1 19 0;