Table of Contents

Class AudioWorkletProcessor

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The AudioWorkletProcessor interface of the Web Audio API represents an audio processing code behind a custom AudioWorkletNode. It lives in the AudioWorkletGlobalScope and runs on the Web Audio rendering thread. In turn, an AudioWorkletNode based on it runs on the main thread.

[Value("AudioWorkletProcessor")]
public class AudioWorkletProcessor
Inheritance
AudioWorkletProcessor
Inherited Members

Remarks

Constructors

AudioWorkletProcessor()

The AudioWorkletProcessor()
constructor creates a new AudioWorkletProcessor object, which
represents an underlying audio processing mechanism of an
AudioWorkletNode.

public AudioWorkletProcessor()

Remarks

NOTE

The AudioWorkletProcessor and classes that derive from it
cannot be instantiated directly from a user-supplied code. Instead, they are created
only internally by the creation of an associated AudioWorkletNode.

-AudioWorkletNode interface

See also on MDN

Properties

Port

The read-only port property of the
AudioWorkletProcessor interface returns the associated
MessagePort. It can be used to communicate between the processor and the
AudioWorkletNode to which it belongs.

[Value("port")]
public MessagePort Port { get; }

Property Value

MessagePort

The MessagePort object that is connecting the AudioWorkletProcessor and the associated AudioWorkletNode.

Remarks

NOTE

The port at the other end of the channel is
available under the Port property of the node.

-Web Audio API
-Using the Web Audio API

See also on MDN