Generating a sine wave

This blog post has moved to

Comments (1)

  1. Aaron says:

    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.

Skip to main content