openmixer — generated API reference
    Preparing search index...

    Interface AlignFit

    What a fit answers with when it CAN answer.

    interface AlignFit {
        coherence: number;
        delayMs: number;
        frames: number;
        kind: "fit";
        polarity: "normal" | "invert";
        residualDeg: number;
    }
    Index
    coherence: number

    0..1 — how much of the two signals is genuinely shared. Below ~0.5, do not act.

    delayMs: number

    Positive means the TARGET is late and must be delayed LESS; the correction is its negation.

    frames: number

    How many frames were averaged.

    kind: "fit"
    polarity: "normal" | "invert"

    What the target's polarity should be for the two to sum.

    residualDeg: number

    Degrees of phase the delay and polarity did NOT explain. Decides the all-pass question.