You can layer looped event sounds in Flash and apply effects to different segments of the looped sounds to get a fair amount of variety for relatively little overhead. If you're just synchronizing sounds, you can divide your sounds into tracks or layers and loop each sound all the way across the timeline. You then can fade in, fade out, and otherwise manipulate the loops using Flash's custom sound editing controls. If you choose to bring the sounds in at different frames , or if you're trying to synchronize a long-playing sound and animation, you'll have to resort to streaming your sound. In either case, the first thing you want to do is make sure that all the sounds that you want to synchronize are recorded at the same tempo, in this case, a specific number of beats per minute. If you don't do this, you're never going to have happy results. There are a number of sound editing programs out there that let you import a sound, set a tempo for it, and export it as a WAV or AIFF file. If you are unsure of the tempo of the sound you are importing, it's a good idea to check it and reset it in one of these programs. Sonic Foundry's Acid Pro for Windows or Macromedia's Sound Edit 16 for the Macintosh are popular choices. Now that you know the basics for creating a layered soundtrack, let's give it a try. Exercise 13.1 Creating a Layered Soundtrack Creating a layered soundtrack in Flash isn't difficult, as long as you start with some good building blocks. Make sure all the sounds that you are trying to synchronize are recorded at the same number of beats per minute.
You've layered your sound and depending on your processor, it might sound okay or it might sound out of synchronization. Don't worry about that; it's a continuous annoying loop. You'll be fixing that shortly. First, you set up the layered sound you already have so that it plays back more predictably. |