Mercurial > hg > qm-dsp
diff dsp/phasevocoder/PhaseVocoder.h @ 280:9c403afdd9e9
* Various fixes related to the bar estimator code
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Tue, 10 Feb 2009 16:37:11 +0000 |
parents | 49844bc8a895 |
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;