This repository has been archived by the owner on Aug 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
estudos_midi2.pd
442 lines (442 loc) · 11.2 KB
/
estudos_midi2.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
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
#N canvas 234 24 1003 644 10;
#X obj 206 -90 midiparse;
#X obj 206 -117 midiin;
#X obj 206 -61 unpack f f;
#X floatatom 206 -29 5 0 0 0 - - -;
#X floatatom 263 -32 5 0 0 0 - - -;
#X text 175 -45 pitch;
#X text 268 -46 velocity;
#X obj 206 -1 noteout 2;
#X text -55 493 obs: rosegarden não diferencia canais \, o teste funciona
com QSYNTH;
#X obj 576 153 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 576 82 t b b;
#X obj 576 -73 r nota;
#X obj 421 149 r nota;
#X obj 672 178 sinc-gera_dinamica;
#X obj 421 174 sinc-gera_melodico;
#X obj 576 -46 sinc-gera_ritmo;
#X obj 498 150 r reset;
#X obj 648 -73 r array_dur;
#X obj 672 150 r nota;
#X obj 781 137 r reset;
#X obj 794 91 s dur;
#X obj 890 305 s vel;
#X obj 537 304 s nota_sai;
#X obj 654 302 s pitch_sai;
#X obj 794 -70 r reset;
#X obj 726 147 r amp;
#N canvas 561 321 450 376 mudanças 0;
#X obj 63 25 inlet estabilidade;
#X msg 63 242 0;
#X msg 90 242 1;
#X msg 119 242 2;
#X floatatom 90 189 5 0 0 0 - - -;
#X obj 90 212 sel 0 1;
#X obj 119 324 outlet;
#X obj 119 296 spigot;
#X msg 148 242 3;
#X obj 90 146 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X text 186 22 (0 ou 1);
#X obj 63 93 sel 1;
#X obj 63 62 change;
#X obj 90 167 random 3;
#X obj 227 178 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X connect 0 0 12 0;
#X connect 1 0 7 0;
#X connect 2 0 7 0;
#X connect 3 0 7 0;
#X connect 4 0 5 0;
#X connect 5 0 2 0;
#X connect 5 1 3 0;
#X connect 5 2 8 0;
#X connect 7 0 6 0;
#X connect 8 0 7 0;
#X connect 9 0 13 0;
#X connect 11 0 1 0;
#X connect 11 1 9 0;
#X connect 12 0 11 0;
#X connect 13 0 4 0;
#X connect 14 0 7 1;
#X restore 721 -93 pd mudanças ritmicas;
#X obj 721 -121 r estabilidade;
#X obj 637 371 cnv 15 260 100 empty empty MIDI_out_geradores -50 12
0 14 -204786 -66577 0;
#X obj 727 413 play2;
#X floatatom 727 392 4 0 0 2 note - -;
#X floatatom 803 391 5 0 0 2 dur - -;
#X floatatom 765 391 4 0 0 2 vel - -;
#X msg 645 418 50 100 1000;
#X obj 645 446 unpack f f f;
#X obj 803 355 r dur;
#X obj 764 355 r vel;
#X obj 727 331 r nota_sai;
#X obj 880 343 loadbang;
#X floatatom 59 203 6 0 0 0 - - -;
#X floatatom -16 290 5 0 0 0 - - -;
#X floatatom 12 270 5 0 0 0 - - -;
#X floatatom 40 224 6 0 0 0 - - -;
#X floatatom 21 244 5 0 0 0 - - -;
#X obj -16 174 borax 0 0 0 0;
#X text 49 274 pitch;
#X text 57 252 velocity;
#X text 21 295 note-on count;
#X obj -16 107 notein;
#X obj 263 60 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 263 79 counter 8;
#X obj 263 102 sel 7;
#X obj 263 126 s reset;
#X obj 263 16 > 0;
#X obj 263 38 sel 1;
#X obj 365 118 s nota;
#X obj 416 118 s amp;
#X obj 365 -2 notein;
#X obj 365 25 stripnote;
#X floatatom 365 53 5 0 0 0 - - -;
#X floatatom 416 53 5 0 0 0 - - -;
#X obj 320 294 r nota;
#X obj 174 333 sinc-calc_ritmo;
#X obj 367 442 s array_dur;
#X obj 270 441 s estabilidade;
#X obj 391 329 sinc-dens_ritmica;
#X obj 391 412 s densidade;
#N canvas 508 153 307 439 grava 0;
#X obj 38 74 seq;
#X msg 145 -74 bang;
#X msg 159 26 record;
#X msg 161 -51 stop;
#X obj 145 -126 bng 15 250 50 0 empty empty empty 0 -6 0 10 -262144
-1 -1;
#X msg 217 27 stop record;
#X obj 38 -45 midiin;
#X msg 160 -23 pause;
#X msg 159 2 continue;
#X text 197 -121 loop;
#X text 192 -78 play;
#X text 165 56 recording;
#X obj 145 -98 spigot;
#X obj 178 -121 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1
0 1;
#X obj 38 120 midiparse;
#X obj 38 149 unpack f f;
#X floatatom 38 179 5 0 0 0 - - -;
#X floatatom 103 179 5 0 0 0 - - -;
#X text 37 195 pitch;
#X text 102 196 velocity;
#X obj 38 234 noteout 5;
#X msg 16 -92 read seq1.mid;
#X obj -11 235 outlet;
#X connect 0 0 14 0;
#X connect 0 1 4 0;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 3 0 0 0;
#X connect 4 0 12 0;
#X connect 5 0 0 0;
#X connect 6 0 0 0;
#X connect 7 0 0 0;
#X connect 8 0 0 0;
#X connect 12 0 1 0;
#X connect 13 0 12 1;
#X connect 14 0 15 0;
#X connect 14 0 22 0;
#X connect 15 0 16 0;
#X connect 15 1 17 0;
#X connect 16 0 20 0;
#X connect 17 0 20 1;
#X connect 21 0 0 0;
#X restore -19 -108 pd grava seq midi;
#N canvas 340 267 864 438 tabelas 0;
#X obj 39 28 r nota;
#X obj 250 32 r amp;
#X obj 462 39 r ioi;
#N canvas 0 0 450 300 (subpatch) 0;
#X array pitch 8 float 3;
#A 0 68 68 68 68 68 68 68 68;
#X coords 0 127 8 0 200 140 1;
#X restore 28 279 graph;
#N canvas 0 0 450 300 (subpatch) 0;
#X array amp 8 float 3;
#A 0 80 82 82 82 86 88 88 77;
#X coords 0 127 8 0 200 140 1;
#X restore 238 279 graph;
#N canvas 0 0 450 300 (subpatch) 0;
#X array ioi 8 float 3;
#A 0 510.667 554.667 576 554.667 553.333 554.667 534.667 554.667;
#X coords 0 4000 8 0 200 140 1;
#X restore 448 279 graph;
#X obj 39 135 tabwrite pitch;
#X obj 250 138 tabwrite amp;
#X obj 462 140 tabwrite ioi;
#X obj 120 112 counter 7;
#X obj 120 93 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 39 57 t f b;
#X obj 319 114 counter 7;
#X obj 319 95 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 250 62 t f b;
#X obj 531 114 counter 7;
#X obj 531 95 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 462 72 t f b;
#X floatatom 146 158 5 0 0 0 - - -;
#X floatatom 349 157 5 0 0 0 - - -;
#X floatatom 557 153 5 0 0 0 - - -;
#X obj 357 54 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X text 359 39 reset;
#X text 687 191 grava pitch \, amp e durações;
#X text 690 211 de 8 notas;
#X connect 0 0 11 0;
#X connect 1 0 14 0;
#X connect 2 0 17 0;
#X connect 9 0 6 1;
#X connect 9 0 18 0;
#X connect 10 0 9 0;
#X connect 11 0 6 0;
#X connect 11 1 10 0;
#X connect 12 0 7 1;
#X connect 12 0 19 0;
#X connect 13 0 12 0;
#X connect 14 0 7 0;
#X connect 14 1 13 0;
#X connect 15 0 8 1;
#X connect 15 0 20 0;
#X connect 16 0 15 0;
#X connect 17 0 8 0;
#X connect 17 1 16 0;
#X connect 21 0 9 3;
#X connect 21 0 12 3;
#X connect 21 0 15 3;
#X restore -21 -50 pd tabelas de gravacao;
#X obj 128 321 s ioi;
#N canvas 780 87 467 560 leitura 0;
#X obj 28 166 tabread pitch;
#X obj 124 104 counter 7;
#X obj 124 166 tabread amp;
#X obj 218 169 tabread ioi;
#X floatatom 124 132 5 0 0 0 - - -;
#X obj 124 82 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X floatatom 28 196 5 0 0 0 - - -;
#X floatatom 124 198 5 0 0 0 - - -;
#X floatatom 218 199 5 0 0 0 - - -;
#X obj 96 258 pack f f f;
#X obj 96 233 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 96 343 outlet;
#X obj 124 56 metro;
#X obj 124 30 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 124 6 inlet;
#X connect 0 0 6 0;
#X connect 1 0 4 0;
#X connect 2 0 7 0;
#X connect 3 0 8 0;
#X connect 4 0 0 0;
#X connect 4 0 2 0;
#X connect 4 0 3 0;
#X connect 5 0 1 0;
#X connect 6 0 9 0;
#X connect 7 0 9 1;
#X connect 7 0 10 0;
#X connect 8 0 9 2;
#X connect 8 0 10 0;
#X connect 8 0 12 1;
#X connect 9 0 11 0;
#X connect 10 0 9 0;
#X connect 12 0 5 0;
#X connect 13 0 12 0;
#X connect 14 0 13 0;
#X restore 111 140 pd leitura de tabelas;
#X obj 111 160 s lista;
#X msg 880 382 5;
#X obj 585 419 r lista;
#X floatatom 111 67 5 0 0 0 - - -;
#X obj 111 45 > 0;
#X obj 111 88 sel 1;
#X msg 111 110 0;
#X msg 138 113 1;
#X obj 111 22 spigot;
#X obj 144 -11 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X msg 73 140 0;
#X obj 128 300 change;
#X obj 365 95 spigot;
#X obj 398 74 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 416 95 spigot;
#X obj 449 74 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 128 278 spigot;
#X obj 161 257 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 384 -99 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 449 50 r tranca_atualiza;
#X obj 161 236 r tranca_atualiza;
#X obj 384 -75 s tranca_atualiza;
#X floatatom 229 454 5 0 0 0 - - -;
#N canvas 600 170 511 448 dialogo 0;
#X obj 128 96 sel 0;
#X obj 128 150 metro 10;
#X obj 128 173 counter;
#X floatatom 128 196 5 0 0 0 - - -;
#X msg 128 122 1;
#X msg 165 123 0;
#X obj 250 128 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 128 218 moses 55;
#X floatatom 128 239 5 0 0 0 - - -;
#X floatatom 173 239 5 0 0 0 - - -;
#X obj 128 261 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 172 262 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 172 307 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 172 329 counter;
#X floatatom 171 353 5 0 0 0 - - -;
#X obj 348 201 random 127;
#X obj 379 223 random 127;
#X obj 409 245 random 1500;
#X obj 318 294 play2;
#X msg 471 268 7;
#X obj 409 128 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 379 264 + 30;
#X obj 348 258 + 30;
#X obj 172 282 speedlim 150;
#X obj 71 62 unpack f f;
#X obj 71 33 spigot;
#X obj 71 7 inlet fluxo_midi;
#X obj 206 8 inlet on_off;
#X connect 0 0 4 0;
#X connect 0 1 5 0;
#X connect 0 1 6 0;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 7 0;
#X connect 4 0 1 0;
#X connect 5 0 1 0;
#X connect 6 0 2 3;
#X connect 6 0 13 2;
#X connect 7 0 8 0;
#X connect 7 1 9 0;
#X connect 8 0 10 0;
#X connect 9 0 11 0;
#X connect 11 0 23 0;
#X connect 12 0 13 0;
#X connect 13 0 14 0;
#X connect 14 0 20 0;
#X connect 15 0 22 0;
#X connect 16 0 21 0;
#X connect 17 0 18 3;
#X connect 20 0 15 0;
#X connect 20 0 16 0;
#X connect 20 0 17 0;
#X connect 20 0 19 0;
#X connect 21 0 18 2;
#X connect 22 0 18 1;
#X connect 23 0 12 0;
#X connect 24 1 0 0;
#X connect 25 0 24 0;
#X connect 26 0 25 0;
#X connect 27 0 25 1;
#X connect 27 0 1 0;
#X restore -19 -77 pd dialogo random;
#X obj 104 -102 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1
0 1;
#X obj 270 193 pitch;
#X connect 0 0 2 0;
#X connect 1 0 0 0;
#X connect 2 0 3 0;
#X connect 2 1 4 0;
#X connect 3 0 7 0;
#X connect 4 0 7 1;
#X connect 4 0 53 0;
#X connect 4 0 79 0;
#X connect 9 0 14 2;
#X connect 10 0 9 0;
#X connect 10 1 13 3;
#X connect 11 0 15 0;
#X connect 12 0 14 0;
#X connect 13 2 21 0;
#X connect 14 1 22 0;
#X connect 14 2 23 0;
#X connect 15 0 10 0;
#X connect 15 1 20 0;
#X connect 16 0 14 1;
#X connect 17 0 15 1;
#X connect 18 0 13 0;
#X connect 19 0 13 2;
#X connect 24 0 15 3;
#X connect 25 0 13 1;
#X connect 26 0 15 2;
#X connect 27 0 26 0;
#X connect 30 0 29 1;
#X connect 31 0 29 3;
#X connect 32 0 29 2;
#X connect 33 0 34 0;
#X connect 34 0 30 0;
#X connect 34 1 32 0;
#X connect 34 2 31 0;
#X connect 35 0 31 0;
#X connect 36 0 32 0;
#X connect 37 0 30 0;
#X connect 38 0 72 0;
#X connect 39 0 87 0;
#X connect 44 0 40 0;
#X connect 44 3 41 0;
#X connect 44 4 43 0;
#X connect 44 6 42 0;
#X connect 44 8 39 0;
#X connect 48 0 44 0;
#X connect 48 1 44 1;
#X connect 49 0 50 0;
#X connect 50 0 51 0;
#X connect 51 0 52 0;
#X connect 53 0 54 0;
#X connect 54 0 49 0;
#X connect 57 0 58 0;
#X connect 57 1 58 1;
#X connect 58 0 59 0;
#X connect 58 1 60 0;
#X connect 59 0 83 0;
#X connect 60 0 85 0;
#X connect 61 0 62 0;
#X connect 61 0 65 0;
#X connect 62 1 64 0;
#X connect 62 1 93 0;
#X connect 62 2 63 0;
#X connect 65 0 66 0;
#X connect 67 0 94 0;
#X connect 70 0 71 0;
#X connect 73 0 34 0;
#X connect 74 0 76 0;
#X connect 75 0 74 0;
#X connect 76 0 77 0;
#X connect 76 1 78 0;
#X connect 77 0 70 0;
#X connect 78 0 70 0;
#X connect 79 0 75 0;
#X connect 80 0 79 1;
#X connect 80 0 77 0;
#X connect 81 0 44 1;
#X connect 82 0 69 0;
#X connect 83 0 55 0;
#X connect 84 0 83 1;
#X connect 85 0 56 0;
#X connect 86 0 85 1;
#X connect 87 0 82 0;
#X connect 88 0 87 1;
#X connect 89 0 92 0;
#X connect 90 0 84 0;
#X connect 90 0 86 0;
#X connect 91 0 88 0;
#X connect 95 0 94 1;