The AudioContext instance which the synth channel is operating within.
The type of waveform being produced, valid values are: 'sine', 'square', 'triangle', or 'sawtooth'.
The amount of gain to be applied to the waveform. Default value is 0.1.
The AudioContext instance which the synth channel is operating within.
The type of waveform being produced, valid values are: 'sine', 'square', 'triangle', or 'sawtooth'.
The numeric value of the amount of gain being applied to each note.
Returns the name of this type. This can be used rather than instanceof which is sometimes unreliable.
Generated using TypeDoc
Represents a single channel within the WebAudioMidiOut. This allows for creation of simple sine, square, triangle & sawtooth waves.