fftea library

Classes

FFT
Performs FFTs (Fast Fourier Transforms) of a particular size.
STFT
Performs STFTs (Short-time Fourier Transforms).

Extensions

ComplexArray on Float64x2List
Extension methods for Float64x2List, representing a list of complex numbers.
Window on Float64List
Extension methods for Float64List, representing a windowing function.

Functions

circularConvolution(List<double> a, List<double> b, [int length = 0]) Float64List
Returns the circular convolution of real arrays a and b.
convolution(List<double> a, List<double> b) Float64List
Returns the linear convolution of real arrays a and b.
resample(List<double> input, int outputLength) Float64List
Resamples the input audio to the given outputLength.
resampleByRate(List<double> input, double inputSampleRate, double outputSampleRate) Float64List
Resamples the input audio from inputSampleRate to outputSampleRate.
resampleByRatio(List<double> input, double ratio) Float64List
Resamples the input audio by the given sampling ratio. If ratio > 1 the result will have more samples.