Chapter 24: Fading Sound Layers In and Out

Follow

Fading Sound Layers In and Out

Only two effects work with sound layers: Fade In and Fade Out. Instead of changing transparency, though, as they do for image layers, they change sound volume .These two effects are important because without a fade in and a fade out a sound won’t start or stop playing.

Sound Fade Basics

Placing a sound layer on a page has no immediate effect. You won’t hear the sound until an attached Fade In effect turns up the volume and starts playback. Once playback starts, the sound continues to play on the page until an attached Fade Out effect turns down the volume and stops playback. Sound playback continues while a sound is faded in even when the rest of the page stops for a tap point.

Start and End Volume Levels

Volume levels are simple for Fade In and Fade Out effects. A Fade In always starts with silence and increases volume up to end at the sound layer’s Volume setting in the layer box. A Fade Out always starts with the sound layer’s Volume setting and decreases volume to end in silence.

Fade In/Fade Out Pairs

Always use Fade In and Fade Out on a layer as a pair in that order. You can’t overlap them or the effects won’t work. If you want to start and stop a sound more than once on a page, you can add more Fade In/Fade Out pairs to the sound layer. The sound restarts playback from the beginning each time a Fade In executes.

You can, if you wish, use a single Fade In without a Fade Out if you intend the sound to play back until the page is over or until the sound runs out. A sound layer will only play as long as the file length and the number of specified playback loops allows. If a user waits for a long time at a tap point, the sound may finish playing before a Fade Out, so consider that when you create a sound and specify its loops in the sound layer box.

Sound Playback While Editing

As you move the timeline cursor along the timeline during editing, a sound layer will play whenever the cursor is located at any point where a sound layer has faded in and hasn’t yet faded out. This is true even if the cursor is at rest on the timeline.

This can be annoying if it’s a long sound that you don’t want to hear and there’s no place on the timeline where the sound doesn’t play back. Starting the sound layer’s fade-in at 0.1 seconds instead of at the very beginning of the timeline means that whenever you move the cursor to the page start position the sound layer won’t play.

Using Fade In Effects for Sound

Using a Fade In effect for a sound layer works much the same as it does for an image layer with one key difference: the Fade In effect not only turns up volume, it starts sound playback from the beginning of the sound file as well.

Adding a New Fade In Effect

Add a new Fade In effect just as you do any effect as described in “Adding an Effect to a Page” on page 56. You don’t need to set any effect-specific values during creation. When you’ve finished, a Fade In effect box appears in the effect stack. It has no effect-specific controls.

Figure 1:    A Fade In effect box offers standard effect controls. It needs no effect-specific controls.

Standard Effect Controls

You can set a Fade In effect’s name, offset, duration, target layer, and progression as described in  “Working With Effect Controls” on page 139.

Progression is defined by the Motion pull-down in the effect box, although most progression options other than Linear don’t work very well with fading in volume.

Set the duration of a Fade In effect to 0 to make a sound start playback at full volume. Longer duration values will provide a gentler fade in.

Using Fade Out Effects for Sound

Using a Fade Out effect for a sound layer works much the same as it does for an image layer with one key difference: the Fade Out effect not only turns down volume, it stops sound playback as well.

Adding a New Fade Out Effect

Add a new Fade Out effect just as you do any effect as described in “Adding an Effect to a Page” on page 56. You don’t need to set any effect-specific values during creation. When you’ve finished, a Fade Out effect box appears in the effect stack. It has no effect-specific controls.

Figure 2:    A Fade Out effect box offers standard effect controls. It needs no effect-specific controls.

Standard Effect Controls

You can set a Fade Out effect’s name, offset, duration, target frame, and progression as described in  “Working With Effect Controls” on page 139.

Progression is defined by the Motion pull-down in the effect box, although most progression options other than Linear don’t work very well with fading out volume.

Set the duration of a Fade Out effect to 0 to make a sound stop playback immediately. Longer duration values will provide a gentler fade out as long as the sound file is still playing when the Fade Out effect executes.

 

Have more questions? Submit a request

Comments

Powered by Zendesk