Go Down

Topic: DAC (Read 2892 times) previous topic - next topic

baum

Thanks...
I think I'll just use the sine (sin) wave approach. Also, is there a floating point PI constant that I can use with the sin() function?

jluciani

By building a wavetable you offload the computation to your PC.
I build the wavetable table using Perl with its builtin SIN function.
That way the uC only has to perform a lookup rather than
a calculation.


Some students at Georgia Tech used the code as a DDS example
for a synth project --
http://www.ece.gatech.edu/academic/courses/ece4007/10fall/ECE4007L01/dk4/index.html

(* jcl *)
www: http://www.wiblocks.com
twitter: http://twitter.com/wiblocks

Go Up