pyFDN.td.MatrixConvolver#
- class pyFDN.td.MatrixConvolver(coeffs)[source]#
Stateful matrix of FIR filters via streaming overlap-save FFT convolution. The FFT counterpart of
MatrixFIR: same(n_out, n_in, n_taps)coefficient layout, but built for long impulse responses (e.g. room RIRs) where time-domainlfilterwould be prohibitively slow. State persists acrossfilter()calls, so it works both whole-signal and block-by-block – including as the feedback path of aRecursion(the loudspeaker -> microphone room coupling of a reverberation enhancement system). Output equals the linear convolution to numerical precision.Methods
__init__(coeffs)filter(block)Filter one block and advance internal state.
process(signal, *[, squeeze])Filter a whole signal in one call, from the current state.
reset()Clear internal state (no-op for stateless operators).
Attributes
in_channelsout_channels