" />

GDT 260 Animation for the Web: Winter 2002

3.5.2002

Sound

Download the sounds

Key to sound in Flash: optimization, reuse, and separation from main content.

Getting Sounds

Rules of thumb for audio

Importing Sounds into Flash

Flash can import many audio formats: AIFF, WAV, MP3, etc.

File > Import, choose "All Sound Formats". Sounds will appear in library once imported

Optimizing Sounds

  1. Double-click on sound in library to open sound properties window
  2. From Compression drop-down, choose a format
  3. Click Test to hear the results
  4. Look at compression info at bottom of screen to see file size
  5. Change options for chosen format and test to compare results: lower bitrates yield smaller file size, lower quality
  6. Choose the compression settings that yield best compromise between quality and file size

Flash Sound Formats

Working with Sound in Flash

To attach sound to timeline: insert keyframe, select it, and choose a sound from the drop-down menu on the sound palette

Sound Options

Effect

From the Effects menu on Sound palette, choose an effect, click "Edit...". Edit Envelope window opens

Edit Envelope window controls volume/ mix of stereo channels.

Synch

Looping

Flash Audio Oddities

Soundtracks

It's a good idea to keep soundtracks as a separate .fla from your main content. That way, you can use a Load Movie action to load the soundtrack in the background after the content has loaded. That way, it doesn't interefere with someone getting at your information.

To create a soundtrack:

  1. Create a new layer, name it after the sound
  2. Insert a keyframe
  3. Attach the sound to the keyframe
  4. Extend the frames as long as the waveform shows up in the timeline
  5. Add a label to a comments layer, so you can tell what's going on
  6. Make any volume adjustments

Most pop/ rock consists of 4 bar patterns. The samples from the book are 2 bars, so double each one up.