I have used FMOD to create interactive music with horizontal transitions.
Each interactive music is controlled by a parameter named “Switch,” which has three regions: 1, 2, and 3. Now, I want to load this interactive music into my Unity project and call different switches in different scenes.
Additionally, I would like the interactive music to smoothly fade in and out to the corresponding segments when switching scenes. How can I achieve this?
Hi,
What version of FMOD are you using?
If the event is loaded using an Unity Integration | Game Components - Studio Event Emitter you can use StudioEventEmitter::SetParameter()
(Unity Integration | Scripting API Reference) function to control the value of your switch variable.
To smoothly fade the music an option is modulating (FMOD Studio | Authoring Events - Modulation) the fader of each of the events using FMOD Studio | Modulator Reference - AHDSR Modulator.
Hope this helps!