balance
audio.balance()
Controls the left and right channel volumes separately.
audio.balance(audio, Left Volume, Right Volume)
audio
HtmlAudioElement
Audio object created with audio.newAudio(path)
. This object is used to control playback, volume, position, etc.
Left Volume
Number
Volume of the left channel. Useful for manual balance adjustments. Range from 0
to 1
.
Right Volume
Number
Volume of the right channel. Useful for manual balance adjustments. Range from 0
to 1
.