API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceAudioAnalyserOptions

@codexo/exojs-audio-fx / audio / stable

Construction options for AudioAnalyser.

5
props
0
methods
0
events
Import
import { AudioAnalyserOptions } from '@codexo/exojs-audio-fx'

Construction options for AudioAnalyser.

Properties5
fftSize?: number
FFT window size; must be a power of two between 32 and 32768. Default 2048.
maxDecibels?: number
Maximum dBFS rendered by the byte-domain spectrum getters. Default -30.
minDecibels?: number
Minimum dBFS rendered by the byte-domain spectrum getters. Default -100.
smoothingTimeConstant?: number
Time-domain smoothing constant in 0..1 applied between successive analyses. Default 0.8.
Optional initial source. Equivalent to analyser.source = value after construction; provided for ergonomic one-shot construction. The setter remains usable for runtime source switches.
Source