screamer.js
    Preparing search index...

    Interface HoldOptions

    The settings of Hold by name, for Hold({ ... }).

    interface HoldOptions {
        cooldown?: number;
        n: number;
        release?: number;
    }
    Index
    cooldown?: number

    Steps after a hold expires in which nonzero inputs are ignored and the output is release. 0 turns it off.

    0

    n: number

    Number of steps the latched value is held, counting the trigger step: a nonzero input at t is output at t, t+1, ..., t+n-1.

    release?: number

    Value returned when no hold is active and the input is zero. May be finite or NaN; inf is rejected.

    0.0