Mercurial > hg > beaglert
view examples/08-PureData/basicAnalogIn/_main.pd @ 556:ce391098f321 prerelease tip
THIS PROJECT HAS MOVED TO https://github.com/BelaPlatform/bela
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Sat, 25 Jun 2016 20:21:00 +0100 |
parents | ddb86944e138 |
children |
line wrap: on
line source
#N canvas 854 511 593 543 10; #X obj 43 253 osc~ 440; #X obj 43 306 dac~; #X obj 43 274 *~; #X text 36 419 ADC 3: Analog In 0; #X text 34 41 Basic analog in (or 'theremin'); #X text 34 51 ===============================; #X text 35 353 ADC routing:; #X text 35 361 ------------; #X text 36 429 ADC 4: Analog In 1; #X text 36 439 ADC 5: Analog In 2; #X text 36 449 ADC 6: Analog In 3; #X text 36 459 ADC 7: Analog In 4; #X text 36 469 ADC 8: Analog In 5; #X text 36 479 ADC 9: Analog In 6; #X text 36 489 ADC 10: Analog In 7; #X text 36 399 ADC 1: Audio In L; #X text 36 409 ADC 2: Audio In R; #X obj 43 232 *~ 880; #X obj 43 189 adc~ 3 4; #X text 101 231 << Analog In 0 controls frequency; #X text 101 274 << Analog In 1 controls amplitude; #X text 101 188 << Use first two analog ins; #X text 37 74 In this example the first two analog inputs are; #X text 37 87 used to control the frequency and amplitude of an; #X text 37 100 oscillator.; #X text 36 373 ADC channels 3-10 are used to address the analog inputs: ; #X text 385 32 ............................; #X text 385 42 . ____ ._____ _ .......___ .; #X text 385 52 .| __ )| ____| |....../ _ |.; #X text 385 72 .| |_) | |___| |___ / ___ |.; #X text 385 82 .|____/|_____|_____/_/..._|.io; #X text 385 92 ............................; #X text 385 62 .| __ || __|.| |...../ _| |.; #X text 37 114 Note that analog inputs and outputs have a range between ; #X text 37 128 0 and 1 \, unlike regular audio signals (which have a; #X text 37 142 range between -1 and 1).; #X connect 0 0 2 0; #X connect 2 0 1 0; #X connect 2 0 1 1; #X connect 17 0 0 0; #X connect 18 0 17 0; #X connect 18 1 2 1;