EZ Web Audio / AnalyzerOptions
Interface: AnalyzerOptions
Defined in: packages/core/src/analyzer.ts:6
Configuration options for creating an Analyzer.
Properties
fftSize?
optionalfftSize: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
2048maxDecibels?
optionalmaxDecibels:number
Defined in: packages/core/src/analyzer.ts:22
Maximum decibel value for frequency data scaling.
Default
ts
-30minDecibels?
optionalminDecibels:number
Defined in: packages/core/src/analyzer.ts:17
Minimum decibel value for frequency data scaling.
Default
ts
-100smoothingTimeConstant?
optionalsmoothingTimeConstant:number
Defined in: packages/core/src/analyzer.ts:27
Smoothing time constant (0-1). Higher values smooth data over time.
Default
ts
0.8