[sdiy] (OT)help processing realtime audio on Arduino?

Noah Vawter nvawter at media.mit.edu
Wed Feb 2 23:27:38 CET 2011


Yes but gordon is an expert :)  seriously, I've heard his Amen  
sampling routine
and it rivals mine :)

I spend a lot of time optimizing 8-bit sound routines on Atmega32s  
(essentially same as Arduino) just because of momentum and  
familiarity.  i'm especially interested in filter algs.  I've got an  
8/16-bit SVF working in some ranges, and an 8/16bit MoogFilter.c
working in my desktop, but still debugging on actual hardware.  I'm  
working at 16MHz and usually 22KHz sample rate.

I've recently tried a different tactic on the 8-bit platform for the  
filter: instead of synthesizing a PWM waveform in time domain then  
filtering it, I use decaying magic circles to synthesize dual IIRs!   
works pretty good actually in my digital monotron clone.

But I think I'll be moving to STM32 soonish...  they totally rival the  
ATMega family in price/performance.  It's just the lack of DIP that is  
an obstacle for use with my students.

-Noah


On Feb 2, 2011, at 5:07 PM, Gordon JC Pearce wrote:

> On Tue, 2011-02-01 at 13:37 -0800, Olav Martin Kvern wrote:
>
>> I think it's safe to say that Arduino is not a great choice for  
>> digital
>> audio processing--unless you're looking for "chiptunes" sounds. It's
>> fine for making MIDI controllers, on the other hand.
>
> I've done single-voice four-op FM on an Arduino, and two-op plus  
> sample
> playback albeit with not a lot of time to spare...
>
> Gordon MM0YEQ
>
> _______________________________________________
> Synth-diy mailing list
> Synth-diy at dropmix.xs4all.nl
> http://dropmix.xs4all.nl/mailman/listinfo/synth-diy




More information about the Synth-diy mailing list