Using Director

| sample images | finished movie |

Behaviours - Sound

Created and designed by Vivienne Trulock for ilikecake, 2005

see completed movie

Control Sound with Behaviours

Import sound images and any of the following types of audio files: AIFF, WAV, AU, Shockwave Audio, MP3, and Macintosh System 7.

Create text cast members and arrange the images onto the stage as in the diagram below. You'll need to rotate the bars and sliders to create the pan and volume controls.

picture of images required  for this tutorial

Open the library palette on Media / Sound

library palette - media - sound

Apply Behaviours

Pull the play sound behaviour onto the play button and set the parameters as shown

play sound behaviour button play button

parameters for play sound

Pull the stop sound behaviour onto the stop button and make sure the same sound channel is selected

stop sound behaviour button stop button

Pull the pause sound behaviour onto the pause button and again make sure the same sound channel is selected

pause sound behaviour button pause button

Pull the volume behaviour onto the volume thumb (slider). Make sure the thumb is placed in the middle of the bar and choose the bar as the constraining sprite. Set the initial volume as a middle value.

channel volume slider behaviour button vertical slider

Pull the pan behaviour onto the pan thumb (slider). Make sure the thumb is placed in the middle of the bar and choose the bar as the constraining sprite. Set the initial value to 0.

channel pan slider behaviour button horizontal slider

see completed movie