Update of /cvsroot/audacity/audacity-src/src In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv2754
Modified Files: FFT.cpp Log Message: Fix the FFT function to return the sign of the imaginary part according to the standard definition of a DFT (it was previously return the complex conjugate of what one would expect) This fixes the bug I introduced into the equalization effect Index: FFT.cpp =================================================================== RCS file: /cvsroot/audacity/audacity-src/src/FFT.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- FFT.cpp 3 Dec 2007 03:46:20 -0000 1.10 +++ FFT.cpp 25 Jun 2009 01:24:07 -0000 1.11 @@ -149,7 +149,7 @@ if (!gFFTBitTable) InitFFT(); - if (InverseTransform) + if (!InverseTransform) angle_numerator = -angle_numerator; NumBits = NumberOfBitsNeeded(NumSamples); ------------------------------------------------------------------------------ _______________________________________________ Audacity-cvs mailing list Audacity-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/audacity-cvs