API

Class Analyser

Class used to work with sound analyzer using fast fourier transform (FFT)

Index
BARGRAPHAMPLITUDE: number = 256

Gets or sets the bar graph amplitude

DEBUGCANVASPOS: { x: number; y: number } = ...

Gets or sets the position of the debug canvas

DEBUGCANVASSIZE: { height: number; width: number } = ...

Gets or sets the debug canvas size

FFT_SIZE: number = 512

Gets or sets the FFT table size

SMOOTHING: number = 0.75

Gets or sets the smoothing

  • Connects two audio nodes

    Parameters

    • inputAudioNode: AudioNode

      defines first node to connect

    • outputAudioNode: AudioNode

      defines second node to connect

    Returns void