API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
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?: numberFFT window size; must be a power of two between 32 and 32768. Default 2048.
maxDecibels?: numberMaximum dBFS rendered by the byte-domain spectrum getters. Default -30.
minDecibels?: numberMinimum dBFS rendered by the byte-domain spectrum getters. Default -100.
smoothingTimeConstant?: numberTime-domain smoothing constant in 0..1 applied between successive analyses. Default 0.8.
source?: AudioAnalyserSourceOptional initial source. Equivalent to analyser.source = value after construction; provided for ergonomic one-shot construction. The setter remains usable for runtime source switches.
Source