openmixer — generated API reference
    Preparing search index...

    Function growthSlope

    • Least-squares slope (dB per frame) of a short trailing history of dB levels, oldest first — the "is this bin RUNNING AWAY" signal that separates real feedback from a sustained musical tone (see the module doc). Positive and large only while levels climb frame over frame; a flat run reads ~0, a fading run reads negative. Fewer than two samples reads 0 (no trend yet, so it can never wrongly clear the bar on its own).

      Parameters

      • levelsDb: readonly number[]

      Returns number