AbstractReadonlysequencersThe array of sequencers to use with the synthesizer. This property allows for direct access to the sequencers and their MIDI data.
ReadonlysynthesizerThe synthesizer instance. This property allows for direct access to the audio engine.
ProtectedfinishFinishes processing an audio block: syncs the sequencers and voice counts, then sends the queued messages. Call after rendering the block.
ProtectedpostRejects the main thread promise waiting for the given response type.
The response type that will not arrive.
The reason of the failure.
ProtectedstartStarts processing an audio block: queues the messages and advances the sequencers. Call before rendering the block.
The interface for the audio processing code that uses
spessasynth_coreand 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_coreSpessaSynthProcessor and SpessaSynthSequencer instances.