[sdiy] PIC-based Digital Oscillator question

Tom Wiltshire tom at electricdruid.net
Fri Apr 22 15:32:00 CEST 2011


Hi Ian,

Have a look at the VCLFO code on my website:

http://www.electricdruid.net/index.php?page=projects.lfo9

It's a phase accumulator based oscillator, in this case at low frequencies not audio, but the principles the same.
There's a quirk in that I implemented simple phase distortion ("waveform distortion") so it uses different frequency increments for the first half of the waveform and the second half, but you can ignore that.

HTH,
Tom


On 21 Apr 2011, at 23:49, Ian Smith wrote:

> 
> Hey all,
> 
> I'm finally getting around to working on another synth after moving and getting a full-time job. I need oscillators. This project is basically an exercise in using what I have on hand. And what I have on hand is a pile of PIC microcontrollers. Now I'm fairly certain I can manage ramp, triangle, sine, and square waves in the Arduino environment and possibly C++, but the PIC assembly language is giving me some problems and my google-fu is failing me on finding examples of DCOs or NCOs or even a "for dummies" tutorial on the subject. I could use some help. A point in the right direction. Examples. even an ear for my eventual tide of stupid questions.
> 
> Thanks,
> 
> -Ian
> 		 	   		  
> _______________________________________________
> 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