Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.