--- Nikolai Golovchenko wrote: > I may be inventing the wheel... Anyway, there was an > interesting idea in > Scenix application notes on how to generate sine > waveform not using table or > multiply, just addition. Basically, they generate It's fun to reinvent the wheel (except when it's on your nickel). > triangle waveform, then > integrate it and, vou la, something very similar to > sine is produced. Are you sure this is not the Goertzel algorithm? Scott has a page that discusses this algorithm. Also, here's a dtmf generator that uses Goertzel http://www.ti.com/sc/docs/psheets/abstract/apps/spra066.htm http://www.interstice.com/~sdattalo/technical/theory/sinewave.html But again, I think Eric Smith's solution is the best. > Is this the same as phase accumulators? No. Phase accumulators are really, really cool. I just don't know how to adequately explain them. A quick alta vista search produced: http://www.g4dvj.demon.co.uk/dds.htm > P.S. > Tracy, may I ask you what "dot lo" means? > > :-) I let that cat out of the bag when I'm ready. :) .lo ===== __________________________________________________ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com