[sdiy] Approximating sine with plain integer math
commodorejohn at gmail.com
Thu Apr 7 22:22:09 CEST 2016
On 4/7/16, Olivier Gillet <ol.gillet at gmail.com> wrote:
> That was my point actually. If you try to emulate the architecture of an
> analog saw-core VCO in which the sawtooth signal is further processed by
> memory-less non-linearities to get the triangle and sine... You want all
> your waveforms, including the sawtooth, to be good. So your sawtooth will
> have to be band-limited, and the waveshaping will not work as planned.
> Or if you apply the waveshapers to the naive sawtooth, you get good
> results, but your naive sawtooth is useless as such...
Only you don't have to strictly stick to one or the other. You can
derive the quasi-sine from the naive sawtooth, then process the naive
sawtooth however you like in order to reduce the aliasing before
actually outputting it as a sawtooth. Unless I'm missing something?
More information about the Synth-diy