createGain abstract method

GainNode createGain()

The createGain() method of the BaseAudioContext creates a GainNode, which can be used to control the overall gain (or volume) of the audio graph.

Note: The GainNode.GainNode constructor is the recommended way to create a GainNode; see Creating an AudioNode.

Implementation

GainNode createGain();