FIR#

Finite impulse response (FIR) filter Stages allow the use of arbitrary filters with a finite number of taps.

class audio_dsp.stages.fir.FirDirect(coeffs_path, **kwargs)

A FIR filter implemented in the time domain. The input signal is convolved with the filter coefficients. The filter coefficients can only be set at compile time.

Parameters:
coeffs_pathPath

Path to a file containing the coefficients, in a format supported by np.loadtxt.

Attributes:
dsp_blockaudio_dsp.dsp.fir.fir_direct

The DSP block class; see FIR Direct for implementation details.

make_fir_direct(coeffs_path, Q_sig=27)

Update FIR configuration based on new parameters.

Parameters:
coeffs_pathPath

Path to a file containing the coefficients, in a format supported by np.loadtxt.

Control

The FirDirect Stage has no runtime controllable parameters.