1
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
6
Centre for Digital Music, Queen Mary, University of London.
7
This file 2005-2006 Christian Landone.
9
This program is free software; you can redistribute it and/or
10
modify it under the terms of the GNU General Public License as
11
published by the Free Software Foundation; either version 2 of the
12
License, or (at your option) any later version. See the file
13
COPYING included with this distribution for more information.
16
#ifndef PHASEVOCODER_H
17
#define PHASEVOCODER_H
24
PhaseVocoder( unsigned int size );
25
virtual ~PhaseVocoder();
27
void process( double* src, double* mag, double* theta);
30
void getPhase(unsigned int size, double *theta, double *real, double *imag);
31
// void coreFFT( unsigned int NumSamples, double *RealIn, double* ImagIn, double *RealOut, double *ImagOut);
32
void getMagnitude( unsigned int size, double* mag, double* real, double* imag);
33
void FFTShift( unsigned int size, double* src);