spessasynth_lib documentation
    Preparing search index...

    Class BasicSynthesizerCoreAbstract

    The interface for the audio processing code that uses spessasynth_core and runs on a separate thread. It runs in a Web Worker for WorkerSynthesizer and in an AudioWorklet for WorkletSynthesizer.

    It provides raw access to spessasynth_core SpessaSynthProcessor and SpessaSynthSequencer instances.

    Hierarchy (View Summary)

    Index
    sequencers: SpessaSynthSequencer[] = ...

    The array of sequencers to use with the synthesizer. This property allows for direct access to the sequencers and their MIDI data.

    synthesizer: SpessaSynthProcessor

    The synthesizer instance. This property allows for direct access to the audio engine.

    • Rejects the main thread promise waiting for the given response type.

      Parameters

      • type: keyof SynthesizerReturn

        The response type that will not arrive.

      • error: Error

        The reason of the failure.

      Returns void