18 static constexpr bool DIRECTION_FORWARD =
true;
19 static constexpr bool DIRECTION_BACKWARD =
false;
110 static void ReverseBits(
ComplexBuffer& complexBuffer,
size_t fftSize);
111 static void FFT_Internal(
ComplexBuffer& complexBuffer,
size_t fftSize,
bool direction);
#define HEPH_API
Definition HephShared.h:132
buffer for storing complex numbers.
Definition ComplexBuffer.h:22
buffer for storing doubles.
Definition DoubleBuffer.h:14
class for calculating FFT and Convolution.
Definition Fourier.h:16
static size_t CalculateFFTSize(size_t bufferSize)
static double BinFrequencyToIndex(size_t sampleRate, size_t fftSize, double frequency)
static void IFFT(DoubleBuffer &doubleBuffer, ComplexBuffer &complexBuffer)
static DoubleBuffer Convolve(const DoubleBuffer &source, const DoubleBuffer &kernel, ConvolutionMode convolutionMode)
static ComplexBuffer FFT(const DoubleBuffer &doubleBuffer, size_t fftSize)
static void FFT(ComplexBuffer &complexBuffer)
static ComplexBuffer FFT(const DoubleBuffer &doubleBuffer)
static double IndexToBinFrequency(size_t sampleRate, size_t fftSize, size_t index)
static DoubleBuffer Convolve(const DoubleBuffer &source, const DoubleBuffer &kernel)
static void FFT(ComplexBuffer &complexBuffer, size_t fftSize)
static void IFFT(ComplexBuffer &complexBuffer, bool scale)