50#ifndef __afSTFTlib_INTERNAL_INCLUDED__
51#define __afSTFTlib_INTERNAL_INCLUDED__
63#define AFSTFT_USE_SAF_UTILITIES
64#ifdef AFSTFT_USE_SAF_UTILITIES
74#define COEFF1 0.031273141818515176604f
75#define COEFF2 0.28127313041521179171f
106 float *fftProcessFrameTD;
108#ifdef AFSTFT_USE_SAF_UTILITIES
110 float_complex *fftProcessFrameFD;
111 float* tempHopBuffer;
116 float *fftProcessFrameFD;
134 float hybridCoeffs[3];
170 int new_outChannels);
void afSTFTlib_channelChange(void *handle, int new_inChannels, int new_outChannels)
Re-allocates memory to support a change in the number of input/output channels.
void afSTFTlib_clearBuffers(void *handle)
Flushes time-domain buffers with zeros.
void afHybridForward(void *handle, complexVector *FD)
Forward hybrid-filtering transform.
void afHybridInverse(void *handle, complexVector *FD)
Inverse hybrid-filtering transform.
void afHybridInit(void **handle, int hopSize, int inChannels, int outChannels)
Creates and initialises an instance of the afHybrid filtering structure.
void afSTFTlib_forward(void *handle, float **inTD, complexVector *outFD)
Applies the forward afSTFT transform.
void afSTFTlib_inverse(void *handle, complexVector *inFD, float **outTD)
Applies the backward afSTFT transform.
void afSTFTlib_free(void *handle)
Destroys an instance of afSTFTlib.
void afSTFTlib_init(void **handle, int hopSize, int inChannels, int outChannels, int LDmode, int hybridMode)
Initialises an instance of afSTFTlib [1].
void afHybridFree(void *handle)
Frees an instnce of the afHybrid filtering structure.
Include header for SAF externals.
Main header for the utilities module (SAF_UTILITIES_MODULE)
Data structure for the hybrid filtering employed by afSTFTlib.
Main data structure for afSTFTlib.
Complex data type used by afSTFTlib.