spessasynth_core documentation
    Preparing search index...

    Interface XGVariationParameter

    Parameters for the XG variation effect.

    interface XGVariationParameter {
        insertionMode: boolean;
        pan: number;
        partNumber: number;
        return: number;
        sendToChorus: number;
        sendToReverb: number;
    }

    Hierarchy (View Summary)

    Index
    insertionMode: boolean

    Indicates if variation is in the insertion mode (CONNECTION). If false, then variation is in the system mode.

    The two connection modes work as following:

    • system routes all channels via sends (like reverb and chorus).
    • insertion routes a single partNumber channel straight through. Note that variation is processed last, after all insertion effects.
    pan: number

    The stereo panning of this effect. 1 is hard left, 64 is center, 127 is hard right.

    partNumber: number

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

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

    return: number

    The return (level) of the effect. 0 is silence (-Inf dB), 64 is normal (0 dB) and 127 is double the volume (+6 dB).

    sendToChorus: number

    The amount of variation being sent to the chorus effect.

    0 is none, 64 is 100% and 127 is 200%.

    sendToReverb: number

    The amount of variation being sent to the reverb effect.

    0 is none, 64 is 100% and 127 is 200%.