The type property of the OscillatorNode interface specifies what shape of waveform the oscillator will output.
type
MDN Reference