Sets or returns master stereo balance.
Syntax
Balance position
position = Balance()
Description
BALANCE moves the whole sfxlib mix left or right. It is a master stereo control, so it affects the combined output rather than one channel.
A centered value keeps the left and right sides even. Moving the value in one direction makes the whole mix lean toward that speaker. This can be useful for accessibility, diagnostics, or simple stereo effects.
Calling BALANCE as a function returns the current master balance.
Example
balance 0.0
print "balance="; balance()
Notes
- Use PAN when only one channel should move left or right.
See also