AudioAnalyserOptions
Defined in: client-sdk-js/src/utils/browser.ts:19
Options for creating an audio analyser.
Properties
Section titled “Properties”fftSize?
Section titled “fftSize?”fftSize?: number;Defined in: client-sdk-js/src/utils/browser.ts:24
FFT size for the analyser node. Must be a power of 2 between 32 and 32768.
Default Value
Section titled “Default Value”2048smoothingTimeConstant?
Section titled “smoothingTimeConstant?”smoothingTimeConstant?: number;Defined in: client-sdk-js/src/utils/browser.ts:30
Smoothing constant for the analyser node.
Default Value
Section titled “Default Value”0.8useFloat?
Section titled “useFloat?”useFloat?: boolean;Defined in: client-sdk-js/src/utils/browser.ts:36
If true, uses float frequency data; otherwise uses byte frequency data.
Default Value
Section titled “Default Value”false