Freigeben über


Generating a sine wave

This blog post has moved to https://matthewvaneerde.wordpress.com/2008/01/08/generating-a-sine-wave/

Comments

  • Anonymous
    April 17, 2011
    I think a bug will show up because of the double representation of large numbers. A better implementation would be one that calculates additional phase given ifFrameOffset, and starts the counter (i) at 0.  If I'm understanding the post correctly, this should be superior.