openmixer — generated API reference
    Preparing search index...

    Function clampGroupGain

    • Clamp a group's linear gain to be non-negative (a negative gain is nonsense; 0 = silence). The single clamp shared by the DCA master coupling and the subgroup master/send arithmetic.

      Parameters

      • gain: number

        a linear gain

      Returns number

      gain when positive, else 0