AudioWorkletNodeOptions Class
The options of an AudioWorkletNode (https://webaudio.github.io/web-audio-api/#AudioWorkletNodeOptions).
public sealed class AudioWorkletNodeOptions : AudioNodeOptions- Inheritance
AudioNodeOptionsAudioWorkletNodeOptions
Constructors
| Name | Description |
|---|---|
| AudioWorkletNodeOptions() |
AudioWorkletNodeOptions()
AudioWorkletNode.cspublic AudioWorkletNodeOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| NumberOfInputs | Gets the number of inputs. |
| NumberOfOutputs | Gets the number of outputs. |
| OutputChannelCount | Gets the number of channels of each output, or null. |
| ParameterData | Gets the initial values of the parameters, by name. |
| ProcessorOptions | 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). |
NumberOfInputs
AudioWorkletNode.csNumberOfOutputs
AudioWorkletNode.csGets the number of outputs.
public uint NumberOfOutputs { get; init; }OutputChannelCount
AudioWorkletNode.csGets the number of channels of each output, or null.
public IReadOnlyList<uint>? OutputChannelCount { get; init; }ParameterData
AudioWorkletNode.csGets the initial values of the parameters, by name.
public IReadOnlyList<KeyValuePair<string, double>>? ParameterData { get; init; }ProcessorOptions
AudioWorkletNode.csGets 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; }