Skip to content

EZ Web Audio / AnalyzerOptions

Interface: AnalyzerOptions ​

Defined in: packages/core/src/analyzer.ts:6

Configuration options for creating an Analyzer.

Properties ​

fftSize? ​

optional fftSize: number

Defined in: packages/core/src/analyzer.ts:12

FFT size for frequency analysis. Must be a power of 2 between 32 and 32768. Larger values provide more frequency detail but less time precision.

Default ​

ts
2048

maxDecibels? ​

optional maxDecibels: number

Defined in: packages/core/src/analyzer.ts:22

Maximum decibel value for frequency data scaling.

Default ​

ts
-30

minDecibels? ​

optional minDecibels: number

Defined in: packages/core/src/analyzer.ts:17

Minimum decibel value for frequency data scaling.

Default ​

ts
-100

smoothingTimeConstant? ​

optional smoothingTimeConstant: number

Defined in: packages/core/src/analyzer.ts:27

Smoothing time constant (0-1). Higher values smooth data over time.

Default ​

ts
0.8