How To

Crossfade Two Sounds

For this How-To, let's suppose that you want to play some scene change music, and then when the scene change completes, you want to crossfade to the background atmosphere of a city park over the course of ten seconds.

There is more than one way to make a crossfade, but this way is particularly tidy.

  1. Create an Audio cue for your scene change music. Name the cue "Music."
  2. Set the levels of that cue to suit your taste and needs.
  3. Create a Fade cue that targets "Music" and sets its level to -inf, with the Stop target when done box checked. Set the duration of this Fade cue to 10 seconds.
  4. Create an Audio cue for your city park atmosphere. Name it "Park."
  5. Set the levels of that cue to the levels at which you want it to play during the scene, after the crossfade happens.
  6. With the "Park" cue selected, choose Copy from the Edit menu.
  7. Create a Fade cue that targets "Park," and with this Fade cue selected choose Paste Cue Properties from the Tools menu. Hit "1" on your keyboard to select the Audio Levels preset, then click Apply.
  8. Set the duration of this Fade cue to 10 seconds.
  9. In the Levels tab of the inspector, click once on the master level text field to turn it yellow.
  10. Select the "Park" cue, and bring its master level to -inf
  11. Create a Group cue and name it "Crossfade to park."
  12. Set the mode of the Group cue to "Start all children simultaneously."
  13. Place the "Park" cue and both Fade cues within the Group cue.
  14. Trigger the "Music" cue. When you're ready, trigger the "Crossfade to park" cue.
  15. Voila!