unpunch-help.pd 25.3 KB
Newer Older
Roman Haefeli's avatar
Roman Haefeli committed
1
2
3
#N canvas 3 101 705 445 10;
#X msg 539 104 vis \$1;
#X obj 539 77 tgl 20 0 empty empty empty 17 7 0 10 -204800 -1 -1 1
4
1;
Roman Haefeli's avatar
Roman Haefeli committed
5
#X text 570 77 show GUI;
Roman Haefeli's avatar
Roman Haefeli committed
6
7
8
#X text 378 259 <- Container for the sequencer GUI;
#X obj 185 346 spigot;
#X obj 231 345 tgl 20 0 empty empty empty 17 7 0 10 -204800 -1 -1 0
9
1;
Roman Haefeli's avatar
Roman Haefeli committed
10
#X text 252 346 print editor messages;
Roman Haefeli's avatar
Roman Haefeli committed
11
#X obj 539 51 loadbang;
Roman Haefeli's avatar
Roman Haefeli committed
12
#N canvas 0 99 454 259 counter 0;
13
14
15
#X obj 21 25 inlet;
#X obj 21 81 f;
#X obj 21 129 t a a;
Roman Haefeli's avatar
Roman Haefeli committed
16
#X obj 105 102 + 1;
17
18
19
#X obj 119 26 inlet;
#X msg 119 49 0;
#X obj 21 160 outlet;
Roman Haefeli's avatar
Roman Haefeli committed
20
#X obj 21 58 metro 150;
Roman Haefeli's avatar
Roman Haefeli committed
21
22
23
24
25
#X obj 21 104 mod 128;
#X obj 201 101 cnv 12 90 12 empty empty empty 20 12 0 14 -261682 -66577
0;
#X text 201 99 loop-length=;
#X obj 275 100 nbx 3 14 1 999 0 0 empty empty empty 0 -8 0 10 -261682
Roman Haefeli's avatar
Roman Haefeli committed
26
-1 -1 64 256;
Roman Haefeli's avatar
Roman Haefeli committed
27
28
#X obj 275 28 loadbang;
#X msg 275 51 64;
29
30
#X connect 0 0 7 0;
#X connect 1 0 8 0;
Roman Haefeli's avatar
Roman Haefeli committed
31
32
33
34
35
#X connect 2 0 6 0;
#X connect 2 1 3 0;
#X connect 3 0 1 1;
#X connect 4 0 5 0;
#X connect 5 0 1 1;
36
37
#X connect 7 0 1 0;
#X connect 8 0 2 0;
Roman Haefeli's avatar
Roman Haefeli committed
38
39
40
41
#X connect 11 0 8 1;
#X connect 12 0 13 0;
#X connect 13 0 11 0;
#X coords 0 -1 1 1 111 14 2 200 100;
Roman Haefeli's avatar
Roman Haefeli committed
42
43
#X restore 20 195 pd counter;
#X obj 20 212 nbx 3 18 0 9999 0 0 empty empty empty 0 -8 0 10 -204786
Roman Haefeli's avatar
Roman Haefeli committed
44
-1 -1 0 256;
Roman Haefeli's avatar
Roman Haefeli committed
45
#X obj 20 171 tgl 20 0 empty empty empty 17 7 0 10 -261682 -1 -1 0
46
1;
Roman Haefeli's avatar
Roman Haefeli committed
47
48
#X text 43 171 turn on/off clock;
#X obj 185 375 print EDITOR;
49
50
51
#X obj 20 375 print NOTES;
#X obj 20 346 spigot;
#X obj 66 345 tgl 20 0 empty empty empty 17 7 0 10 -204800 -1 -1 0
Roman Haefeli's avatar
Roman Haefeli committed
52
1;
53
#X text 94 375 print notes;
Roman Haefeli's avatar
Roman Haefeli committed
54
#N canvas 318 287 538 414 synth 0;
Roman Haefeli's avatar
Roman Haefeli committed
55
#N canvas 0 99 623 536 voice 0;
Roman Haefeli's avatar
Roman Haefeli committed
56
57
58
#X obj 41 288 osc~ 440;
#X obj 41 428 expr~ tanh($v1);
#X obj 40 402 *~;
Roman Haefeli's avatar
Roman Haefeli committed
59
60
61
62
63
64
65
66
#X obj 288 378 dbtorms~;
#X obj 288 353 vline~;
#X obj 287 176 pack f f;
#X obj 288 201 route 1 0;
#X obj 288 232 t a a;
#X obj 333 255 - 10;
#X obj 288 280 pack f f;
#X msg 288 308 \$1 5 0 \, \$2 30 10;
Roman Haefeli's avatar
Roman Haefeli committed
67
68
#X obj 52 311 osc~ 880.5;
#X obj 52 334 *~ 0.5;
Roman Haefeli's avatar
Roman Haefeli committed
69
70
71
#X obj 418 264 - 30;
#X msg 418 317 \$1 10 0 \, 0 2000 50;
#X obj 41 171 mtof;
Roman Haefeli's avatar
Roman Haefeli committed
72
73
74
#X obj 41 214 t a a;
#X obj 68 236 * 2;
#X obj 68 259 + 0.5;
Roman Haefeli's avatar
Roman Haefeli committed
75
76
77
78
79
80
#X obj 519 187 t a a;
#X obj 519 210 *;
#X obj 519 164 / 100;
#X obj 519 233 t a a;
#X obj 519 256 *;
#X obj 519 279 rmstodb;
Roman Haefeli's avatar
Roman Haefeli committed
81
82
#X obj 41 31 inlet;
#X obj 41 60 unpack f f;
Roman Haefeli's avatar
Roman Haefeli committed
83
84
85
86
#X obj 287 96 moses 1;
#X obj 326 122 t b a;
#X msg 326 145 1;
#X msg 287 126 0;
Roman Haefeli's avatar
Roman Haefeli committed
87
#X obj 41 451 outlet~;
Roman Haefeli's avatar
Roman Haefeli committed
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#X obj 151 308 osc~ 440;
#X obj 151 428 expr~ tanh($v1);
#X obj 150 402 *~;
#X obj 162 331 osc~ 880.5;
#X obj 162 354 *~ 0.5;
#X obj 178 236 * 2;
#X obj 151 451 outlet~;
#X obj 220 191 random 100;
#X obj 220 214 / 100;
#X obj 220 237 - 0.5;
#X obj 151 237 +;
#X obj 151 204 t a a b;
#X obj 178 259 +;
#X obj 178 282 - 0.5;
Roman Haefeli's avatar
Roman Haefeli committed
102
103
104
105
#X connect 0 0 2 0;
#X connect 1 0 31 0;
#X connect 2 0 1 0;
#X connect 3 0 2 1;
Roman Haefeli's avatar
Roman Haefeli committed
106
#X connect 3 0 34 1;
Roman Haefeli's avatar
Roman Haefeli committed
107
108
109
110
111
112
113
114
115
116
117
118
119
120
#X connect 4 0 3 0;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X connect 6 1 13 0;
#X connect 7 0 9 0;
#X connect 7 1 8 0;
#X connect 8 0 9 1;
#X connect 9 0 10 0;
#X connect 10 0 4 0;
#X connect 11 0 12 0;
#X connect 12 0 2 0;
#X connect 13 0 14 0;
#X connect 14 0 4 0;
#X connect 15 0 16 0;
Roman Haefeli's avatar
Roman Haefeli committed
121
#X connect 15 0 43 0;
Roman Haefeli's avatar
Roman Haefeli committed
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
#X connect 16 0 0 0;
#X connect 16 1 17 0;
#X connect 17 0 18 0;
#X connect 18 0 11 0;
#X connect 19 0 20 0;
#X connect 19 1 20 1;
#X connect 20 0 22 0;
#X connect 21 0 19 0;
#X connect 22 0 23 0;
#X connect 22 1 23 1;
#X connect 23 0 24 0;
#X connect 24 0 5 1;
#X connect 25 0 26 0;
#X connect 26 0 15 0;
#X connect 26 1 27 0;
#X connect 27 0 30 0;
#X connect 27 1 28 0;
#X connect 28 0 29 0;
#X connect 28 1 21 0;
#X connect 29 0 5 0;
#X connect 30 0 5 0;
Roman Haefeli's avatar
Roman Haefeli committed
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
#X connect 32 0 34 0;
#X connect 33 0 38 0;
#X connect 34 0 33 0;
#X connect 35 0 36 0;
#X connect 36 0 34 0;
#X connect 37 0 44 0;
#X connect 39 0 40 0;
#X connect 40 0 41 0;
#X connect 41 0 42 1;
#X connect 41 0 44 1;
#X connect 42 0 32 0;
#X connect 43 0 42 0;
#X connect 43 1 37 0;
#X connect 43 2 39 0;
#X connect 44 0 45 0;
#X connect 45 0 35 0;
Roman Haefeli's avatar
Roman Haefeli committed
159
160
161
#X restore 13 120 pd voice;
#X obj 13 18 inlet;
#X obj 13 66 pack f f f;
162
#X obj 33 220 hsl 100 15 0 1 0 0 \$0.bli \$0.bla empty -2 -8 0 10 -261682
Roman Haefeli's avatar
Roman Haefeli committed
163
-1 -1 0 1;
Roman Haefeli's avatar
Roman Haefeli committed
164
165
166
167
168
#X obj 58 248 t a a;
#X msg 58 294 \$1 50;
#X obj 58 317 line~;
#X obj 8 346 *~;
#X obj 7 387 dac~ 1 2;
Roman Haefeli's avatar
Roman Haefeli committed
169
170
171
172
173
174
175
176
177
#X obj 58 271 *;
#X obj 13 89 route 1 2 3 4 5 6, f 61;
#X obj 13 43 poly 6 1, f 10;
#X obj 135 220 tgl 15 0 \$0.bli \$0.bla empty 17 7 0 10 -261682 -1
-1 0 1;
#X msg 147 261 dsp \$1;
#X obj 147 284 s pd;
#X obj 52 348 *~;
#N canvas 0 99 623 536 voice 0;
Roman Haefeli's avatar
Roman Haefeli committed
178
179
180
#X obj 41 288 osc~ 440;
#X obj 41 428 expr~ tanh($v1);
#X obj 40 402 *~;
Roman Haefeli's avatar
Roman Haefeli committed
181
182
183
184
185
186
187
188
#X obj 288 378 dbtorms~;
#X obj 288 353 vline~;
#X obj 287 176 pack f f;
#X obj 288 201 route 1 0;
#X obj 288 232 t a a;
#X obj 333 255 - 10;
#X obj 288 280 pack f f;
#X msg 288 308 \$1 5 0 \, \$2 30 10;
Roman Haefeli's avatar
Roman Haefeli committed
189
190
#X obj 52 311 osc~ 880.5;
#X obj 52 334 *~ 0.5;
Roman Haefeli's avatar
Roman Haefeli committed
191
192
193
#X obj 418 264 - 30;
#X msg 418 317 \$1 10 0 \, 0 2000 50;
#X obj 41 171 mtof;
Roman Haefeli's avatar
Roman Haefeli committed
194
195
196
#X obj 41 214 t a a;
#X obj 68 236 * 2;
#X obj 68 259 + 0.5;
Roman Haefeli's avatar
Roman Haefeli committed
197
198
199
200
201
202
#X obj 519 187 t a a;
#X obj 519 210 *;
#X obj 519 164 / 100;
#X obj 519 233 t a a;
#X obj 519 256 *;
#X obj 519 279 rmstodb;
Roman Haefeli's avatar
Roman Haefeli committed
203
204
#X obj 41 31 inlet;
#X obj 41 60 unpack f f;
Roman Haefeli's avatar
Roman Haefeli committed
205
206
207
208
#X obj 287 96 moses 1;
#X obj 326 122 t b a;
#X msg 326 145 1;
#X msg 287 126 0;
Roman Haefeli's avatar
Roman Haefeli committed
209
#X obj 41 451 outlet~;
Roman Haefeli's avatar
Roman Haefeli committed
210
211
212
213
214
215
216
217
218
219
220
221
222
223
#X obj 151 308 osc~ 440;
#X obj 151 428 expr~ tanh($v1);
#X obj 150 402 *~;
#X obj 162 331 osc~ 880.5;
#X obj 162 354 *~ 0.5;
#X obj 178 236 * 2;
#X obj 151 451 outlet~;
#X obj 220 191 random 100;
#X obj 220 214 / 100;
#X obj 220 237 - 0.5;
#X obj 151 237 +;
#X obj 151 204 t a a b;
#X obj 178 259 +;
#X obj 178 282 - 0.5;
Roman Haefeli's avatar
Roman Haefeli committed
224
225
226
227
#X connect 0 0 2 0;
#X connect 1 0 31 0;
#X connect 2 0 1 0;
#X connect 3 0 2 1;
Roman Haefeli's avatar
Roman Haefeli committed
228
#X connect 3 0 34 1;
Roman Haefeli's avatar
Roman Haefeli committed
229
230
231
232
233
234
235
236
237
238
239
240
241
242
#X connect 4 0 3 0;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X connect 6 1 13 0;
#X connect 7 0 9 0;
#X connect 7 1 8 0;
#X connect 8 0 9 1;
#X connect 9 0 10 0;
#X connect 10 0 4 0;
#X connect 11 0 12 0;
#X connect 12 0 2 0;
#X connect 13 0 14 0;
#X connect 14 0 4 0;
#X connect 15 0 16 0;
Roman Haefeli's avatar
Roman Haefeli committed
243
#X connect 15 0 43 0;
Roman Haefeli's avatar
Roman Haefeli committed
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
#X connect 16 0 0 0;
#X connect 16 1 17 0;
#X connect 17 0 18 0;
#X connect 18 0 11 0;
#X connect 19 0 20 0;
#X connect 19 1 20 1;
#X connect 20 0 22 0;
#X connect 21 0 19 0;
#X connect 22 0 23 0;
#X connect 22 1 23 1;
#X connect 23 0 24 0;
#X connect 24 0 5 1;
#X connect 25 0 26 0;
#X connect 26 0 15 0;
#X connect 26 1 27 0;
#X connect 27 0 30 0;
#X connect 27 1 28 0;
#X connect 28 0 29 0;
#X connect 28 1 21 0;
#X connect 29 0 5 0;
#X connect 30 0 5 0;
Roman Haefeli's avatar
Roman Haefeli committed
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
#X connect 32 0 34 0;
#X connect 33 0 38 0;
#X connect 34 0 33 0;
#X connect 35 0 36 0;
#X connect 36 0 34 0;
#X connect 37 0 44 0;
#X connect 39 0 40 0;
#X connect 40 0 41 0;
#X connect 41 0 42 1;
#X connect 41 0 44 1;
#X connect 42 0 32 0;
#X connect 43 0 42 0;
#X connect 43 1 37 0;
#X connect 43 2 39 0;
#X connect 44 0 45 0;
#X connect 45 0 35 0;
Roman Haefeli's avatar
Roman Haefeli committed
281
#X restore 73 120 pd voice;
Roman Haefeli's avatar
Roman Haefeli committed
282
#N canvas 0 99 623 536 voice 0;
Roman Haefeli's avatar
Roman Haefeli committed
283
284
285
#X obj 41 288 osc~ 440;
#X obj 41 428 expr~ tanh($v1);
#X obj 40 402 *~;
Roman Haefeli's avatar
Roman Haefeli committed
286
287
288
289
290
291
292
293
#X obj 288 378 dbtorms~;
#X obj 288 353 vline~;
#X obj 287 176 pack f f;
#X obj 288 201 route 1 0;
#X obj 288 232 t a a;
#X obj 333 255 - 10;
#X obj 288 280 pack f f;
#X msg 288 308 \$1 5 0 \, \$2 30 10;
Roman Haefeli's avatar
Roman Haefeli committed
294
295
#X obj 52 311 osc~ 880.5;
#X obj 52 334 *~ 0.5;
Roman Haefeli's avatar
Roman Haefeli committed
296
297
298
#X obj 418 264 - 30;
#X msg 418 317 \$1 10 0 \, 0 2000 50;
#X obj 41 171 mtof;
Roman Haefeli's avatar
Roman Haefeli committed
299
300
301
#X obj 41 214 t a a;
#X obj 68 236 * 2;
#X obj 68 259 + 0.5;
Roman Haefeli's avatar
Roman Haefeli committed
302
303
304
305
306
307
#X obj 519 187 t a a;
#X obj 519 210 *;
#X obj 519 164 / 100;
#X obj 519 233 t a a;
#X obj 519 256 *;
#X obj 519 279 rmstodb;
Roman Haefeli's avatar
Roman Haefeli committed
308
309
#X obj 41 31 inlet;
#X obj 41 60 unpack f f;
Roman Haefeli's avatar
Roman Haefeli committed
310
311
312
313
#X obj 287 96 moses 1;
#X obj 326 122 t b a;
#X msg 326 145 1;
#X msg 287 126 0;
Roman Haefeli's avatar
Roman Haefeli committed
314
#X obj 41 451 outlet~;
Roman Haefeli's avatar
Roman Haefeli committed
315
316
317
318
319
320
321
322
323
324
325
326
327
328
#X obj 151 308 osc~ 440;
#X obj 151 428 expr~ tanh($v1);
#X obj 150 402 *~;
#X obj 162 331 osc~ 880.5;
#X obj 162 354 *~ 0.5;
#X obj 178 236 * 2;
#X obj 151 451 outlet~;
#X obj 220 191 random 100;
#X obj 220 214 / 100;
#X obj 220 237 - 0.5;
#X obj 151 237 +;
#X obj 151 204 t a a b;
#X obj 178 259 +;
#X obj 178 282 - 0.5;
Roman Haefeli's avatar
Roman Haefeli committed
329
330
331
332
#X connect 0 0 2 0;
#X connect 1 0 31 0;
#X connect 2 0 1 0;
#X connect 3 0 2 1;
Roman Haefeli's avatar
Roman Haefeli committed
333
#X connect 3 0 34 1;
Roman Haefeli's avatar
Roman Haefeli committed
334
335
336
337
338
339
340
341
342
343
344
345
346
347
#X connect 4 0 3 0;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X connect 6 1 13 0;
#X connect 7 0 9 0;
#X connect 7 1 8 0;
#X connect 8 0 9 1;
#X connect 9 0 10 0;
#X connect 10 0 4 0;
#X connect 11 0 12 0;
#X connect 12 0 2 0;
#X connect 13 0 14 0;
#X connect 14 0 4 0;
#X connect 15 0 16 0;
Roman Haefeli's avatar
Roman Haefeli committed
348
#X connect 15 0 43 0;
Roman Haefeli's avatar
Roman Haefeli committed
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
#X connect 16 0 0 0;
#X connect 16 1 17 0;
#X connect 17 0 18 0;
#X connect 18 0 11 0;
#X connect 19 0 20 0;
#X connect 19 1 20 1;
#X connect 20 0 22 0;
#X connect 21 0 19 0;
#X connect 22 0 23 0;
#X connect 22 1 23 1;
#X connect 23 0 24 0;
#X connect 24 0 5 1;
#X connect 25 0 26 0;
#X connect 26 0 15 0;
#X connect 26 1 27 0;
#X connect 27 0 30 0;
#X connect 27 1 28 0;
#X connect 28 0 29 0;
#X connect 28 1 21 0;
#X connect 29 0 5 0;
#X connect 30 0 5 0;
Roman Haefeli's avatar
Roman Haefeli committed
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
#X connect 32 0 34 0;
#X connect 33 0 38 0;
#X connect 34 0 33 0;
#X connect 35 0 36 0;
#X connect 36 0 34 0;
#X connect 37 0 44 0;
#X connect 39 0 40 0;
#X connect 40 0 41 0;
#X connect 41 0 42 1;
#X connect 41 0 44 1;
#X connect 42 0 32 0;
#X connect 43 0 42 0;
#X connect 43 1 37 0;
#X connect 43 2 39 0;
#X connect 44 0 45 0;
#X connect 45 0 35 0;
#X restore 134 120 pd voice;
#N canvas 0 99 623 536 voice 0;
Roman Haefeli's avatar
Roman Haefeli committed
388
389
390
#X obj 41 288 osc~ 440;
#X obj 41 428 expr~ tanh($v1);
#X obj 40 402 *~;
Roman Haefeli's avatar
Roman Haefeli committed
391
392
393
394
395
396
397
398
#X obj 288 378 dbtorms~;
#X obj 288 353 vline~;
#X obj 287 176 pack f f;
#X obj 288 201 route 1 0;
#X obj 288 232 t a a;
#X obj 333 255 - 10;
#X obj 288 280 pack f f;
#X msg 288 308 \$1 5 0 \, \$2 30 10;
Roman Haefeli's avatar
Roman Haefeli committed
399
400
#X obj 52 311 osc~ 880.5;
#X obj 52 334 *~ 0.5;
Roman Haefeli's avatar
Roman Haefeli committed
401
402
403
#X obj 418 264 - 30;
#X msg 418 317 \$1 10 0 \, 0 2000 50;
#X obj 41 171 mtof;
Roman Haefeli's avatar
Roman Haefeli committed
404
405
406
#X obj 41 214 t a a;
#X obj 68 236 * 2;
#X obj 68 259 + 0.5;
Roman Haefeli's avatar
Roman Haefeli committed
407
408
409
410
411
412
#X obj 519 187 t a a;
#X obj 519 210 *;
#X obj 519 164 / 100;
#X obj 519 233 t a a;
#X obj 519 256 *;
#X obj 519 279 rmstodb;
Roman Haefeli's avatar
Roman Haefeli committed
413
414
#X obj 41 31 inlet;
#X obj 41 60 unpack f f;
Roman Haefeli's avatar
Roman Haefeli committed
415
416
417
418
#X obj 287 96 moses 1;
#X obj 326 122 t b a;
#X msg 326 145 1;
#X msg 287 126 0;
Roman Haefeli's avatar
Roman Haefeli committed
419
#X obj 41 451 outlet~;
Roman Haefeli's avatar
Roman Haefeli committed
420
421
422
423
424
425
426
427
428
429
430
431
432
433
#X obj 151 308 osc~ 440;
#X obj 151 428 expr~ tanh($v1);
#X obj 150 402 *~;
#X obj 162 331 osc~ 880.5;
#X obj 162 354 *~ 0.5;
#X obj 178 236 * 2;
#X obj 151 451 outlet~;
#X obj 220 191 random 100;
#X obj 220 214 / 100;
#X obj 220 237 - 0.5;
#X obj 151 237 +;
#X obj 151 204 t a a b;
#X obj 178 259 +;
#X obj 178 282 - 0.5;
Roman Haefeli's avatar
Roman Haefeli committed
434
435
436
437
#X connect 0 0 2 0;
#X connect 1 0 31 0;
#X connect 2 0 1 0;
#X connect 3 0 2 1;
Roman Haefeli's avatar
Roman Haefeli committed
438
#X connect 3 0 34 1;
Roman Haefeli's avatar
Roman Haefeli committed
439
440
441
442
443
444
445
446
447
448
449
450
451
452
#X connect 4 0 3 0;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X connect 6 1 13 0;
#X connect 7 0 9 0;
#X connect 7 1 8 0;
#X connect 8 0 9 1;
#X connect 9 0 10 0;
#X connect 10 0 4 0;
#X connect 11 0 12 0;
#X connect 12 0 2 0;
#X connect 13 0 14 0;
#X connect 14 0 4 0;
#X connect 15 0 16 0;
Roman Haefeli's avatar
Roman Haefeli committed
453
#X connect 15 0 43 0;
Roman Haefeli's avatar
Roman Haefeli committed
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
#X connect 16 0 0 0;
#X connect 16 1 17 0;
#X connect 17 0 18 0;
#X connect 18 0 11 0;
#X connect 19 0 20 0;
#X connect 19 1 20 1;
#X connect 20 0 22 0;
#X connect 21 0 19 0;
#X connect 22 0 23 0;
#X connect 22 1 23 1;
#X connect 23 0 24 0;
#X connect 24 0 5 1;
#X connect 25 0 26 0;
#X connect 26 0 15 0;
#X connect 26 1 27 0;
#X connect 27 0 30 0;
#X connect 27 1 28 0;
#X connect 28 0 29 0;
#X connect 28 1 21 0;
#X connect 29 0 5 0;
#X connect 30 0 5 0;
Roman Haefeli's avatar
Roman Haefeli committed
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
#X connect 32 0 34 0;
#X connect 33 0 38 0;
#X connect 34 0 33 0;
#X connect 35 0 36 0;
#X connect 36 0 34 0;
#X connect 37 0 44 0;
#X connect 39 0 40 0;
#X connect 40 0 41 0;
#X connect 41 0 42 1;
#X connect 41 0 44 1;
#X connect 42 0 32 0;
#X connect 43 0 42 0;
#X connect 43 1 37 0;
#X connect 43 2 39 0;
#X connect 44 0 45 0;
#X connect 45 0 35 0;
#X restore 194 120 pd voice;
#N canvas 0 99 623 536 voice 0;
Roman Haefeli's avatar
Roman Haefeli committed
493
494
495
#X obj 41 288 osc~ 440;
#X obj 41 428 expr~ tanh($v1);
#X obj 40 402 *~;
Roman Haefeli's avatar
Roman Haefeli committed
496
497
498
499
500
501
502
503
#X obj 288 378 dbtorms~;
#X obj 288 353 vline~;
#X obj 287 176 pack f f;
#X obj 288 201 route 1 0;
#X obj 288 232 t a a;
#X obj 333 255 - 10;
#X obj 288 280 pack f f;
#X msg 288 308 \$1 5 0 \, \$2 30 10;
Roman Haefeli's avatar
Roman Haefeli committed
504
505
#X obj 52 311 osc~ 880.5;
#X obj 52 334 *~ 0.5;
Roman Haefeli's avatar
Roman Haefeli committed
506
507
508
#X obj 418 264 - 30;
#X msg 418 317 \$1 10 0 \, 0 2000 50;
#X obj 41 171 mtof;
Roman Haefeli's avatar
Roman Haefeli committed
509
510
511
#X obj 41 214 t a a;
#X obj 68 236 * 2;
#X obj 68 259 + 0.5;
Roman Haefeli's avatar
Roman Haefeli committed
512
513
514
515
516
517
#X obj 519 187 t a a;
#X obj 519 210 *;
#X obj 519 164 / 100;
#X obj 519 233 t a a;
#X obj 519 256 *;
#X obj 519 279 rmstodb;
Roman Haefeli's avatar
Roman Haefeli committed
518
519
#X obj 41 31 inlet;
#X obj 41 60 unpack f f;
Roman Haefeli's avatar
Roman Haefeli committed
520
521
522
523
#X obj 287 96 moses 1;
#X obj 326 122 t b a;
#X msg 326 145 1;
#X msg 287 126 0;
Roman Haefeli's avatar
Roman Haefeli committed
524
#X obj 41 451 outlet~;
Roman Haefeli's avatar
Roman Haefeli committed
525
526
527
528
529
530
531
532
533
534
535
536
537
538
#X obj 151 308 osc~ 440;
#X obj 151 428 expr~ tanh($v1);
#X obj 150 402 *~;
#X obj 162 331 osc~ 880.5;
#X obj 162 354 *~ 0.5;
#X obj 178 236 * 2;
#X obj 151 451 outlet~;
#X obj 220 191 random 100;
#X obj 220 214 / 100;
#X obj 220 237 - 0.5;
#X obj 151 237 +;
#X obj 151 204 t a a b;
#X obj 178 259 +;
#X obj 178 282 - 0.5;
Roman Haefeli's avatar
Roman Haefeli committed
539
540
541
542
#X connect 0 0 2 0;
#X connect 1 0 31 0;
#X connect 2 0 1 0;
#X connect 3 0 2 1;
Roman Haefeli's avatar
Roman Haefeli committed
543
#X connect 3 0 34 1;
Roman Haefeli's avatar
Roman Haefeli committed
544
545
546
547
548
549
550
551
552
553
554
555
556
557
#X connect 4 0 3 0;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X connect 6 1 13 0;
#X connect 7 0 9 0;
#X connect 7 1 8 0;
#X connect 8 0 9 1;
#X connect 9 0 10 0;
#X connect 10 0 4 0;
#X connect 11 0 12 0;
#X connect 12 0 2 0;
#X connect 13 0 14 0;
#X connect 14 0 4 0;
#X connect 15 0 16 0;
Roman Haefeli's avatar
Roman Haefeli committed
558
#X connect 15 0 43 0;
Roman Haefeli's avatar
Roman Haefeli committed
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
#X connect 16 0 0 0;
#X connect 16 1 17 0;
#X connect 17 0 18 0;
#X connect 18 0 11 0;
#X connect 19 0 20 0;
#X connect 19 1 20 1;
#X connect 20 0 22 0;
#X connect 21 0 19 0;
#X connect 22 0 23 0;
#X connect 22 1 23 1;
#X connect 23 0 24 0;
#X connect 24 0 5 1;
#X connect 25 0 26 0;
#X connect 26 0 15 0;
#X connect 26 1 27 0;
#X connect 27 0 30 0;
#X connect 27 1 28 0;
#X connect 28 0 29 0;
#X connect 28 1 21 0;
#X connect 29 0 5 0;
#X connect 30 0 5 0;
Roman Haefeli's avatar
Roman Haefeli committed
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
#X connect 32 0 34 0;
#X connect 33 0 38 0;
#X connect 34 0 33 0;
#X connect 35 0 36 0;
#X connect 36 0 34 0;
#X connect 37 0 44 0;
#X connect 39 0 40 0;
#X connect 40 0 41 0;
#X connect 41 0 42 1;
#X connect 41 0 44 1;
#X connect 42 0 32 0;
#X connect 43 0 42 0;
#X connect 43 1 37 0;
#X connect 43 2 39 0;
#X connect 44 0 45 0;
#X connect 45 0 35 0;
#X restore 255 120 pd voice;
#N canvas 0 99 623 536 voice 0;
Roman Haefeli's avatar
Roman Haefeli committed
598
599
600
#X obj 41 288 osc~ 440;
#X obj 41 428 expr~ tanh($v1);
#X obj 40 402 *~;
Roman Haefeli's avatar
Roman Haefeli committed
601
602
603
604
605
606
607
608
#X obj 288 378 dbtorms~;
#X obj 288 353 vline~;
#X obj 287 176 pack f f;
#X obj 288 201 route 1 0;
#X obj 288 232 t a a;
#X obj 333 255 - 10;
#X obj 288 280 pack f f;
#X msg 288 308 \$1 5 0 \, \$2 30 10;
Roman Haefeli's avatar
Roman Haefeli committed
609
610
#X obj 52 311 osc~ 880.5;
#X obj 52 334 *~ 0.5;
Roman Haefeli's avatar
Roman Haefeli committed
611
612
613
#X obj 418 264 - 30;
#X msg 418 317 \$1 10 0 \, 0 2000 50;
#X obj 41 171 mtof;
Roman Haefeli's avatar
Roman Haefeli committed
614
615
616
#X obj 41 214 t a a;
#X obj 68 236 * 2;
#X obj 68 259 + 0.5;
Roman Haefeli's avatar
Roman Haefeli committed
617
618
619
620
621
622
#X obj 519 187 t a a;
#X obj 519 210 *;
#X obj 519 164 / 100;
#X obj 519 233 t a a;
#X obj 519 256 *;
#X obj 519 279 rmstodb;
Roman Haefeli's avatar
Roman Haefeli committed
623
624
#X obj 41 31 inlet;
#X obj 41 60 unpack f f;
Roman Haefeli's avatar
Roman Haefeli committed
625
626
627
628
#X obj 287 96 moses 1;
#X obj 326 122 t b a;
#X msg 326 145 1;
#X msg 287 126 0;
Roman Haefeli's avatar
Roman Haefeli committed
629
#X obj 41 451 outlet~;
Roman Haefeli's avatar
Roman Haefeli committed
630
631
632
633
634
635
636
637
638
639
640
641
642
643
#X obj 151 308 osc~ 440;
#X obj 151 428 expr~ tanh($v1);
#X obj 150 402 *~;
#X obj 162 331 osc~ 880.5;
#X obj 162 354 *~ 0.5;
#X obj 178 236 * 2;
#X obj 151 451 outlet~;
#X obj 220 191 random 100;
#X obj 220 214 / 100;
#X obj 220 237 - 0.5;
#X obj 151 237 +;
#X obj 151 204 t a a b;
#X obj 178 259 +;
#X obj 178 282 - 0.5;
Roman Haefeli's avatar
Roman Haefeli committed
644
645
646
647
#X connect 0 0 2 0;
#X connect 1 0 31 0;
#X connect 2 0 1 0;
#X connect 3 0 2 1;
Roman Haefeli's avatar
Roman Haefeli committed
648
#X connect 3 0 34 1;
Roman Haefeli's avatar
Roman Haefeli committed
649
650
651
652
653
654
655
656
657
658
659
660
661
662
#X connect 4 0 3 0;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X connect 6 1 13 0;
#X connect 7 0 9 0;
#X connect 7 1 8 0;
#X connect 8 0 9 1;
#X connect 9 0 10 0;
#X connect 10 0 4 0;
#X connect 11 0 12 0;
#X connect 12 0 2 0;
#X connect 13 0 14 0;
#X connect 14 0 4 0;
#X connect 15 0 16 0;
Roman Haefeli's avatar
Roman Haefeli committed
663
#X connect 15 0 43 0;
Roman Haefeli's avatar
Roman Haefeli committed
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
#X connect 16 0 0 0;
#X connect 16 1 17 0;
#X connect 17 0 18 0;
#X connect 18 0 11 0;
#X connect 19 0 20 0;
#X connect 19 1 20 1;
#X connect 20 0 22 0;
#X connect 21 0 19 0;
#X connect 22 0 23 0;
#X connect 22 1 23 1;
#X connect 23 0 24 0;
#X connect 24 0 5 1;
#X connect 25 0 26 0;
#X connect 26 0 15 0;
#X connect 26 1 27 0;
#X connect 27 0 30 0;
#X connect 27 1 28 0;
#X connect 28 0 29 0;
#X connect 28 1 21 0;
#X connect 29 0 5 0;
#X connect 30 0 5 0;
Roman Haefeli's avatar
Roman Haefeli committed
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
#X connect 32 0 34 0;
#X connect 33 0 38 0;
#X connect 34 0 33 0;
#X connect 35 0 36 0;
#X connect 36 0 34 0;
#X connect 37 0 44 0;
#X connect 39 0 40 0;
#X connect 40 0 41 0;
#X connect 41 0 42 1;
#X connect 41 0 44 1;
#X connect 42 0 32 0;
#X connect 43 0 42 0;
#X connect 43 1 37 0;
#X connect 43 2 39 0;
#X connect 44 0 45 0;
#X connect 45 0 35 0;
#X restore 315 120 pd voice;
#X obj 9 176 +~ 0;
#X obj 39 176 +~ 0;
#X connect 0 0 21 0;
#X connect 0 1 22 0;
#X connect 1 0 11 0;
#X connect 2 0 10 0;
#X connect 3 0 4 0;
#X connect 4 0 9 0;
#X connect 4 1 9 1;
#X connect 5 0 6 0;
#X connect 6 0 7 1;
#X connect 6 0 15 1;
#X connect 7 0 8 0;
#X connect 9 0 5 0;
#X connect 10 0 0 0;
#X connect 10 1 16 0;
#X connect 10 2 17 0;
#X connect 10 3 18 0;
#X connect 10 4 19 0;
#X connect 10 5 20 0;
#X connect 11 0 2 0;
#X connect 11 1 2 1;
#X connect 11 2 2 2;
#X connect 12 0 13 0;
#X connect 13 0 14 0;
#X connect 15 0 8 1;
#X connect 16 0 21 0;
#X connect 16 1 22 0;
#X connect 17 0 21 0;
#X connect 17 1 22 0;
#X connect 18 0 21 0;
#X connect 18 1 22 0;
#X connect 19 0 21 0;
#X connect 19 1 22 0;
#X connect 20 0 21 0;
#X connect 20 1 22 0;
#X connect 21 0 7 0;
#X connect 22 0 15 0;
Roman Haefeli's avatar
Roman Haefeli committed
740
#X coords 0 -1 1 1 120 35 1 30 200;
741
#X restore 31 297 pd synth;
Roman Haefeli's avatar
Roman Haefeli committed
742
#X obj 185 201 r \$0.to;
743
#X text 419 280 arg1: name of canvas to draw interface;
Roman Haefeli's avatar
Roman Haefeli committed
744
745
#X obj 2 2 cnv 15 700 24 empty empty empty 20 12 0 14 -233017 -66577
0;
746
#X obj 17 258 cnv 15 360 24 empty empty empty 20 12 0 14 -233017 -66577
Roman Haefeli's avatar
Roman Haefeli committed
747
0;
Roman Haefeli's avatar
Roman Haefeli committed
748
#N canvas 0 99 467 139 example.song 0;
Roman Haefeli's avatar
Roman Haefeli committed
749
#X obj 19 79 s \$0.to;
Roman Haefeli's avatar
Roman Haefeli committed
750
#N canvas 0 99 487 293 song-data-in-a-messagebox 0;
Roman Haefeli's avatar
Roman Haefeli committed
751
#X obj 16 22 inlet;
Roman Haefeli's avatar
Roman Haefeli committed
752
#X obj 16 1027 outlet;
753
#X msg 16 48 clear \, set stepviswidth 15 \, set stepvisheight 14 \,
754
set stepsperpage 64 \, set pitchrange 48 \, set gridsubdivision 4 \,
Roman Haefeli's avatar
Roman Haefeli committed
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
set griddivision 4 \, note restore 0 0 46 68 2 0 \, note restore 1
3 53 65 1 0 \, note restore 2 4 53 68 2 0 \, note restore 3 7 46 65
1 0 \, note restore 4 8 47 68 2 0 \, note restore 5 11 54 65 1 0 \,
note restore 6 12 54 68 2 0 \, note restore 7 15 47 65 1 0 \, note
restore 8 48 51 68 2 0 \, note restore 9 51 58 65 1 0 \, note restore
10 52 58 68 2 0 \, note restore 11 55 51 65 1 0 \, note restore 12
56 51 68 2 0 \, note restore 13 59 58 65 1 0 \, note restore 14 60
58 68 2 0 \, note restore 15 63 51 68 1 0 \, note restore 16 0 68 64
1 2 \, note restore 17 2 68 64 1 2 \, note restore 18 5 68 64 1 2 \,
note restore 19 7 70 64 1 2 \, note restore 20 9 70 64 1 2 \, note
restore 21 11 70 64 2 2 \, note restore 22 14 70 64 1 2 \, note restore
23 48 68 64 1 2 \, note restore 24 50 68 64 1 2 \, note restore 25
53 68 64 1 2 \, note restore 26 55 66 64 1 2 \, note restore 27 57
66 61 1 2 \, note restore 28 59 68 64 2 2 \, note restore 29 62 66
64 1 2 \, note restore 30 0 61 64 1 2 \, note restore 31 2 61 64 1
2 \, note restore 32 5 61 64 1 2 \, note restore 33 7 63 64 1 2 \,
note restore 34 9 63 64 1 2 \, note restore 35 11 63 64 2 2 \, note
restore 36 14 63 64 1 2 \, note restore 37 48 61 64 1 2 \, note restore
38 50 61 64 1 2 \, note restore 39 53 61 64 1 2 \, note restore 40
55 61 64 1 2 \, note restore 41 57 61 64 1 2 \, note restore 42 59
61 64 2 2 \, note restore 43 50 65 64 1 2 \, note restore 44 0 65 64
1 2 \, note restore 45 2 65 64 1 2 \, note restore 46 5 65 64 1 2 \,
note restore 47 9 66 64 1 2 \, note restore 48 7 66 64 1 2 \, note
restore 49 11 66 64 2 2 \, note restore 50 14 66 64 1 2 \, note restore
51 48 65 64 1 2 \, note restore 52 53 65 64 1 2 \, note restore 53
55 65 64 1 2 \, note restore 54 57 65 64 1 2 \, note restore 55 59
65 64 2 2 \, note restore 56 62 65 64 1 2 \, note restore 57 62 61
64 1 2 \, note restore 58 16 44 68 2 0 \, note restore 59 19 51 65
1 0 \, note restore 60 20 51 68 2 0 \, note restore 61 23 44 65 1 0
\, note restore 62 24 49 68 2 0 \, note restore 63 27 56 65 1 0 \,
note restore 64 28 56 68 2 0 \, note restore 65 31 49 65 1 0 \, note
restore 66 32 51 68 2 0 \, note restore 67 35 58 65 1 0 \, note restore
68 36 58 68 2 0 \, note restore 69 39 51 65 1 0 \, note restore 70
40 51 68 2 0 \, note restore 71 43 58 65 1 0 \, note restore 72 44
58 68 2 0 \, note restore 73 47 51 65 1 0 \, note restore 74 16 70
64 1 2 \, note restore 75 18 70 64 1 2 \, note restore 76 21 70 64
1 2 \, note restore 77 23 68 64 1 2 \, note restore 78 25 68 61 1 2
\, note restore 79 27 68 64 2 2 \, note restore 80 30 68 64 1 2 \,
note restore 81 16 63 64 1 2 \, note restore 82 18 63 64 1 2 \, note
restore 83 21 63 64 1 2 \, note restore 84 23 63 64 1 2 \, note restore
85 25 63 64 1 2 \, note restore 86 27 63 64 2 2 \, note restore 87
18 66 64 1 2 \, note restore 88 16 66 64 1 2 \, note restore 89 21
66 64 1 2 \, note restore 90 23 65 64 1 2 \, note restore 91 25 65
64 1 2 \, note restore 92 27 65 64 2 2 \, note restore 93 30 65 64
1 2 \, note restore 94 30 63 64 1 2 \, note restore 95 32 68 64 1 2
\, note restore 96 34 68 64 1 2 \, note restore 97 37 68 64 1 2 \,
note restore 98 39 66 64 1 2 \, note restore 99 41 66 61 1 2 \, note
restore 100 43 66 64 2 2 \, note restore 101 46 66 64 1 2 \, note restore
102 32 61 64 1 2 \, note restore 103 34 61 64 1 2 \, note restore 104
37 61 64 1 2 \, note restore 105 39 61 64 1 2 \, note restore 106 41
61 64 1 2 \, note restore 107 43 61 64 2 2 \, note restore 108 34 65
64 1 2 \, note restore 109 32 65 64 1 2 \, note restore 110 37 65 64
1 2 \, note restore 111 39 65 64 1 2 \, note restore 112 41 65 64 1
2 \, note restore 113 43 65 64 2 2 \, note restore 114 46 65 64 1 2
\, note restore 115 46 61 64 1 2 \, note restore 116 48 87 58 3 4 \,
note restore 117 51 80 58 1 4 \, note restore 118 53 82 58 2 4 \, note
restore 119 55 75 58 5 4 \, note restore 120 60 80 58 2 4 \, note restore
121 62 82 58 1 4 \, note restore 122 0 87 58 3 4 \, note restore 123
3 80 58 1 4 \, note restore 124 5 82 58 2 4 \, note restore 125 7 75
58 5 4 \, note restore 126 12 80 58 2 4 \, note restore 127 14 82 58
1 4 \, note restore 128 16 87 58 3 4 \, note restore 129 19 80 58 1
4 \, note restore 130 21 82 58 2 4 \, note restore 131 23 75 58 5 4
\, note restore 132 28 80 58 2 4 \, note restore 133 30 82 58 1 4 \,
note restore 134 32 87 58 3 4 \, note restore 135 35 80 58 1 4 \, note
restore 136 37 82 58 2 4 \, note restore 137 39 75 58 5 4 \, note restore
138 44 80 58 2 4 \, note restore 139 46 82 58 1 4 \, page 1 \,;
821
822
#X connect 0 0 2 0;
#X connect 2 0 1 0;
Roman Haefeli's avatar
Roman Haefeli committed
823
824
825
826
#X restore 19 42 pd song-data-in-a-messagebox;
#X obj 19 14 bng 20 250 50 0 empty empty empty 17 7 0 10 -204786 -1
-1;
#X text 42 15 load song;
827
#X connect 1 0 0 0;
Roman Haefeli's avatar
Roman Haefeli committed
828
#X connect 2 0 1 0;
Roman Haefeli's avatar
Roman Haefeli committed
829
#X restore 222 56 pd example.song;
Roman Haefeli's avatar
Roman Haefeli committed
830
#N canvas 6 101 404 447 about 0;
Roman Haefeli's avatar
Roman Haefeli committed
831
832
833
834
#X text 17 15 unpunch - a configurable matrix sequencer;
#X text 17 31 -----------------------------------------;
#X text 17 55 [unpunch] is a sequencer that allows to graphically edit
MIDI-like scores on a timeline \, a.k.a piano roll sequencer. Notes
Roman Haefeli's avatar
Roman Haefeli committed
835
836
837
838
can be created and deleted \, velocity and duration can be changed
with mouse actions. Some actions are triggered by key commands. [unpunch]
has a configurable interface to make it suitable for various time signatures
and display resolutions. The complete state can be dumped for later
Roman Haefeli's avatar
Roman Haefeli committed
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
restoration. Thus \, it should integrates well into existing state
saving systems. It is designed for real-time synchronisation (if needed)
and can also be used in systems like netpd.;
#X text 15 211 Display;
#X text 15 221 -------;
#X text 15 321 Clock;
#X text 15 331 -----;
#X text 15 241 [unpunch] draws its graphical interface to an empty(!)
canvas whose name is specified as first argument to [unpunch]. The
visual representation and the internal state are decoupled \, so the
representation can be changed while keeping existing notes intact.
;
#X text 14 350 For most flexible use \, [unpunch] requires an external
clock to drive the internal sequencer. Note that all active notes are
muted when a jump in the clock occurs \, in order to avoid hanging
notes.;
Roman Haefeli's avatar
Roman Haefeli committed
855
#X restore 20 39 pd about;
Roman Haefeli's avatar
Roman Haefeli committed
856
#X text 12 5 unpunch - a configurable matrix sequencer;
857
#X text 575 413 2019 \, Roman Haefeli;
Roman Haefeli's avatar
Roman Haefeli committed
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
#X msg 70 224 mute;
#N canvas 169 115 628 440 configuration 0;
#X msg 78 229 redraw;
#X obj 18 300 s \$0.to;
#X text 229 79 set step height (pixel;
#X text 229 49 set step width (pixel);
#X text 229 109 set the number of steps displayed in a single page
;
#X text 229 139 set the vertical number of steps;
#X text 229 229 redraw display after having changed configuration;
#X text 229 169 set the nuumber of subdivision that fit into a division
;
#X text 229 199 set the number of steps that fit into a subdivision
;
#X msg 78 109 set stepsperpage 64;
#X msg 78 139 set pitchrange 48;
#X text 78 21 INTERFACE CONFIGURATION (sent to right inlet);
#X msg 78 169 set griddivision 4;
#X msg 78 199 set gridsubdivision 4;
#X msg 78 49 set stepviswidth 15;
#X msg 78 79 set stepvisheight 14;
#X connect 0 0 1 0;
#X connect 9 0 1 0;
#X connect 10 0 1 0;
#X connect 12 0 1 0;
#X connect 13 0 1 0;
#X connect 14 0 1 0;
#X connect 15 0 1 0;
#X restore 20 69 pd configuration;
#N canvas 141 99 603 335 editing 0;
#X restore 20 99 pd editing;
#N canvas 170 116 568 256 state 0;
#X obj 18 130 s \$0.to;
#X text 77 14 MISC METHODS;
#X text 179 38 clear all notes ('clear' alone only deletes all notes
internally without updating visual representation);
#X msg 78 78 dump;
#X text 179 78 dump complete state as a set of messages. If the set
of messages is later sent back to [unpunch] in the same order \, the
complete state can be restored;
#X msg 78 38 clear \, redraw;
#X connect 3 0 0 0;
#X connect 5 0 0 0;
#X restore 20 129 pd state management;
#N canvas 711 99 1006 749 example-sequencer 1;
#X restore 242 261 pd example-sequencer;
#X obj 20 261 unpunch pd-example-sequencer;
#X text 406 310 inlet0: sequencer input (clock);
#X text 406 330 inlet1: editor commands and configuration;
#X text 401 360 outlet0: notes ([pitch \, velocity \, channel] tuples)
;
#X text 401 380 outlet1: dump of internal state;
#X obj 539 132 s pd-example-sequencer;
#X connect 0 0 36 0;
Roman Haefeli's avatar
Roman Haefeli committed
912
#X connect 1 0 0 0;
Roman Haefeli's avatar
Roman Haefeli committed
913
914
915
916
917
918
919
920
921
922
923
924
925
#X connect 4 0 12 0;
#X connect 5 0 4 1;
#X connect 7 0 1 0;
#X connect 8 0 9 0;
#X connect 9 0 31 0;
#X connect 10 0 8 0;
#X connect 14 0 13 0;
#X connect 15 0 14 1;
#X connect 18 0 31 1;
#X connect 26 0 31 0;
#X connect 31 0 14 0;
#X connect 31 0 17 0;
#X connect 31 1 4 0;