API

Function getFloatFrequencyData

  • Writes the current frequency-domain data as floats (in dBFS) into out, building the analyzer tap on first use. out should be sized to the analyzer's frequencyBinCount (fftSize / 2).

    Parameters

    • host: AudioGraphHost

      A StaticSound, StreamingSound, or AudioBus.

    • out: Float32Array

      Destination buffer; values are written in place.

    Returns void