Class PeriodicWave
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The PeriodicWave interface defines a periodic waveform that can be used to shape the output of an OscillatorNode.
[Value("PeriodicWave")]
public class PeriodicWave
- Inheritance
-
PeriodicWave
- Inherited Members
Remarks
PeriodicWave has no inputs or outputs; it is used to define custom oscillators when calling SetPeriodicWave(PeriodicWave). The PeriodicWave itself is created/returned by CreatePeriodicWave(List<Number>, List<Number>, PeriodicWaveConstraints).
Constructors
PeriodicWave()
public PeriodicWave()
PeriodicWave(BaseAudioContext, PeriodicWaveOptions)
The PeriodicWave() constructor of the Web Audio API creates a new
PeriodicWave object instance.
public PeriodicWave(BaseAudioContext context, PeriodicWaveOptions options = null)
Parameters
contextBaseAudioContextoptionsPeriodicWaveOptions