API

Function getFloatTimeDomainData

  • Writes the current time-domain (waveform) data as floats in [-1, 1] into out, building the analyzer tap on first use. out should be sized to the analyzer's fftSize.

    Parameters

    • host: AudioGraphHost

      A StaticSound, StreamingSound, or AudioBus.

    • out: Float32Array

      Destination buffer; values are written in place.

    Returns void