spessasynth_core documentation
    Preparing search index...

    Interface XGInsertionBlockSnapshot

    A snapshot of a XGInsertionBlock.

    interface XGInsertionBlockSnapshot {
        params: Int16Array;
        partNumber: number;
        type: number;
    }

    Hierarchy (View Summary)

    Index
    params: Int16Array

    The 16 parameter values for this effect block (14-bit wide params, 7-bit single-byte params).

    partNumber: number

    The channel routed through the insertion effect, 0-based.

    127 or a value that's above the current channel count means OFF.

    type: number

    The type of the processor. Per XG spec, BASIC EFFECT (LSB = 0) will be used if the exact match is missing. If both are missing, fallback will be used. The newly selected processor is reset to its type defaults, mirroring the GS insertion behavior.