AudioWorkletNodeOptions Class

The options of an AudioWorkletNode (https://webaudio.github.io/web-audio-api/#AudioWorkletNodeOptions).

public sealed class AudioWorkletNodeOptions : AudioNodeOptions
Inheritance
AudioNodeOptions AudioWorkletNodeOptions

Constructors

NameDescription
AudioWorkletNodeOptions()

AudioWorkletNodeOptions()

AudioWorkletNode.cs
public AudioWorkletNodeOptions()

No documentation is available.

Properties

NameDescription
NumberOfInputsGets the number of inputs.
NumberOfOutputsGets the number of outputs.
OutputChannelCountGets the number of channels of each output, or null.
ParameterDataGets the initial values of the parameters, by name.
ProcessorOptionsGets the options given to the constructor of the processor (a value of the script engine, structured-cloned in the global scope of the worklet).

NumberOfInputs

AudioWorkletNode.cs

Gets the number of inputs.

public uint NumberOfInputs { get; init; }

NumberOfOutputs

AudioWorkletNode.cs

Gets the number of outputs.

public uint NumberOfOutputs { get; init; }

OutputChannelCount

AudioWorkletNode.cs

Gets the number of channels of each output, or null.

public IReadOnlyList<uint>? OutputChannelCount { get; init; }

ParameterData

AudioWorkletNode.cs

Gets the initial values of the parameters, by name.

public IReadOnlyList<KeyValuePair<string, double>>? ParameterData { get; init; }

ProcessorOptions

AudioWorkletNode.cs

Gets the options given to the constructor of the processor (a value of the script engine, structured-cloned in the global scope of the worklet).

public object? ProcessorOptions { get; init; }