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