[sdiy] understanding direct AVR ADC...multiple channels

dan snazelle subjectivity at hotmail.com
Tue Mar 6 01:29:18 CET 2012


OK

based on everyones advice this weekend, I am going back to basics, getting sound in and out without using the Arduino AnalogRead and AnalogWrite functions.


the analogWrite I stopped using a long time ago in favor of a dacOutput routine connected to a Dac and a buffer (parallel 8 bit)

however, I have never been able to find any good articles that show how to sample with the ADC directly WHEN YOU HAVE FOUR INPUTS.

In other words, lets say I have two audio sources, two CV potentiometers.


I have never understood if I am supposed to take the ADC code and quadruple it? and if so, doesnt that mean that every step will have to wait for every other step? 

Will this STILL be quicker?

Also...advice...should I just ditch the upper 2 bits and deal directly with the 8 bit register of the ADC?

and should I use free running? or triggered?


There are only a few pages I can find that tread on this territory and none of them are SDIY oriented.


ANY HELP, links, code, etc book recommendations, etc would be much appreciated!

I have gotten ONE CHANNEL working


thanks




More information about the Synth-diy mailing list