CLASSES
TagsA - Z

Analyser

Description

class Analyser

Constructor

new Analyser(scene)

Parameters

Name Type Description
scene Scene

Members

SMOOTHING : number

FFT_SIZE : number

BARGRAPHAMPLITUDE : number

DEBUGCANVASPOS : { x: number, y: number }

DEBUGCANVASSIZE : { width: number, height: number }

Methods

getFrequencyBinCount() number

getByteFrequencyData() Uint8Array

getByteTimeDomainData() Uint8Array

getFloatFrequencyData() Uint8Array

drawDebugCanvas() void

stopDebugCanvas() void

connectAudioNodes(inputAudioNode, outputAudioNode) void

Parameters

Name Type Description
inputAudioNode AudioNode
outputAudioNode AudioNode

dispose() void