Skip to main content
Version: Latest

OscillatorType

OscillatorType is a string that specifies shape of an oscillator wave

type OscillatorType =
| 'sine'
| 'square'
| 'sawtooth'
| 'triangle'
| 'custom';

Below you can see possible names with shapes corresponding to them.

custom​

This value can't be set explicitly, but it allows user to set any shape. See setPeriodicWave for reference.

We are Software Mansion.