chris@531: #N canvas 854 511 593 543 10; chris@531: #X obj 43 253 osc~ 440; chris@531: #X obj 43 306 dac~; chris@531: #X obj 43 274 *~; chris@531: #X text 36 419 ADC 3: Analog In 0; robert@464: #X text 34 41 Basic analog in (or 'theremin'); robert@464: #X text 34 51 ===============================; chris@531: #X text 35 353 ADC routing:; chris@531: #X text 35 361 ------------; chris@531: #X text 36 429 ADC 4: Analog In 1; chris@531: #X text 36 439 ADC 5: Analog In 2; chris@531: #X text 36 449 ADC 6: Analog In 3; chris@531: #X text 36 459 ADC 7: Analog In 4; chris@531: #X text 36 469 ADC 8: Analog In 5; chris@531: #X text 36 479 ADC 9: Analog In 6; chris@531: #X text 36 489 ADC 10: Analog In 7; chris@531: #X text 36 399 ADC 1: Audio In L; chris@531: #X text 36 409 ADC 2: Audio In R; chris@531: #X obj 43 232 *~ 880; chris@531: #X obj 43 189 adc~ 3 4; chris@531: #X text 101 231 << Analog In 0 controls frequency; chris@531: #X text 101 274 << Analog In 1 controls amplitude; chris@531: #X text 101 188 << Use first two analog ins; chris@531: #X text 37 74 In this example the first two analog inputs are; chris@531: #X text 37 87 used to control the frequency and amplitude of an; chris@531: #X text 37 100 oscillator.; chris@531: #X text 36 373 ADC channels 3-10 are used to address the analog inputs: chris@531: ; chris@531: #X text 385 32 ............................; chris@531: #X text 385 42 . ____ ._____ _ .......___ .; chris@531: #X text 385 52 .| __ )| ____| |....../ _ |.; chris@531: #X text 385 72 .| |_) | |___| |___ / ___ |.; chris@531: #X text 385 82 .|____/|_____|_____/_/..._|.io; chris@531: #X text 385 92 ............................; chris@531: #X text 385 62 .| __ || __|.| |...../ _| |.; chris@531: #X text 37 114 Note that analog inputs and outputs have a range between chris@531: ; chris@531: #X text 37 128 0 and 1 \, unlike regular audio signals (which have chris@531: a; chris@531: #X text 37 142 range between -1 and 1).; robert@464: #X connect 0 0 2 0; robert@464: #X connect 2 0 1 0; robert@464: #X connect 2 0 1 1; chris@531: #X connect 17 0 0 0; chris@531: #X connect 18 0 17 0; chris@531: #X connect 18 1 2 1;