w(i) = a sin(2πfi / s + ϕ) + c
...you'll burn through 2^32 samples in three hours, six minutes, twenty-five seconds. This is uncomfortably close to reasonable.
So I fixed it - almost. Now we use a UINT64 for the sample offset.
Well, it turns out that fixing that bug uncovered another bug. Exercise... what is the bug?
Read More...