The SoundTransform class contains properties for volume and panning.
leftToLeft:Number
A value, from 0 (none) to 1 (all), specifying how much of the left input is played in the
left speaker.
leftToRight:Number
A value, from 0 (none) to 1 (all), specifying how much of the left input is played in the
right speaker.
pan:Number
The left-to-right panning of the sound, ranging from -1 (full pan left)
to 1 (full pan right). A value of 0 represents no panning (balanced center between
right and left).
rightToLeft:Number
A value, from 0 (none) to 1 (all), specifying how much of the right input is played in the
left speaker.
rightToRight:Number
A value, from 0 (none) to 1 (all), specifying how much of the right input is played in the
right speaker.
volume:Number
The volume, ranging from 0 (silent) to 1 (full volume).
function SoundTransform(vol:Number = 1, panning:Number = 0)
Creates a SoundTransform object.
Parameters | vol:Number (default = 1) — The volume, ranging from 0 (silent) to 1 (full volume).
|
| |
| panning:Number (default = 0) — The left-to-right panning of the sound, ranging from -1 (full pan left)
to 1 (full pan right). A value of 0 represents no panning (center).
|
© 2009 Adobe Systems Incorporated. All rights reserved.
Fri Feb 20 2009, 11:31 AM -08:00