spessasynth_core documentation
    Preparing search index...

    Class DefaultXGChorusSealed

    The default implementation for XGChorusBlock.

    Hierarchy (View Summary)

    Implements

    Index
    pan: number = 64

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

    processor: DefaultXGEffectProcessor

    The currently used processor.

    return: number = 64

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

    sendToReverb: number = 0

    The amount of chorus being sent to the reverb effect.

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

    • Mixes the staged wet output into the system effect destination, applying return and pan.

      Parameters

      • outputLeft: Float32Array

        The left output buffer.

      • outputRight: Float32Array

        The right output buffer.

      • startIndex: number

        The index to start mixing at into the output buffers.

      • sampleCount: number

        The amount of samples to mix.

      Returns void

    • Process the effect and adds it to the output.

      Parameters

      • inputLeft: Float32Array

        The input buffer to process. It always starts at index 0.

      • inputRight: Float32Array

        The input buffer to process. It always starts at index 0.

      • outputLeft: Float32Array

        The left output buffer.

      • outputRight: Float32Array

        The right output buffer.

      • reverbLeft: Float32Array

        The left reverb send buffer.

      • reverbRight: Float32Array

        The right reverb send buffer.

      • startIndex: number

        The index to start mixing at into the output buffers.

      • sampleCount: number

        The amount of samples to mix. This will never be larger than SynthProcessorOptions.maxBufferSize of the parent SpessaSynthProcessor instance.

      Returns void