openmixer — generated API reference
    Preparing search index...

    Interface CompState

    interface CompState {
        attackMs: number;
        detectorOversampled: boolean;
        detectorOversampling: DetectorOversampling;
        kind: "comp" | "limiter";
        makeupDb: number;
        on: boolean;
        ratio: number;
        releaseMs: number;
        thresholdDb: number;
    }
    Index
    attackMs: number
    detectorOversampled: boolean

    Whether the detector is oversampling RIGHT NOW. DERIVED from the choice, the attack and whether the slot is on — read-only on the wire, never stored, so it cannot drift from what the audio is doing. detectorOversampledOf is the one derivation; the engine's omx_dyn_oversample_factor is its C twin and answers the same on the same inputs.

    detectorOversampling: DetectorOversampling

    The operator's CHOICE (see DetectorOversampling) — never the engaged state.

    kind: "comp" | "limiter"
    makeupDb: number
    on: boolean
    ratio: number
    releaseMs: number
    thresholdDb: number