API

Function getByteTimeDomainData

  • Writes the current time-domain (waveform) data as unsigned bytes into out, building the analyzer tap on first use. Each sample is centered on 128. out should be sized to the analyzer's fftSize.

    Parameters

    • host: AudioGraphHost

      A StaticSound, StreamingSound, or AudioBus.

    • out: Uint8Array

      Destination buffer; values are written in place.

    Returns void