# Switching music between different scenes using parameters

**URL:** https://qa.fmod.com/t/switching-music-between-different-scenes-using-parameters/15995
**Category:** Unity
**Tags:** unity, csharp
**Created:** [July 22, 2020, 3:33pm UTC](https://qa.fmod.com/t/switching-music-between-different-scenes-using-parameters/15995 "2020-07-22T15:33:42Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![luchan](https://avatars.discourse-cdn.com/v4/letter/l/c89c15/32.png) [@luchan](https://qa.fmod.com/u/luchan)
#### Post date: [July 22, 2020, 3:33pm UTC](https://qa.fmod.com/t/switching-music-between-different-scenes-using-parameters/15995/1 "2020-07-22T15:33:43Z")

</div>

Hi there!  
I had difficulties with fmod  
I have several levels (several scenes) and one event in fmod with music for the whole game, with parameters and transitions between different audio files  
how to make smooth transitions between scenes with one event?

---

<div class="post-metadata">

### Author: ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)
#### Post date: [July 28, 2020, 1:44am UTC](https://qa.fmod.com/t/switching-music-between-different-scenes-using-parameters/15995/2 "2020-07-28T01:44:17Z")

</div>

I would suggest using transition regions, destination markers, and transition timelines. Check out the Level 03 in the Examples project included in your FMOD Studio install. Be sure to have a look at the documentation too.

[https://www.fmod.com/resources/documentation-studio?version=2.1&page=authoring-events.html#transition-timelines](https://www.fmod.com/resources/documentation-studio?version=2.1&page=authoring-events.html#transition-timelines)

---

<div class="post-metadata">

### Author: ![luchan](https://avatars.discourse-cdn.com/v4/letter/l/c89c15/32.png) [@luchan](https://qa.fmod.com/u/luchan)
#### Post date: [July 31, 2020, 9:18am UTC](https://qa.fmod.com/t/switching-music-between-different-scenes-using-parameters/15995/3 "2020-07-31T09:18:03Z")

</div>

Yes. I’ve done the same thing. The problem is how to make it work in to unity3d? when main menu starts there is one music play, then when I push the button it supposed to make a transition to another music in fmod while my scene is changing in another scene. And so on…

---

<div class="post-metadata">

### Author: ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)
#### Post date: [August 4, 2020, 2:13am UTC](https://qa.fmod.com/t/switching-music-between-different-scenes-using-parameters/15995/4 "2020-08-04T02:13:07Z")

</div>

It’s hard to say exactly without seeing the Unity project, but try to check for the following:

- The FMOD music event instance must be persistent between scenes
- You need to adjust the parameter value when needed (in this case when you press the button)
- Confirm what is happening by recording a Live Update session and ensuring the event instance is receiving the setting parameter value call
