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