[sdiy] Approximating sine with plain integer math

John Ames commodorejohn at gmail.com
Thu Apr 7 02:40:50 CEST 2016

On 4/6/16, John Ames <commodorejohn at gmail.com> wrote:
> 5.5. Reduce the magnitude by 1 (i.e. add 1 if it's positive, subtract
> 1 if it's negative.)
And I'm afraid my parenthetical aside makes it look as though I'm
saying exactly the opposite of what I intended, *duh.* I did not
explain that well at all. Disregard that bit entirely, the statement
about reducing the magnitude is correct. The C example also gives the
correct results.

More information about the Synth-diy mailing list