Skip to content

ToneOptions

Options of sound.tone().

optional volume?: number

0–1 (default 0.12).


optional type?: OscillatorType

The waveform (default ‘sine’).


optional to?: number

Glide to this frequency over the tone.