OscillatorOptions Class
The options of an OscillatorNode (https://webaudio.github.io/web-audio-api/#OscillatorOptions).
public sealed class OscillatorOptions : AudioNodeOptions- Inheritance
AudioNodeOptionsOscillatorOptions
Constructors
| Name | Description |
|---|---|
| OscillatorOptions() |
OscillatorOptions()
OscillatorNode.cspublic OscillatorOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Detune | Gets the initial detune in cents. |
| Frequency | Gets the initial frequency in Hz. |
| PeriodicWave | Gets the custom waveform (the type is then OscillatorType.Custom). |
| Type | Gets the waveform. |
Detune
OscillatorNode.csGets the initial detune in cents.
public float Detune { get; init; }Frequency
OscillatorNode.csPeriodicWave
OscillatorNode.csGets the custom waveform (the type is then OscillatorType.Custom).
public PeriodicWave? PeriodicWave { get; init; }