EZ Web Audio / AnalyzerOptions
Interface: AnalyzerOptions
Defined in: analyzer.ts:4
Configuration options for creating an Analyzer.
Properties
fftSize?
optionalfftSize:number
Defined in: analyzer.ts:10
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: analyzer.ts:20
Maximum decibel value for frequency data scaling.
Default
ts
-30minDecibels?
optionalminDecibels:number
Defined in: analyzer.ts:15
Minimum decibel value for frequency data scaling.
Default
ts
-100smoothingTimeConstant?
optionalsmoothingTimeConstant:number
Defined in: analyzer.ts:25
Smoothing time constant (0-1). Higher values smooth data over time.
Default
ts
0.8