Author Topic: Direct digital synthesis using Atmel AVR  (Read 3861 times)

egasimus

Direct digital synthesis using Atmel AVR
« on: November 01, 2011, 11:10:29 AM »
Is it possible to have an 8-bit Atmel uC output 4 frequencies, two in the audio range (15-5000Hz), and two sub-sonic (0.1-10Hz)? This has been bothering me for a couple of days - do you think an ATtiny clocked at 20MHz has enough power to replace two VCOs and two LFOs in a synthesizer? I made some calculations, which led me nowhere, but the idea isn't ready to leave my mind and head for oblivion just yet. I've seen this done with one VCO (link, link - second example goes into hundreds of kHz!), but both cases use 4 pins of the MCU as a DAC, and I'd prefer using PWM.

So what do you think of my idea? Is it feasible?

wavley

Re: Direct digital synthesis using Atmel AVR
« Reply #1 on: November 01, 2011, 01:08:20 PM »
New and exciting innovations in current technology!

Bone is in the fingers.

EccoHollow Art & Sound

eccohollow.bandcamp.com

egasimus

Re: Direct digital synthesis using Atmel AVR
« Reply #2 on: November 01, 2011, 02:38:42 PM »
Awesome stuff! And only at 16MHz :o Many thanks! :)

nexekho

Re: Direct digital synthesis using Atmel AVR
« Reply #3 on: November 01, 2011, 07:56:51 PM »
It's quite surprising what you can get done in 16mHz when you aren't dribbling cycles away into drivers and APIs.
I made the transistor angry.

egasimus

Re: Direct digital synthesis using Atmel AVR
« Reply #4 on: November 02, 2011, 03:13:38 AM »
You're right. I was amazed that it's 16MHz as opposed to 20 or 24. My calculations led me to think even 32MHz could be too slow, but I just saw they were incorrect. Bah. I'm an ass.