spessasynth_core documentation
    Preparing search index...

    Class DefaultXGEffectAbstract

    The default implementation for XGEffectBlock.

    This class represents a single XG effect block. Each block contains a specific processor and may be an insertion or system effect. This class does the mixing and routing of the effect.

    Hierarchy (View Summary)

    Implements

    Index
    • Initializes the new XG effect block.

      Parameters

      • effectMap: Map<number, DefaultXGEffectProcessorConstructor>

        The map of all effect constructors to initialize.

      • fallbackProcessor: DefaultXGEffectProcessorConstructor

        The fallback processor in case the real processor is missing.

      • defaultType: number

        The default effect type.

      • sampleRate: number

        The sample rate, in Hertz.

      • maxBufferSize: number

        The maximum buffer size the synthesizer can render at once. Attempting to .process() more samples than this will result in an error.

      • variation: boolean

        True for the variation and insertion blocks.

      Returns DefaultXGEffect

    processor: DefaultXGEffectProcessor

    The currently used processor.