foo-webview-sdk
    Preparing search index...

    Type Alias SpectrumScale

    SpectrumScale: "weighted" | "db"

    Band value scale of a spectrum subscription. Band output is kept for compatibility; bin output (see SpectrumOutput) is always 'db'.

    • 'weighted' — display curve in [0, 1]: triangular band filter, tilt and bass shelf, mapped from -50..0 dB with gamma 0.8.
    • 'db' — band power in dB: the sum of the bin powers in the band, with a full-scale sine reading 0 dB and a floor of -160. The total power of a signal does not depend on the band count, except in low bands that are narrower than one FFT bin.