unpunch-help.pd 18.2 KB
Newer Older
Roman Haefeli's avatar
Roman Haefeli committed
1
#N canvas 3 101 705 445 10;
2
#X obj 20 221 unpunch pd-My_Happy_Sequencer;
3
#N canvas 709 99 1051 742 My_Happy_Sequencer 1;
Roman Haefeli's avatar
Roman Haefeli committed
4
#X restore 242 221 pd My_Happy_Sequencer;
Roman Haefeli's avatar
Roman Haefeli committed
5
6
7
#X obj 539 132 s pd-My_Happy_Sequencer;
#X msg 539 104 vis \$1;
#X obj 539 77 tgl 20 0 empty empty empty 17 7 0 10 -204800 -1 -1 1
8
1;
Roman Haefeli's avatar
Roman Haefeli committed
9
#X text 570 77 show GUI;
Roman Haefeli's avatar
Roman Haefeli committed
10
11
12
#X text 378 220 <- Container for the sequencer GUI;
#X obj 19 366 spigot;
#X obj 65 365 tgl 20 0 empty empty empty 17 7 0 10 -204800 -1 -1 0
13
1;
Roman Haefeli's avatar
Roman Haefeli committed
14
#X text 86 366 print editor messages;
Roman Haefeli's avatar
Roman Haefeli committed
15
16
#X msg 625 103 clear;
#X obj 539 51 loadbang;
17
#X text 550 411 2018 \, Roman Haefeli;
Roman Haefeli's avatar
Roman Haefeli committed
18
#N canvas 0 99 454 259 counter 0;
19
20
21
#X obj 21 25 inlet;
#X obj 21 81 f;
#X obj 21 129 t a a;
Roman Haefeli's avatar
Roman Haefeli committed
22
#X obj 105 102 + 1;
23
24
25
#X obj 119 26 inlet;
#X msg 119 49 0;
#X obj 21 160 outlet;
Roman Haefeli's avatar
Roman Haefeli committed
26
#X obj 21 58 metro 150;
Roman Haefeli's avatar
Roman Haefeli committed
27
28
29
30
31
#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
32
-1 -1 43 256;
Roman Haefeli's avatar
Roman Haefeli committed
33
34
#X obj 275 28 loadbang;
#X msg 275 51 64;
35
36
#X connect 0 0 7 0;
#X connect 1 0 8 0;
Roman Haefeli's avatar
Roman Haefeli committed
37
38
39
40
41
#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;
42
43
#X connect 7 0 1 0;
#X connect 8 0 2 0;
Roman Haefeli's avatar
Roman Haefeli committed
44
45
46
47
#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;
48
49
#X restore 221 149 pd counter;
#X obj 221 174 nbx 3 18 0 9999 0 0 empty empty empty 0 -8 0 10 -204786
Roman Haefeli's avatar
Roman Haefeli committed
50
51
-1 -1 33 256;
#X obj 221 92 tgl 20 0 empty empty empty 17 7 0 10 -261682 -1 -1 0
52
1;
Roman Haefeli's avatar
Roman Haefeli committed
53
#X text 247 93 turn on/off clock;
Roman Haefeli's avatar
Roman Haefeli committed
54
55
56
57
58
59
#X obj 19 395 print EDITOR;
#X obj 221 395 print NOTES;
#X obj 221 366 spigot;
#X obj 267 365 tgl 20 0 empty empty empty 17 7 0 10 -204800 -1 -1 0
1;
#X text 290 366 print notes;
Roman Haefeli's avatar
Roman Haefeli committed
60
#N canvas 318 287 538 414 synth 0;
Roman Haefeli's avatar
Roman Haefeli committed
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
#N canvas 0 99 482 490 voice 0;
#X obj 41 288 osc~ 440;
#X obj 41 428 expr~ tanh($v1);
#X obj 40 402 *~;
#X obj 158 378 dbtorms~;
#X obj 158 353 vline~;
#X obj 157 176 pack f f;
#X obj 158 201 route 1 0;
#X obj 158 232 t a a;
#X obj 203 255 - 10;
#X obj 158 280 pack f f;
#X msg 158 308 \$1 5 0 \, \$2 30 10;
#X obj 52 311 osc~ 880.5;
#X obj 52 334 *~ 0.5;
#X obj 288 264 - 30;
#X msg 288 317 \$1 10 0 \, 0 2000 50;
#X obj 41 191 mtof;
#X obj 41 214 t a a;
#X obj 68 236 * 2;
#X obj 68 259 + 0.5;
#X obj 389 187 t a a;
#X obj 389 210 *;
#X obj 389 164 / 100;
#X obj 389 233 t a a;
#X obj 389 256 *;
#X obj 389 279 rmstodb;
#X obj 41 31 inlet;
#X obj 41 60 unpack f f;
#X obj 157 96 moses 1;
#X obj 196 122 t b a;
#X msg 196 145 1;
#X msg 157 126 0;
#X obj 41 451 outlet~;
#X connect 0 0 2 0;
#X connect 1 0 31 0;
#X connect 2 0 1 0;
#X connect 3 0 2 1;
#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;
#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;
#X restore 13 120 pd voice;
#X obj 13 18 inlet;
#X obj 13 66 pack f f f;
#X obj 13 169 +~;
137
#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
138
-1 -1 7600 1;
Roman Haefeli's avatar
Roman Haefeli committed
139
140
141
142
143
#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
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
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
#N canvas 0 99 482 490 voice 0;
#X obj 41 288 osc~ 440;
#X obj 41 428 expr~ tanh($v1);
#X obj 40 402 *~;
#X obj 158 378 dbtorms~;
#X obj 158 353 vline~;
#X obj 157 176 pack f f;
#X obj 158 201 route 1 0;
#X obj 158 232 t a a;
#X obj 203 255 - 10;
#X obj 158 280 pack f f;
#X msg 158 308 \$1 5 0 \, \$2 30 10;
#X obj 52 311 osc~ 880.5;
#X obj 52 334 *~ 0.5;
#X obj 288 264 - 30;
#X msg 288 317 \$1 10 0 \, 0 2000 50;
#X obj 41 191 mtof;
#X obj 41 214 t a a;
#X obj 68 236 * 2;
#X obj 68 259 + 0.5;
#X obj 389 187 t a a;
#X obj 389 210 *;
#X obj 389 164 / 100;
#X obj 389 233 t a a;
#X obj 389 256 *;
#X obj 389 279 rmstodb;
#X obj 41 31 inlet;
#X obj 41 60 unpack f f;
#X obj 157 96 moses 1;
#X obj 196 122 t b a;
#X msg 196 145 1;
#X msg 157 126 0;
#X obj 41 451 outlet~;
#X connect 0 0 2 0;
#X connect 1 0 31 0;
#X connect 2 0 1 0;
#X connect 3 0 2 1;
#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;
#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;
#X restore 73 120 pd voice;
#N canvas 0 99 482 490 voice 0;
#X obj 41 288 osc~ 440;
#X obj 41 428 expr~ tanh($v1);
#X obj 40 402 *~;
#X obj 158 378 dbtorms~;
#X obj 158 353 vline~;
#X obj 157 176 pack f f;
#X obj 158 201 route 1 0;
#X obj 158 232 t a a;
#X obj 203 255 - 10;
#X obj 158 280 pack f f;
#X msg 158 308 \$1 5 0 \, \$2 30 10;
#X obj 52 311 osc~ 880.5;
#X obj 52 334 *~ 0.5;
#X obj 288 264 - 30;
#X msg 288 317 \$1 10 0 \, 0 2000 50;
#X obj 41 191 mtof;
#X obj 41 214 t a a;
#X obj 68 236 * 2;
#X obj 68 259 + 0.5;
#X obj 389 187 t a a;
#X obj 389 210 *;
#X obj 389 164 / 100;
#X obj 389 233 t a a;
#X obj 389 256 *;
#X obj 389 279 rmstodb;
#X obj 41 31 inlet;
#X obj 41 60 unpack f f;
#X obj 157 96 moses 1;
#X obj 196 122 t b a;
#X msg 196 145 1;
#X msg 157 126 0;
#X obj 41 451 outlet~;
#X connect 0 0 2 0;
#X connect 1 0 31 0;
#X connect 2 0 1 0;
#X connect 3 0 2 1;
#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;
#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;
#X restore 133 120 pd voice;
#N canvas 0 99 482 490 voice 0;
#X obj 41 288 osc~ 440;
#X obj 41 428 expr~ tanh($v1);
#X obj 40 402 *~;
#X obj 158 378 dbtorms~;
#X obj 158 353 vline~;
#X obj 157 176 pack f f;
#X obj 158 201 route 1 0;
#X obj 158 232 t a a;
#X obj 203 255 - 10;
#X obj 158 280 pack f f;
#X msg 158 308 \$1 5 0 \, \$2 30 10;
#X obj 52 311 osc~ 880.5;
#X obj 52 334 *~ 0.5;
#X obj 288 264 - 30;
#X msg 288 317 \$1 10 0 \, 0 2000 50;
#X obj 41 191 mtof;
#X obj 41 214 t a a;
#X obj 68 236 * 2;
#X obj 68 259 + 0.5;
#X obj 389 187 t a a;
#X obj 389 210 *;
#X obj 389 164 / 100;
#X obj 389 233 t a a;
#X obj 389 256 *;
#X obj 389 279 rmstodb;
#X obj 41 31 inlet;
#X obj 41 60 unpack f f;
#X obj 157 96 moses 1;
#X obj 196 122 t b a;
#X msg 196 145 1;
#X msg 157 126 0;
#X obj 41 451 outlet~;
#X connect 0 0 2 0;
#X connect 1 0 31 0;
#X connect 2 0 1 0;
#X connect 3 0 2 1;
#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;
#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;
#X restore 193 120 pd voice;
#N canvas 0 99 482 490 voice 0;
#X obj 41 288 osc~ 440;
#X obj 41 428 expr~ tanh($v1);
#X obj 40 402 *~;
#X obj 158 378 dbtorms~;
#X obj 158 353 vline~;
#X obj 157 176 pack f f;
#X obj 158 201 route 1 0;
#X obj 158 232 t a a;
#X obj 203 255 - 10;
#X obj 158 280 pack f f;
#X msg 158 308 \$1 5 0 \, \$2 30 10;
#X obj 52 311 osc~ 880.5;
#X obj 52 334 *~ 0.5;
#X obj 288 264 - 30;
#X msg 288 317 \$1 10 0 \, 0 2000 50;
#X obj 41 191 mtof;
#X obj 41 214 t a a;
#X obj 68 236 * 2;
#X obj 68 259 + 0.5;
#X obj 389 187 t a a;
#X obj 389 210 *;
#X obj 389 164 / 100;
#X obj 389 233 t a a;
#X obj 389 256 *;
#X obj 389 279 rmstodb;
#X obj 41 31 inlet;
#X obj 41 60 unpack f f;
#X obj 157 96 moses 1;
#X obj 196 122 t b a;
#X msg 196 145 1;
#X msg 157 126 0;
#X obj 41 451 outlet~;
#X connect 0 0 2 0;
#X connect 1 0 31 0;
#X connect 2 0 1 0;
#X connect 3 0 2 1;
#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;
#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;
#X restore 253 120 pd voice;
#N canvas 0 99 482 490 voice 0;
#X obj 41 288 osc~ 440;
#X obj 41 428 expr~ tanh($v1);
#X obj 40 402 *~;
#X obj 158 378 dbtorms~;
#X obj 158 353 vline~;
#X obj 157 176 pack f f;
#X obj 158 201 route 1 0;
#X obj 158 232 t a a;
#X obj 203 255 - 10;
#X obj 158 280 pack f f;
#X msg 158 308 \$1 5 0 \, \$2 30 10;
#X obj 52 311 osc~ 880.5;
#X obj 52 334 *~ 0.5;
#X obj 288 264 - 30;
#X msg 288 317 \$1 10 0 \, 0 2000 50;
#X obj 41 191 mtof;
#X obj 41 214 t a a;
#X obj 68 236 * 2;
#X obj 68 259 + 0.5;
#X obj 389 187 t a a;
#X obj 389 210 *;
#X obj 389 164 / 100;
#X obj 389 233 t a a;
#X obj 389 256 *;
#X obj 389 279 rmstodb;
#X obj 41 31 inlet;
#X obj 41 60 unpack f f;
#X obj 157 96 moses 1;
#X obj 196 122 t b a;
#X msg 196 145 1;
#X msg 157 126 0;
#X obj 41 451 outlet~;
#X connect 0 0 2 0;
#X connect 1 0 31 0;
#X connect 2 0 1 0;
#X connect 3 0 2 1;
#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;
#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;
#X restore 313 120 pd voice;
Roman Haefeli's avatar
Roman Haefeli committed
509
#X obj 58 271 *;
Roman Haefeli's avatar
Roman Haefeli committed
510
511
#X obj 13 89 route 1 2 3 4 5 6, f 61;
#X obj 13 43 poly 6 1, f 10;
512
#X obj 135 220 tgl 15 0 \$0.bli \$0.bla empty 17 7 0 10 -261682 -1
Roman Haefeli's avatar
Roman Haefeli committed
513
-1 1 1;
Roman Haefeli's avatar
Roman Haefeli committed
514
515
#X msg 147 261 dsp \$1;
#X obj 147 284 s pd;
Roman Haefeli's avatar
Roman Haefeli committed
516
#X obj 52 348 *~;
Roman Haefeli's avatar
Roman Haefeli committed
517
#X connect 0 0 3 0;
Roman Haefeli's avatar
Roman Haefeli committed
518
519
#X connect 1 0 17 0;
#X connect 2 0 16 0;
Roman Haefeli's avatar
Roman Haefeli committed
520
#X connect 3 0 8 0;
Roman Haefeli's avatar
Roman Haefeli committed
521
#X connect 3 0 21 0;
Roman Haefeli's avatar
Roman Haefeli committed
522
523
524
525
526
#X connect 4 0 5 0;
#X connect 5 0 15 0;
#X connect 5 1 15 1;
#X connect 6 0 7 0;
#X connect 7 0 8 1;
Roman Haefeli's avatar
Roman Haefeli committed
527
#X connect 7 0 21 1;
Roman Haefeli's avatar
Roman Haefeli committed
528
529
530
531
532
533
534
#X connect 8 0 9 0;
#X connect 10 0 3 0;
#X connect 11 0 3 0;
#X connect 12 0 3 1;
#X connect 13 0 3 1;
#X connect 14 0 3 1;
#X connect 15 0 6 0;
Roman Haefeli's avatar
Roman Haefeli committed
535
536
537
538
539
540
541
542
543
544
545
546
#X connect 16 0 0 0;
#X connect 16 1 10 0;
#X connect 16 2 11 0;
#X connect 16 3 12 0;
#X connect 16 4 13 0;
#X connect 16 5 14 0;
#X connect 17 0 2 0;
#X connect 17 1 2 1;
#X connect 17 2 2 2;
#X connect 18 0 19 0;
#X connect 19 0 20 0;
#X connect 21 0 9 1;
Roman Haefeli's avatar
Roman Haefeli committed
547
548
#X coords 0 -1 1 1 120 35 1 30 200;
#X restore 248 278 pd synth;
549
550
551
552
#X obj 20 268 s \$0.from;
#X obj 19 339 r \$0.from;
#X obj 20 181 r \$0.to;
#X obj 71 181 r \$0.from;
Roman Haefeli's avatar
Roman Haefeli committed
553
#N canvas 170 116 645 348 note.manipulation 0;
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
#X obj 18 190 s \$0.to;
#X msg 78 38 note create 4 65 80 12 0;
#X text 77 14 NOTE MANIPULATION;
#X msg 78 68 note change duration 4 65 16;
#X msg 78 98 note change velocity 4 65 120;
#X msg 78 128 note change gid 4 65 1;
#X text 279 38 create a note with [step \, pitch \, velocity \, duration
\, gid];
#X text 279 68 change a note's duration [step \, pitch \, duration]
;
#X text 279 98 chage a note's velocity [step \, pitch \, velocity]
;
#X text 279 128 change a note's group [step \, pitch \, gid];
#X text 279 158 delete a note [step \, pitch];
#X msg 78 158 note delete 4 65;
Roman Haefeli's avatar
Roman Haefeli committed
569
570
571
572
573
574
575
#X text 42 228 step: denotes the temporal position of the note (0 -
inf);
#X text 42 248 pitch: refers to the MIDI pitch (0 - 127);
#X text 42 268 duration: period between note-on and note-off (1 - inf)
;
#X text 42 288 velocity: (1 -127) for note-on \, 0 for note-off;
#X text 42 308 gid: group id relevant for editing (0 -5);
576
577
578
579
580
#X connect 1 0 0 0;
#X connect 3 0 0 0;
#X connect 4 0 0 0;
#X connect 5 0 0 0;
#X connect 11 0 0 0;
Roman Haefeli's avatar
Roman Haefeli committed
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
#X restore 20 129 pd note.manipulation;
#N canvas 169 115 431 426 README 0;
#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
can be created and deletec \, velocity and duration can be changed
with mouse actions. Additionally \, notes can be organized in groups
and operations like cloning \, pitch- or time-shifting can be applied
to groups. unpunch has a configurable interface to make it suitable
for various time signatures and display resolutions. The complete state
can be dumped for later restoration and it integrates well in existing
state saving systems. It is designed for real-time synchronisation
(if needed) and can also be used in systems like netpd.;
#X text 18 224 The way it uses Pd's data structures comes with a few
quirks and not all graphic scalars are protected from accidental movement.
However \, the correct view can be restored at any time.;
#X text 18 288 The sequencer doesn't run its own clock \, but is meant
to be driven by an external clock in order to integrate it more easily
in already existing systems with their own master clock. This help
contains an example for a very simple clock.;
#X text 18 364 Report any bugs and feature request to the respective
github project.;
#X restore 20 39 pd README;
#N canvas 170 115 430 439 manual 1;
#X text 15 11 Display;
#X text 15 21 -------;
#X text 15 121 Clock;
#X text 15 131 -----;
#X text 15 251 Editing;
#X text 15 261 -------;
#X text 14 150 For most flexible use \, [unpunch] doesn't have an internal
clock \, but is driven by an external clock sent to its right inlet.
The most simple clock is a counter counting upwards in regular intervals.
Loops are played by inserting a modulo into the counter. Note that
all active notes are muted when a jump in the clock occurs in order
to avoid hanging notes.;
#X text 15 40 [unpunch] draws its graphical interface to a canvas whose
name is specified as first argument to [unpunch] and which can be an
another patch \, abstraction \, or subpatch. In any case \, the canvas
should be empty as it will be cleared during redraws.;
#X text 14 280 Notes are created by clicking on the grid and are deleted
by double-clicking them. The values in the top section define the default
properties for newly created notes and include duration \, velocity
and gid (group id). The duration of notes is changed by dragging the
right end of a note horizontally. The grey switch on the right selects
which property is displayed numerically on each note. Changig the numbers
is an alternative way to edit notes. The grey bar above each default
value can be toggled between red and grey. If red \, the default value
is applied immediately when clicking a note.;
#X restore 20 69 pd manual;
#X text 404 254 arg1: name of canvas to draw interface;
#X text 391 284 inlet0: editor commands and configuration;
#X text 391 304 inlet1: sequencer input (clock);
#X text 386 334 outlet0: generated edit commands (mouse actions);
#X text 386 354 outlet1: notes ([pitch \, velocity] tuples);
#N canvas 170 115 628 440 interface.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 text 229 259 switch display to page with given number (starting
at 0) [implies a redraw of display];
#X msg 78 259 page 3;
#X msg 78 109 set stepsperpage 64;
#X msg 78 139 set pitchrange 48;
#X msg 78 49 set stepviswidth 15;
#X msg 78 79 set stepvisheight 14;
#X msg 78 169 set griddivision 3;
#X msg 78 199 set gridsubdivision 3;
#X text 78 21 INTERFACE CONFIGURATION;
#X connect 0 0 1 0;
#X connect 10 0 1 0;
#X connect 11 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 connect 16 0 1 0;
#X restore 20 99 pd interface.configuration;
#X obj 2 2 cnv 15 700 24 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 12 5 unpuch - a configurable matrix sequencer;
672
673
#X connect 0 0 23 0;
#X connect 0 1 19 0;
Roman Haefeli's avatar
Roman Haefeli committed
674
#X connect 0 1 22 0;
675
676
#X connect 3 0 2 0;
#X connect 4 0 3 0;
677
678
679
680
681
682
683
684
685
686
687
688
#X connect 7 0 17 0;
#X connect 8 0 7 1;
#X connect 10 0 2 0;
#X connect 11 0 4 0;
#X connect 13 0 14 0;
#X connect 14 0 0 1;
#X connect 15 0 13 0;
#X connect 19 0 18 0;
#X connect 20 0 19 1;
#X connect 24 0 7 0;
#X connect 25 0 0 0;
#X connect 26 0 0 0;