User Guide
paragraph 911
The range of values is from -100 to 100. -100 indicates only the left channel is heard. 100
indicate only the right channel is being heard. A value of 0 indicates even left/right balance,
causing the sound source to appear to be centered. For mono sounds,
pan affects which speaker
(left or right) the sound plays through.
You can change the pan of a sound object at any time, but if the sound channel is currently
performing a fade, the new pan setting doesn’t take effect until the fade is complete.
To see an example of
pan used in a completed movie, see the Sound Control movie in the
Learning/Lingo Examples folder inside the Director application folder.
Example
These statements pan the sound in sound channel 2 from the left channel to the right channel:
-- Lingo syntax
repeat with x = -100 to 100
sound(2).pan = x
end repeat
// JavaScript syntax
for (var x = -100; x <= 100; x++) {
sound(2).pan = x;
}
See also
Sound Channel
pan (QTVR property)
Usage
-- Lingo syntax
spriteObjRef.pan
// JavaScript syntax
spriteObjRef.pan;
Description
QuickTime VR sprite property; the current pan of the QuickTime VR movie. The value is
in degrees.
This property can be tested and set.
paragraph
Usage
chunkExpression.paragraph[whichParagraph]
chunkExpression.paragraph[firstParagraph..lastParagraph]
Description
Text cast member property; this chunk expression allows access to different paragraphs within a
text cast member.
The paragraph is delimited by a carriage return.
put member("AnimText").paragraph[3]