additive synthesis of a sawtooth wave
Posted: Mon Dec 12, 2016 2:01 pm
Hi. I create the saw by the sum sine waves using the formula.
2.0f * sin(counter)
- sin(counter * 2.0f)
+ 2.0f / 3.0f * sin(3.0f * counter)
- 1.0f / 2.0f * sin(4.0f * counter)
+ 2.0f / 5.0f * sin(5.0f * counter)
- 1.0f / 3.0f * sin(6.0f * counter)
+ 2.0f / 7.0f * sin(7.0f * counter)
etc... formula here http://www.intmath.com/fourier-series/f ... applet.php
it's possible use only sum, create saw wave? dont use FFT and SUB?
2.0f * sin(counter)
- sin(counter * 2.0f)
+ 2.0f / 3.0f * sin(3.0f * counter)
- 1.0f / 2.0f * sin(4.0f * counter)
+ 2.0f / 5.0f * sin(5.0f * counter)
- 1.0f / 3.0f * sin(6.0f * counter)
+ 2.0f / 7.0f * sin(7.0f * counter)
etc... formula here http://www.intmath.com/fourier-series/f ... applet.php
it's possible use only sum, create saw wave? dont use FFT and SUB?