openmixer — generated API reference
    Preparing search index...

    Interface SpectrumBand

    One log-spaced band.

    db is the RMS across the band's bins — NOT the loudest one — so a single transient bin cannot paint a whole band hot. peakDb keeps that loudest bin anyway, because "this band is loud" and "something in this band hit full scale" are different signals and only the second is a clip.

    interface SpectrumBand {
        db: number;
        hz: number;
        peakDb: number;
    }
    Index
    db: number

    RMS level across the band, dBFS.

    hz: number

    The band's geometric centre frequency, Hz.

    peakDb: number

    The loudest single bin in the band, dBFS.