Mercurial > hg > qm-dsp
diff dsp/phasevocoder/PhaseVocoder.h @ 55:7fe29d8a7eaf
* Various fixes related to the bar estimator code
author | cannam |
---|---|
date | Tue, 10 Feb 2009 16:37:11 +0000 |
parents | d7116e3183f8 |
children | 6cb2b3cd5356 |
line wrap: on
line diff
--- a/dsp/phasevocoder/PhaseVocoder.h Tue Feb 10 12:52:43 2009 +0000 +++ b/dsp/phasevocoder/PhaseVocoder.h Tue Feb 10 16:37:11 2009 +0000 @@ -19,14 +19,13 @@ virtual ~PhaseVocoder(); void process( unsigned int size, double* src, double* mag, double* theta); - void FFTShift( unsigned int size, double* src); protected: void getPhase(unsigned int size, double *theta, double *real, double *imag); void coreFFT( unsigned int NumSamples, double *RealIn, double* ImagIn, double *RealOut, double *ImagOut); void getMagnitude( unsigned int size, double* mag, double* real, double* imag); + void FFTShift( unsigned int size, double* src); - double* shiftBuffer; double* imagOut; double* realOut;