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§
- FirDesign
Config - Configuration for FIR filter generation
Enums§
- FirPhase
- Phase type for FIR generation
- Window
Type - 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)