Using Sound In Windows; Playing Sounds With Lingo - MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Use Manual

Table of Contents

Advertisement

Using sound in Windows

The following issues are specific to managing sound for Windows:
In Windows, a sound that is already playing in either sound channel overrides the sound in a
QuickTime or AVI video or in a Flash movie. It also prevents the video sound from playing
even after the sound in the sound channel stops. After the sound in a digital video starts,
however, it overrides a sound in either sound channel.
To mix QuickTime audio tracks with internal Director sounds, use the
property to specify QT3Mix or install the Microsoft DirectSound sound driver software
version 5.0 or later (available from www.microsoft.com), and use the
specify DirectSound..See
support DirectSound 5.) Check the Director Support Center at www.macromedia.com/
support/director/ for the latest developments related to this issue.
The default number of sounds that Director can mix in Windows is eight. This number can
be decreased by modifying the value for MixMaxChannels in the Director.ini file in the
Director folder.

Playing sounds with Lingo

Lingo lets you play and control sounds regardless of the settings in the Score. You can use Lingo
to play sounds, turn them on and off, and play external sounds that aren't cast members. Using
Lingo to play sounds lets you control the exact timing of when sounds start and stop. Lingo also
lets you play only part of a sound cast member or play several sounds in succession without
interruption.
Sounds played by Director play at the volume that is set in the computer's sound level control.
You can use Lingo to modify the computer's sound level to suit the needs of your movie or to
modify the volume of the sound channel.
You can also use Lingo to control and stream Shockwave Audio. See "Playing Shockwave Audio
and MP3 audio with Lingo" on page 327.
Playing sound cast members
After you import a sound as a cast member, you can control many aspects of how the sound plays.
To play sound cast members regardless of the settings in the Score:
Use the
queue()
Director RAM buffer so that it can be play immediately when called. The
starts the sound playing. If you omit the
immediately when called. See
The following statements load the sound called Siren into RAM and start it playing in
sound channel 1:
sound(1).queue(member("Siren"))
sound(1).play()
To queue more than one sound to play in succession:
Use the
queue()
before they play, Director plays the sounds with no pauses between the sounds. After the
sounds are queued, you need only one
in the Lingo Dictionary. (Windows NT4 does not
soundDevice
and
functions. The
play()
and
queue()
function to list sounds in the order you want them to play. If you queue them
play()
function loads the sound into the
queue()
function, the sound might not play
queue()
in the Lingo Dictionary.
play() (sound)
command.
Sound and Synchronization 323
system
soundDevice
property to
soundDevice
command
play()

Advertisement

Table of Contents
loading

This manual is also suitable for:

Director mx

Table of Contents