[sdiy] Approximating sine with plain integer math
John Ames
commodorejohn at gmail.com
Thu Apr 7 21:27:02 CEST 2016
Hm. Yes, that is the goal. I'm just not sure I understand what "ugly"
is here - are we talking aliasing noise, or just an unpleasant amount
of high-frequency components? Either way, it's something I have to
think you'd address outside of the oscillator proper, with some kind
of filtering, which is also going to be involved in the softsynth
total...
Maybe this is just something I'm not understanding due to being a
programmer with an interest in synthesis rather than a signal analyst
with a knowledge of programming?
On 4/7/16, Olivier Gillet <ol.gillet at gmail.com> wrote:
>>
>> As for bandlimiting the input...I guess I'm not even sure why you'd do
>> that?
>
>
> I thought your goal was to design an audio oscillator with a sawtooth
> waveform, and then to get the sine waveform "for free" just by manipulating
> your sawtooth signal.
>
> Above a few hundred Hertz a naive sawtooth without band-limiting starts
> sounding ugly...
>
More information about the Synth-diy
mailing list