Taking nigel nice tutorial: https://www.earlevel.com/main/2013/03/0 ... avetables/
How would you change the second harmonic (for example) by 90°?
Tried this:
Code: Select all
int secHarm = 2
freqWaveIm[secHarm] = M_PI;
freqWaveIm[tableLen - secHarm] = -freqWaveIm[secHarm];
Where I'm wrong? Isn't pi in second and mirror index in the im array?
Cheers