DIYstompboxes.com

DIY Stompboxes => Digital & DSP => Topic started by: tca on January 25, 2013, 05:51:29 AM

Title: Arduino Realtime Audio Processing: can it be done?
Post by: tca on January 25, 2013, 05:51:29 AM
Hi, I guess the title says it all. Can it be done? I've been searching for this but only found this: http://interface.khm.de/index.php/lab/experiments/arduino-realtime-audio-processing/

Thanks.
Title: Re: Arduino Realtime Audio Processing: can it be done?
Post by: SISKO on January 25, 2013, 06:42:57 AM
This may be of your interest http://www.diystompboxes.com/smfforum/index.php?topic=100880.0 There a tremolo on the links also
Title: Re: Arduino Realtime Audio Processing: can it be done?
Post by: harmless on January 25, 2013, 02:05:44 PM
I built a pretty simple basic harness that was a bit more fancy than that interface.khm.de link.  See here http://www.diystompboxes.com/smfforum/index.php?topic=96200.msg835378

It sounded ok on my breakboard, though there was some whine.  It's super easy to make delays, tremolos, bit crushers, and sample rate reducers.  Beyond that you start to run into the limits of what you can calc between samples.  Then it becomes a balancing act between algorithmic complexity and sample rate/depth.  Ie., if you sample at 20kHz instead of 44kHz and take 8 bits instead of the full 10(?) the ADC will give you, that frees up cpu cycles (and memory) to do fancier things.