Class: CsoundAudioNode

CsoundAudioNode()

Provides the Csound API as in csound_threaded.hpp, but implemented in WebAssembly. For a more complete description of what these functions do, see csound_threaded.hpp in the Csound GitHub repository, and of course the Csound API Reference. The semantics of all functions are virtually identical and the signatures are as equivalent as I could make them.

Constructor

new CsoundAudioNode()

Source:

Methods

PerformCsd()

Because AudioWorklet messages are asynchronous, a sequence of method calls cannot be guaranteed to execute in proper order. Hence, this helper.

Source:

PerformOrc()

Because AudioWorklet messages are asynchronous, a sequence of method calls cannot be guaranteed to execute in proper order. Hence, this helper.

Source:

(async) Start()

First connects to the default WebAudio output and the WebAudio context's media source input, if it exists, and the MIDI input, if it exists, then starts the Csound performance. Wiring into the Web Audio graph is up here in the upper half, wiring within Csound is down in the lower half.

Source:

StartNode()

Starts the Csound performance with or without any connection to the Web Audio signal flow graph. Such connections may be created in the usual manner for constructing Web Audio graphs, either before, or after, calling StartNode.

Source: