The relative volume of the left and right channels will be adjusted according to the value of this property. This provides a limited amount of control over the apparent direction of the sound source.
Creative use of the balance property may be tied in to the horizontal scrolling of a page for creating virtual reality effects.
Much more sophisticated control is available through the aural style sheet properties, although these are not yet properly supported by browsers.
See also: | style.azimuth |
Prev | Home | Next |
BGSOUND object | Up | BGSOUND.loop |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |