Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Interface RampOptions

    What a gain ramp needs; see rampGain.

    interface RampOptions {
        now: number;
        startAt?: number;
        target: number;
        ms: number;
        from?: number;
    }
    Index
    now: number

    The context's current time — pending automation is cancelled from here.

    startAt?: number

    When the ramp begins; defaults to now. May lie in the future (a delayed start).

    target: number
    ms: number

    Ramp length; floored to MIN_FADE_MS.

    from?: number

    Start value; defaults to the param's current value.