Skip to content

signal.WindowFunctions.Interface.WindowFunctionDescr

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

dsp-collection / signal/WindowFunctions / WindowFunctionDescr

Interface: WindowFunctionDescr

Defined in: signal/WindowFunctions.ts:22

Window function descriptor.

Properties

cpuCost

cpuCost: number;

Defined in: signal/WindowFunctions.ts:61

Relative complexity of computation.


f

f: WindowFunction;

Defined in: signal/WindowFunctions.ts:37

Non-normalized window function.


firstMinPos

firstMinPos: number;

Defined in: signal/WindowFunctions.ts:56

Relative frequency position of the first minimum.

For most window functions the first minimum is a null in the spectrum or a zero in the filter transfer function. But for the parabolic window, it's only a local minimum and not a null/zero. In the sprectrum, the frequency is relative to the window size (DFT bin, normalized frequency). When used as a filter, the frequency is relative to the FIR kernel size. Formula for FIR filters:

firstMinFrequency = firstMinPos * sampleRate / firKernelWidth

fNorm

fNorm: WindowFunction;

Defined in: signal/WindowFunctions.ts:42

Gain-normalized window function.


id

id: string;

Defined in: signal/WindowFunctions.ts:32

Internal ID of the window function.


name

name: string;

Defined in: signal/WindowFunctions.ts:27

Descriptive name.

Clone this wiki locally