Skip to main content

Crate autoeq_fir

Crate autoeq_fir 

Source
Expand description

FIR filter design and optimization

Provides functionality to generate FIR filters matching a target frequency response, with support for linear and minimum phase.

This module wraps the core FIR design functions from math_audio_iir_fir and adds convenience wrappers that work with the Curve type.

Structs§

FirDesignConfig
Configuration for FIR filter generation

Enums§

FirPhase
Phase type for FIR generation
WindowType
Window function types for FIR filter design

Functions§

generate_fir_from_response
Generate an FIR filter to match a target frequency response
generate_kirkeby_correction
Generate Kirkeby regularized FIR correction filter from Curve
generate_kirkeby_correction_raw
Generate Kirkeby regularized FIR correction filter
generate_kirkeby_correction_with_phase
Generate Kirkeby regularized FIR correction filter with optional excess phase correction
generate_kirkeby_correction_with_smoothing
Generate Kirkeby regularized FIR correction filter with optional excess phase correction and smoothing
resolve_target_db_on_measurement_grid
Resolve target SPL values onto the measurement frequency grid.
save_fir_to_wav
Save FIR coefficients to a WAV file (32-bit float mono)
save_fir_wav
Save FIR coefficients to a WAV file (32-bit float mono)