-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpattern.pd
354 lines (354 loc) · 12.5 KB
/
pattern.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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
#N canvas 284 219 1114 512 12;
#X obj 8 165 select-instrument \$0 0;
#X obj 8 205 select-instrument \$0 1;
#X obj 8 245 select-instrument \$0 2;
#X obj 8 285 select-instrument \$0 3;
#X obj 8 325 select-instrument \$0 4;
#X obj 8 365 select-instrument \$0 5;
#X obj 8 405 select-instrument \$0 6;
#X obj 8 445 select-instrument \$0 7;
#X obj 265 24 nbx 5 20 1 500 0 0 \$0-tempo-s \$0-tempo-r Tempo 0 -8
0 10 -232576 -1 -1 90 256;
#X obj 265 76 nbx 5 20 1 16 0 0 \$0-channel-s \$0-channel-r Channel
0 -8 0 10 -232576 -1 -1 10 256;
#X obj 342 24 nbx 5 20 1 32 0 0 \$0-steps-s \$0-steps-r Length 0 -8
0 10 -232576 -1 -1 16 256;
#X obj 342 76 nbx 5 20 1 127 0 0 \$0-level-1-s \$0-level-1-r Accent_1
0 -8 0 10 -232576 -1 -1 62 256;
#X obj 419 76 nbx 5 20 1 127 0 0 \$0-level-2-s \$0-level-2-r Accent_2
0 -8 0 10 -232576 -1 -1 83 256;
#X obj 498 76 nbx 5 20 1 127 0 0 \$0-level-3-s \$0-level-3-r Accent_3
0 -8 0 10 -232576 -1 -1 104 256;
#X obj 575 76 nbx 5 20 1 127 0 0 \$0-level-4-s \$0-level-4-r Accent_4
0 -8 0 10 -232576 -1 -1 121 256;
#X obj 419 24 nbx 5 20 1 1000 0 0 \$0-repeat-s \$0-repeat-r Repeat
0 -8 0 10 -232576 -1 -1 2 256;
#X obj 975 70 outlet end;
#X obj 975 18 inlet begin;
#X obj 51 37 save-state \$0;
#X obj 261 167 multi-toggle \$0-0-0;
#X obj 286 167 multi-toggle \$0-0-1;
#X obj 311 167 multi-toggle \$0-0-2;
#X obj 336 167 multi-toggle \$0-0-3;
#X obj 366 167 multi-toggle \$0-0-4;
#X obj 391 167 multi-toggle \$0-0-5;
#X obj 416 167 multi-toggle \$0-0-6;
#X obj 441 167 multi-toggle \$0-0-7;
#X obj 471 167 multi-toggle \$0-0-8;
#X obj 496 167 multi-toggle \$0-0-9;
#X obj 521 167 multi-toggle \$0-0-10;
#X obj 546 167 multi-toggle \$0-0-11;
#X obj 576 167 multi-toggle \$0-0-12;
#X obj 601 167 multi-toggle \$0-0-13;
#X obj 626 167 multi-toggle \$0-0-14;
#X obj 651 167 multi-toggle \$0-0-15;
#X obj 681 167 multi-toggle \$0-0-16;
#X obj 706 167 multi-toggle \$0-0-17;
#X obj 731 167 multi-toggle \$0-0-18;
#X obj 756 167 multi-toggle \$0-0-19;
#X obj 786 167 multi-toggle \$0-0-20;
#X obj 811 167 multi-toggle \$0-0-21;
#X obj 836 167 multi-toggle \$0-0-22;
#X obj 861 167 multi-toggle \$0-0-23;
#X obj 891 167 multi-toggle \$0-0-24;
#X obj 916 167 multi-toggle \$0-0-25;
#X obj 941 167 multi-toggle \$0-0-26;
#X obj 966 167 multi-toggle \$0-0-27;
#X obj 996 167 multi-toggle \$0-0-28;
#X obj 1021 167 multi-toggle \$0-0-29;
#X obj 1046 167 multi-toggle \$0-0-30;
#X obj 1071 167 multi-toggle \$0-0-31;
#X obj 261 207 multi-toggle \$0-1-0;
#X obj 286 207 multi-toggle \$0-1-1;
#X obj 311 207 multi-toggle \$0-1-2;
#X obj 336 207 multi-toggle \$0-1-3;
#X obj 366 207 multi-toggle \$0-1-4;
#X obj 391 207 multi-toggle \$0-1-5;
#X obj 416 207 multi-toggle \$0-1-6;
#X obj 441 207 multi-toggle \$0-1-7;
#X obj 471 207 multi-toggle \$0-1-8;
#X obj 496 207 multi-toggle \$0-1-9;
#X obj 521 207 multi-toggle \$0-1-10;
#X obj 546 207 multi-toggle \$0-1-11;
#X obj 576 207 multi-toggle \$0-1-12;
#X obj 601 207 multi-toggle \$0-1-13;
#X obj 626 207 multi-toggle \$0-1-14;
#X obj 651 207 multi-toggle \$0-1-15;
#X obj 681 207 multi-toggle \$0-1-16;
#X obj 706 207 multi-toggle \$0-1-17;
#X obj 731 207 multi-toggle \$0-1-18;
#X obj 756 207 multi-toggle \$0-1-19;
#X obj 786 207 multi-toggle \$0-1-20;
#X obj 811 207 multi-toggle \$0-1-21;
#X obj 836 207 multi-toggle \$0-1-22;
#X obj 861 207 multi-toggle \$0-1-23;
#X obj 891 207 multi-toggle \$0-1-24;
#X obj 916 207 multi-toggle \$0-1-25;
#X obj 941 207 multi-toggle \$0-1-26;
#X obj 966 207 multi-toggle \$0-1-27;
#X obj 996 207 multi-toggle \$0-1-28;
#X obj 1021 207 multi-toggle \$0-1-29;
#X obj 1046 207 multi-toggle \$0-1-30;
#X obj 1071 207 multi-toggle \$0-1-31;
#X obj 261 247 multi-toggle \$0-2-0;
#X obj 286 247 multi-toggle \$0-2-1;
#X obj 311 247 multi-toggle \$0-2-2;
#X obj 336 247 multi-toggle \$0-2-3;
#X obj 366 247 multi-toggle \$0-2-4;
#X obj 391 247 multi-toggle \$0-2-5;
#X obj 416 247 multi-toggle \$0-2-6;
#X obj 441 247 multi-toggle \$0-2-7;
#X obj 471 247 multi-toggle \$0-2-8;
#X obj 496 247 multi-toggle \$0-2-9;
#X obj 521 247 multi-toggle \$0-2-10;
#X obj 546 247 multi-toggle \$0-2-11;
#X obj 576 247 multi-toggle \$0-2-12;
#X obj 601 247 multi-toggle \$0-2-13;
#X obj 626 247 multi-toggle \$0-2-14;
#X obj 651 247 multi-toggle \$0-2-15;
#X obj 681 247 multi-toggle \$0-2-16;
#X obj 706 247 multi-toggle \$0-2-17;
#X obj 731 247 multi-toggle \$0-2-18;
#X obj 756 247 multi-toggle \$0-2-19;
#X obj 786 247 multi-toggle \$0-2-20;
#X obj 811 247 multi-toggle \$0-2-21;
#X obj 836 247 multi-toggle \$0-2-22;
#X obj 861 247 multi-toggle \$0-2-23;
#X obj 891 247 multi-toggle \$0-2-24;
#X obj 916 247 multi-toggle \$0-2-25;
#X obj 941 247 multi-toggle \$0-2-26;
#X obj 966 247 multi-toggle \$0-2-27;
#X obj 996 247 multi-toggle \$0-2-28;
#X obj 1021 247 multi-toggle \$0-2-29;
#X obj 1046 247 multi-toggle \$0-2-30;
#X obj 1071 247 multi-toggle \$0-2-31;
#X obj 261 287 multi-toggle \$0-3-0;
#X obj 286 287 multi-toggle \$0-3-1;
#X obj 311 287 multi-toggle \$0-3-2;
#X obj 336 287 multi-toggle \$0-3-3;
#X obj 366 287 multi-toggle \$0-3-4;
#X obj 391 287 multi-toggle \$0-3-5;
#X obj 416 287 multi-toggle \$0-3-6;
#X obj 441 287 multi-toggle \$0-3-7;
#X obj 471 287 multi-toggle \$0-3-8;
#X obj 496 287 multi-toggle \$0-3-9;
#X obj 521 287 multi-toggle \$0-3-10;
#X obj 546 287 multi-toggle \$0-3-11;
#X obj 576 287 multi-toggle \$0-3-12;
#X obj 601 287 multi-toggle \$0-3-13;
#X obj 626 287 multi-toggle \$0-3-14;
#X obj 651 287 multi-toggle \$0-3-15;
#X obj 681 287 multi-toggle \$0-3-16;
#X obj 706 287 multi-toggle \$0-3-17;
#X obj 731 287 multi-toggle \$0-3-18;
#X obj 756 287 multi-toggle \$0-3-19;
#X obj 786 287 multi-toggle \$0-3-20;
#X obj 811 287 multi-toggle \$0-3-21;
#X obj 836 287 multi-toggle \$0-3-22;
#X obj 861 287 multi-toggle \$0-3-23;
#X obj 891 287 multi-toggle \$0-3-24;
#X obj 916 287 multi-toggle \$0-3-25;
#X obj 941 287 multi-toggle \$0-3-26;
#X obj 966 287 multi-toggle \$0-3-27;
#X obj 996 287 multi-toggle \$0-3-28;
#X obj 1021 287 multi-toggle \$0-3-29;
#X obj 1046 287 multi-toggle \$0-3-30;
#X obj 1071 287 multi-toggle \$0-3-31;
#X obj 261 327 multi-toggle \$0-4-0;
#X obj 286 327 multi-toggle \$0-4-1;
#X obj 311 327 multi-toggle \$0-4-2;
#X obj 336 327 multi-toggle \$0-4-3;
#X obj 366 327 multi-toggle \$0-4-4;
#X obj 391 327 multi-toggle \$0-4-5;
#X obj 416 327 multi-toggle \$0-4-6;
#X obj 441 327 multi-toggle \$0-4-7;
#X obj 471 327 multi-toggle \$0-4-8;
#X obj 496 327 multi-toggle \$0-4-9;
#X obj 521 327 multi-toggle \$0-4-10;
#X obj 546 327 multi-toggle \$0-4-11;
#X obj 576 327 multi-toggle \$0-4-12;
#X obj 601 327 multi-toggle \$0-4-13;
#X obj 626 327 multi-toggle \$0-4-14;
#X obj 651 327 multi-toggle \$0-4-15;
#X obj 681 327 multi-toggle \$0-4-16;
#X obj 706 327 multi-toggle \$0-4-17;
#X obj 731 327 multi-toggle \$0-4-18;
#X obj 756 327 multi-toggle \$0-4-19;
#X obj 786 327 multi-toggle \$0-4-20;
#X obj 811 327 multi-toggle \$0-4-21;
#X obj 836 327 multi-toggle \$0-4-22;
#X obj 861 327 multi-toggle \$0-4-23;
#X obj 891 327 multi-toggle \$0-4-24;
#X obj 916 327 multi-toggle \$0-4-25;
#X obj 941 327 multi-toggle \$0-4-26;
#X obj 966 327 multi-toggle \$0-4-27;
#X obj 996 327 multi-toggle \$0-4-28;
#X obj 1021 327 multi-toggle \$0-4-29;
#X obj 1046 327 multi-toggle \$0-4-30;
#X obj 1071 327 multi-toggle \$0-4-31;
#X obj 261 367 multi-toggle \$0-5-0;
#X obj 286 367 multi-toggle \$0-5-1;
#X obj 311 367 multi-toggle \$0-5-2;
#X obj 336 367 multi-toggle \$0-5-3;
#X obj 366 367 multi-toggle \$0-5-4;
#X obj 391 367 multi-toggle \$0-5-5;
#X obj 416 367 multi-toggle \$0-5-6;
#X obj 441 367 multi-toggle \$0-5-7;
#X obj 471 367 multi-toggle \$0-5-8;
#X obj 496 367 multi-toggle \$0-5-9;
#X obj 521 367 multi-toggle \$0-5-10;
#X obj 546 367 multi-toggle \$0-5-11;
#X obj 576 367 multi-toggle \$0-5-12;
#X obj 601 367 multi-toggle \$0-5-13;
#X obj 626 367 multi-toggle \$0-5-14;
#X obj 651 367 multi-toggle \$0-5-15;
#X obj 681 367 multi-toggle \$0-5-16;
#X obj 706 367 multi-toggle \$0-5-17;
#X obj 731 367 multi-toggle \$0-5-18;
#X obj 756 367 multi-toggle \$0-5-19;
#X obj 786 367 multi-toggle \$0-5-20;
#X obj 811 367 multi-toggle \$0-5-21;
#X obj 836 367 multi-toggle \$0-5-22;
#X obj 861 367 multi-toggle \$0-5-23;
#X obj 891 367 multi-toggle \$0-5-24;
#X obj 916 367 multi-toggle \$0-5-25;
#X obj 941 367 multi-toggle \$0-5-26;
#X obj 966 367 multi-toggle \$0-5-27;
#X obj 996 367 multi-toggle \$0-5-28;
#X obj 1021 367 multi-toggle \$0-5-29;
#X obj 1046 367 multi-toggle \$0-5-30;
#X obj 1071 367 multi-toggle \$0-5-31;
#X obj 261 407 multi-toggle \$0-6-0;
#X obj 286 407 multi-toggle \$0-6-1;
#X obj 311 407 multi-toggle \$0-6-2;
#X obj 336 407 multi-toggle \$0-6-3;
#X obj 366 407 multi-toggle \$0-6-4;
#X obj 391 407 multi-toggle \$0-6-5;
#X obj 416 407 multi-toggle \$0-6-6;
#X obj 441 407 multi-toggle \$0-6-7;
#X obj 471 407 multi-toggle \$0-6-8;
#X obj 496 407 multi-toggle \$0-6-9;
#X obj 521 407 multi-toggle \$0-6-10;
#X obj 546 407 multi-toggle \$0-6-11;
#X obj 576 407 multi-toggle \$0-6-12;
#X obj 601 407 multi-toggle \$0-6-13;
#X obj 626 407 multi-toggle \$0-6-14;
#X obj 651 407 multi-toggle \$0-6-15;
#X obj 681 407 multi-toggle \$0-6-16;
#X obj 706 407 multi-toggle \$0-6-17;
#X obj 731 407 multi-toggle \$0-6-18;
#X obj 756 407 multi-toggle \$0-6-19;
#X obj 786 407 multi-toggle \$0-6-20;
#X obj 811 407 multi-toggle \$0-6-21;
#X obj 836 407 multi-toggle \$0-6-22;
#X obj 861 407 multi-toggle \$0-6-23;
#X obj 891 407 multi-toggle \$0-6-24;
#X obj 916 407 multi-toggle \$0-6-25;
#X obj 941 407 multi-toggle \$0-6-26;
#X obj 966 407 multi-toggle \$0-6-27;
#X obj 996 407 multi-toggle \$0-6-28;
#X obj 1021 407 multi-toggle \$0-6-29;
#X obj 1046 407 multi-toggle \$0-6-30;
#X obj 1071 407 multi-toggle \$0-6-31;
#X obj 261 447 multi-toggle \$0-7-0;
#X obj 286 447 multi-toggle \$0-7-1;
#X obj 311 447 multi-toggle \$0-7-2;
#X obj 336 447 multi-toggle \$0-7-3;
#X obj 366 447 multi-toggle \$0-7-4;
#X obj 391 447 multi-toggle \$0-7-5;
#X obj 416 447 multi-toggle \$0-7-6;
#X obj 441 447 multi-toggle \$0-7-7;
#X obj 471 447 multi-toggle \$0-7-8;
#X obj 496 447 multi-toggle \$0-7-9;
#X obj 521 447 multi-toggle \$0-7-10;
#X obj 546 447 multi-toggle \$0-7-11;
#X obj 576 447 multi-toggle \$0-7-12;
#X obj 601 447 multi-toggle \$0-7-13;
#X obj 626 447 multi-toggle \$0-7-14;
#X obj 651 447 multi-toggle \$0-7-15;
#X obj 681 447 multi-toggle \$0-7-16;
#X obj 706 447 multi-toggle \$0-7-17;
#X obj 731 447 multi-toggle \$0-7-18;
#X obj 756 447 multi-toggle \$0-7-19;
#X obj 786 447 multi-toggle \$0-7-20;
#X obj 811 447 multi-toggle \$0-7-21;
#X obj 836 447 multi-toggle \$0-7-22;
#X obj 861 447 multi-toggle \$0-7-23;
#X obj 891 447 multi-toggle \$0-7-24;
#X obj 916 447 multi-toggle \$0-7-25;
#X obj 941 447 multi-toggle \$0-7-26;
#X obj 966 447 multi-toggle \$0-7-27;
#X obj 996 447 multi-toggle \$0-7-28;
#X obj 1021 447 multi-toggle \$0-7-29;
#X obj 1046 447 multi-toggle \$0-7-30;
#X obj 1071 447 multi-toggle \$0-7-31;
#X obj 823 44 symbol \$1;
#X obj 823 18 loadbang;
#X obj 823 70 send \$0-load-patch;
#X obj 495 24 nbx 5 20 1 32 0 0 \$0-beat-len-s \$0-beat-len-r Steps/Beat
0 -8 0 10 -232576 -1 -1 4 256;
#X obj 975 44 run-pattern \$0 \$1;
#X obj 14 16 pattern-name \$1 \$0;
#X obj 224 205 single-toggle \$0 1;
#X obj 224 165 single-toggle \$0 0;
#X obj 224 245 single-toggle \$0 2;
#X obj 224 285 single-toggle \$0 3;
#X obj 224 325 single-toggle \$0 4;
#X obj 224 365 single-toggle \$0 5;
#X obj 224 405 single-toggle \$0 6;
#X obj 224 445 single-toggle \$0 7;
#X text 34 144 MIDI Instrument;
#X text 265 144 1;
#X text 369 144 2;
#X text 473 144 3;
#X text 578 144 4;
#X text 683 144 5;
#X text 787 144 6;
#X text 891 144 7;
#X text 996 144 8;
#X text 221 144 MUTE;
#X obj 260 479 LED \$0 0;
#X obj 285 479 LED \$0 1;
#X obj 310 479 LED \$0 2;
#X obj 335 479 LED \$0 3;
#X obj 365 479 LED \$0 4;
#X obj 390 479 LED \$0 5;
#X obj 415 479 LED \$0 6;
#X obj 440 479 LED \$0 7;
#X obj 470 479 LED \$0 8;
#X obj 495 479 LED \$0 9;
#X obj 520 479 LED \$0 10;
#X obj 545 479 LED \$0 11;
#X obj 575 479 LED \$0 12;
#X obj 600 479 LED \$0 13;
#X obj 625 479 LED \$0 14;
#X obj 650 479 LED \$0 15;
#X obj 680 479 LED \$0 16;
#X obj 705 479 LED \$0 17;
#X obj 730 479 LED \$0 18;
#X obj 755 479 LED \$0 19;
#X obj 785 479 LED \$0 20;
#X obj 810 479 LED \$0 21;
#X obj 835 479 LED \$0 22;
#X obj 860 479 LED \$0 23;
#X obj 890 479 LED \$0 24;
#X obj 915 479 LED \$0 25;
#X obj 940 479 LED \$0 26;
#X obj 965 479 LED \$0 27;
#X obj 995 479 LED \$0 28;
#X obj 1020 479 LED \$0 29;
#X obj 1045 479 LED \$0 30;
#X obj 1070 479 LED \$0 31;
#X obj 574 12 duration \$0;
#X obj 673 14 start \$0 \$1;
#X obj 720 14 stop \$0 \$1;
#X obj 10 37 load-state \$0;
#X obj 93 37 clear-state \$0;
#X obj 9 109 select-drumkit \$0;
#X text 34 89 Drum Kit:;
#X obj 211 476 loop-count \$0;
#X text 173 482 LOOP:;
#X connect 17 0 279 0;
#X connect 275 0 277 0;
#X connect 276 0 275 0;
#X connect 279 0 16 0;