Module microdsp::common

source ·
Expand description

Common algorithms and utilities.

Structs

Provides fixed size windows extracted from a stream of arbitrarily sized input buffers. Supports downsampling and partially overlapping windows. Useful for implementing algorithms operating on consecutive windows of the same size.

Enums

Traits

DSP related [f32] extensions.

Functions

Performs point-wise multiplication of a buffer and a window function of a given type.
Computes the autocorrelation of a given buffer using time domain convolution.
Computes the autocorrelation of a given buffer using FFT.
Computes the length of the FFT needed to compute the autocorrelation for a given window size and lag count to avoid circular convolution effects.
Converts a frequency in Hz to a MIDI note number (with a fractional part).
Perform an in-place fast Fourier transform on real valued data. Input buffer length must be a power of 2.