Analyze.FFTSimple implementation of the FFT algorithm. For fastest implementations optimized libraries such as fftw are recommended.
val init : int -> tInitialize FFT for an analysis of 2^n samples.
val length : t -> intLength of the FFT buffer analysis in samples.
val complex_create : buffer -> int -> int -> Stdlib.Complex.t arraycomplex_create buf off len create a array of complex numbers by copying data from buf (the imaginary part is null).
val fft : t -> Stdlib.Complex.t array -> unitPerform an FFT analysis.
val band_freq : int -> t -> int -> floatFrequency associated to the k-th coefficient of an FFT.
module Window : sig ... endWindowing functions. Thses can be used to on complex buffers in order to improve the quality of the FFT, see http://en.wikipedia.org/wiki/Windowing_functions.