Skip to content

filter.FirFilterWin.Interface.FilterSpec

Christian d'Heureuse edited this page Jun 6, 2026 · 2 revisions

dsp-collection / filter/FirFilterWin / FilterSpec

Interface: FilterSpec

Parameters for creating an FIR filter kernel.

The current implementation only supports LP filters yet.

Properties

normFirstMinFreq?

optional normFirstMinFreq?: number;

normFirstMinFreq is the normalized frequency of the first minimum of the filter transfer curve.
Formula: normFirstMinFreq = firstMinFrequency / sampleRate = 1 / waveLengthOfFirstMinimumInSamples


width?

optional width?: number;

Filter width in samples.
Either width or normFirstMinFreq must be specified.


windowFunctionId

windowFunctionId: string;

ID of the window function to be used.

See

WindowFunctions.windowFunctionIndex

Clone this wiki locally