• Map time domain data to a RMS value in dB relative to fullscale (1).

    Parameters

    • data: Float32Array[]

      The current time domain data from the channels.

    • scale: number = 1

      The reference scale (gain value)

    Returns number[]

    Return the db value for each channel, (-inf, 0).