comparison examples/08-PureData/hello-midi/_main.pd @ 531:ddb86944e138 prerelease

cleaned up all pd examples (and removed some). added polysynth and vangelisiser to instruments examples
author chnrx <chris.heinrichs@gmail.com>
date Thu, 23 Jun 2016 20:40:05 +0100
parents 8fcfbfb32aa0
children 8f8809c77dda
comparison
equal deleted inserted replaced
525:1ca196e35105 531:ddb86944e138
1 #N canvas 85 58 1280 685 10; 1 #N canvas 906 587 651 756 10;
2 #X obj 19 396 dac~ 1 2; 2 #X obj 45 706 dac~ 1 2;
3 #X text 39 1 Hello world!; 3 #X obj 45 663 *~ 0.1;
4 #X text 37 11 ============; 4 #X obj 45 262 mtof;
5 #X obj 31 353 *~ 0.1; 5 #X obj 45 300 phasor~ 440;
6 #X text 202 448 ---------------------------------; 6 #X obj 201 303 * 20;
7 #X text 202 438 @krighxz / BELA / heavy / 12/2015; 7 #X obj 201 326 + 200;
8 #X text 226 457 beaglert.cc / enzienaudio.com; 8 #X obj 201 446 * 10;
9 #X obj 39 132 mtof; 9 #X obj 45 530 hip~;
10 #X floatatom 79 59 5 0 0 0 - - -, f 5; 10 #X obj 45 552 hip~;
11 #X floatatom 122 59 5 0 0 0 - - -, f 5; 11 #X obj 45 574 hip~;
12 #X floatatom 41 63 5 0 0 0 - - -, f 5; 12 #X obj 45 595 hip~;
13 #X obj 26 170 phasor~ 440; 13 #X obj 201 373 lop~ 4;
14 #X text 100 363 (the harsh sound of success); 14 #X obj 201 513 line;
15 #X obj 260 83 * 20; 15 #X obj 201 468 + 50;
16 #X obj 261 112 + 200; 16 #X msg 201 490 \$1 200;
17 #X obj 132 85 loadbang; 17 #X obj 45 404 vcf~ 4;
18 #X msg 131 111 1000; 18 #X obj 45 202 mono;
19 #X obj 125 166 sig~; 19 #X obj 45 158 notein 0;
20 #X text 673 121 [pgmin]; 20 #X obj 201 280 ctlin 5 0;
21 #X obj 218 178 * 10; 21 #X obj 201 424 ctlin 6 0;
22 #X obj 30 250 hip~; 22 #X obj 201 350 sig~ 1000;
23 #X obj 26 275 hip~; 23 #X obj 45 322 *~ 2;
24 #X obj 20 302 hip~; 24 #X obj 45 344 -~ 1;
25 #X obj 19 323 hip~; 25 #X obj 78 641 * 0.1;
26 #X obj 87 192 lop~ 4; 26 #X text 274 423 <<< cc 6 controls high pass centre frequency;
27 #X obj 152 256 line; 27 #X text 274 280 <<< cc 5 controls resonant low pass centre frequency
28 #X obj 200 200 + 50; 28 ;
29 #X msg 170 227 \$1 200; 29 #X text 39 11 Hello midi!;
30 #X msg 93 114 0; 30 #X text 37 21 ===========;
31 #X msg 185 112 0; 31 #X text 108 203 <<< abstraction for monophonic voice stealing;
32 #X obj 29 224 vcf~ 4; 32 #X obj 66 233 s gate;
33 #X obj 70 333 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 33 #X obj 78 619 r gate;
34 1; 34 #X text 43 53 Here's a simple monophonic synthesiser that is controllable
35 #X obj 42 92 mono; 35 ;
36 #X obj 40 28 bela_notein 0; 36 #X text 43 66 with a midi controller. Note and control messages can
37 #X obj 260 60 bela_ctlin 5 0; 37 be;
38 #X obj 220 151 bela_ctlin 6 0; 38 #X text 43 80 obtained using the;
39 #X text 537 58 [ctlin]; 39 #X obj 159 80 notein;
40 #X text 332 27 [notein]; 40 #X text 213 80 and;
41 #X text 140 29 <== the bela equivalent of ==>; 41 #X obj 240 80 ctlin;
42 #X text 349 59 <== the bela equivalent of ==>; 42 #X text 292 80 objects.;
43 #X text 483 121 <== the bela equivalent of ==>; 43 #X text 43 104 Most midi devices should be compatible when plugged
44 #X obj 405 175 print pgmin; 44 into;
45 #X obj 408 121 bela_pgmin 0; 45 #X text 43 117 the BeagleBone's USB port.;
46 #X connect 3 0 0 1; 46 #X text 445 5 ............................;
47 #X connect 3 0 0 0; 47 #X text 445 15 . ____ ._____ _ .......___ .;
48 #X connect 7 0 11 0; 48 #X text 445 25 .| __ )| ____| |....../ _ |.;
49 #X connect 8 0 32 1; 49 #X text 445 45 .| |_) | |___| |___ / ___ |.;
50 #X connect 10 0 32 0; 50 #X text 445 55 .|____/|_____|_____/_/..._|.io;
51 #X connect 11 0 30 0; 51 #X text 445 65 ............................;
52 #X text 445 35 .| __ || __|.| |...../ _| |.;
53 #X connect 1 0 0 1;
54 #X connect 1 0 0 0;
55 #X connect 2 0 3 0;
56 #X connect 3 0 21 0;
57 #X connect 4 0 5 0;
58 #X connect 5 0 20 0;
59 #X connect 6 0 13 0;
60 #X connect 7 0 8 0;
61 #X connect 8 0 9 0;
62 #X connect 9 0 10 0;
63 #X connect 10 0 1 0;
64 #X connect 11 0 15 1;
65 #X connect 12 0 7 1;
66 #X connect 12 0 8 1;
67 #X connect 12 0 9 1;
68 #X connect 12 0 10 1;
52 #X connect 13 0 14 0; 69 #X connect 13 0 14 0;
53 #X connect 14 0 17 0; 70 #X connect 14 0 12 0;
54 #X connect 15 0 16 0; 71 #X connect 15 0 7 0;
55 #X connect 15 0 29 0; 72 #X connect 16 0 2 0;
56 #X connect 15 0 28 0; 73 #X connect 16 1 29 0;
57 #X connect 16 0 17 0; 74 #X connect 17 0 16 0;
58 #X connect 17 0 24 0; 75 #X connect 17 1 16 1;
59 #X connect 19 0 26 0; 76 #X connect 18 0 4 0;
60 #X connect 20 0 21 0; 77 #X connect 19 0 6 0;
78 #X connect 20 0 11 0;
61 #X connect 21 0 22 0; 79 #X connect 21 0 22 0;
62 #X connect 22 0 23 0; 80 #X connect 22 0 15 0;
63 #X connect 23 0 3 0; 81 #X connect 23 0 1 1;
64 #X connect 24 0 30 1; 82 #X connect 30 0 23 0;
65 #X connect 25 0 20 1;
66 #X connect 25 0 21 1;
67 #X connect 25 0 22 1;
68 #X connect 25 0 23 1;
69 #X connect 26 0 27 0;
70 #X connect 27 0 25 0;
71 #X connect 29 0 19 0;
72 #X connect 30 0 20 0;
73 #X connect 31 0 3 1;
74 #X connect 32 0 7 0;
75 #X connect 32 1 31 0;
76 #X connect 33 0 10 0;
77 #X connect 33 1 8 0;
78 #X connect 33 2 9 0;
79 #X connect 34 0 13 0;
80 #X connect 35 0 19 0;
81 #X connect 42 0 41 0;