[sdiy] Interesting article on top octave generators.
mskala at northcoastsynthesis.com
mskala at northcoastsynthesis.com
Mon Jan 6 02:54:47 CET 2025
On Mon, 6 Jan 2025, Tom Wiltshire wrote:
> For each extra harmonic sample value, you just add the phase on again,
> and then do another lookup to convert the phase to a sine wave.
This makes sense on a microcontroller where table lookups are cheap, but
if you're doing it on a larger computer, where arithmetic is cheap
compared to memory access, you may be better off looking up the phasor as
a complex number (cos + j sin) and then repeatedly multiplying that.
--
Matthew Skala
North Coast Synthesis Ltd.
More information about the Synth-diy
mailing list