soundDevice
997
The following examples assign sound channel 1 to the RealMedia stream in sprite 2 and the cast
member Real.
-- Lingo syntax
sprite(2).soundChannel = 1
member("Real").soundChannel = 1
// JavaScript syntax
sprite(2).soundChannel = 1;
member("Real").soundChannel = 1;
See also
realPlayerNativeAudio()
soundDevice
Usage
-- Lingo syntax
_sound.soundDevice
// JavaScript syntax
_sound.soundDevice;
Description
Sound property; allows the sound mixing device to be set while the movie plays. Read/write.
The possible settings for
soundDevice
are the devices listed in
soundDeviceList
.
Several sound devices can be referenced. The various sound devices for Windows have
different advantages.
•
MacroMix (Windows)—The lowest common denominator for Windows playback. This
device functions on any Windows computer, but its latency is not as good as that of other
devices.
•
QT3Mix (Windows)—Mixes sound with QuickTime audio and possibly with other
applications if they use DirectSound. This device requires that QuickTime be installed and has
better latency than MacroMix.
•
DirectSound (Windows)—Similar to QT3Mix, but provides higher latency.
•
MacSoundManager (Macintosh)—The only sound device available on the Macintosh.
Example
The following statement sets the sound device to the MacroMix for a Windows computer. If the
newly assigned device fails, the
soundDevice
property is not changed.
-- Lingo syntax
_sound.soundDevice = "MacroMix"
// JavaScript syntax
_sound.soundDevice = "MacroMix";
See also
Sound
,
soundDeviceList
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...