# Crossfade On Labelled Parameter

**URL:** <https://qa.fmod.com/t/crossfade-on-labelled-parameter/18189>\
**Category:** FMOD Studio\
**Created:** [January 6, 2022, 6:26pm UTC](https://qa.fmod.com/t/crossfade-on-labelled-parameter/18189 "2022-01-06T18:26:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SonarSound](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@SonarSound](https://qa.fmod.com/u/SonarSound)\
**Post date:** [January 6, 2022, 6:26pm UTC](https://qa.fmod.com/t/crossfade-on-labelled-parameter/18189/1 "2022-01-06T18:26:46Z")

</div>

Hey Everyone!

Hope you all had nice holidays!

I’m trying to implement a weather system and the programmers and I have decided to use the labelled parameters for ease so clear, rain, snow etc. I have my audio in the parameter sheet as opposed to the timeline and am switching between each value but there doesn’t seem to be any kind of crossfade. I’ve looked into AHDSR’s but they seem to only work when triggering the event for the first time only and not switching between values. Anybody have any suggestions?

Thanks for your time and help!

---

<div class="post-metadata">

**Author:** ![Alcibiade](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/alcibiade/32/4284_2.png) [@Alcibiade](https://qa.fmod.com/u/Alcibiade)\
**Post date:** [January 6, 2022, 9:36pm UTC](https://qa.fmod.com/t/crossfade-on-labelled-parameter/18189/2 "2022-01-06T21:36:52Z")

</div>

Hi!  
If you want to smoothly transition between different volume automation values, it’s not directly possible. You could put a “+1” [here](https://qa.fmod.com/t/transitions-for-labelled-parameters/16828) or [here](https://qa.fmod.com/t/suggestion-seek-speed-on-everything/16947). There also are some (curbersome) workarounds on these links.

---

<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:** [January 7, 2022, 3:54am UTC](https://qa.fmod.com/t/crossfade-on-labelled-parameter/18189/3 "2022-01-07T03:54:15Z")

</div>

You should be able to use AHDSR on the volume properties of the individual instruments being triggered in the parameter value’s column. This should help with having a cross fade effect.

---

<div class="post-metadata">

**Author:** ![SonarSound](https://avatars.discourse-cdn.com/v4/letter/s/f475e1/32.png) [@SonarSound](https://qa.fmod.com/u/SonarSound)\
**Post date:** [January 7, 2022, 9:17am UTC](https://qa.fmod.com/t/crossfade-on-labelled-parameter/18189/4 "2022-01-07T09:17:47Z")

</div>

Thanks so much I’ll +1 those for sure!

@richard_simms thank you also! I tried this out last night and it does indeed work, although the audio has to be put in nested events or they won’t loop, is this the best way to do it do you think? If I have everything on the timeline it seems the AHDSR doesn’t work properly as it only works on a whole event not on a per clip basis.

Thanks so much for your time!

---

<div class="post-metadata">

**Author:** ![Alcibiade](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/alcibiade/32/4284_2.png) [@Alcibiade](https://qa.fmod.com/u/Alcibiade)\
**Post date:** [January 7, 2022, 10:23am UTC](https://qa.fmod.com/t/crossfade-on-labelled-parameter/18189/5 "2022-01-07T10:23:32Z")

</div>

> [@SonarSound](#):
>
> the audio has to be put in nested events or they won’t loop

You simply have to check the loop button on that instrument:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/3/3e9b4d0679e5f32d4efd516eb3cbb2df48d2043c.png)

> [@SonarSound](#):
>
> If I have everything on the timeline it seems the AHDSR doesn’t work properly as it only works on a whole event not on a per clip basis

The attack will work normally. But for the release to work, you have to make your instrument “async” and untrigger it while it still has some content to play. The release makes no sense for a synchronous instrument, since the release takes place after the instrument is untriggered (for instance when the playhead isn’t on the instrument anymore), and by definition a synchronous instrument only plays the content matching the playhead.

---

<div class="post-metadata">

**Author:** ![Mack121](https://avatars.discourse-cdn.com/v4/letter/m/df705f/32.png) [@Mack121](https://qa.fmod.com/u/Mack121)\
**Post date:** [January 11, 2022, 12:17pm UTC](https://qa.fmod.com/t/crossfade-on-labelled-parameter/18189/6 "2022-01-11T12:17:21Z")

</div>

Did you get the answer must share i got some issues which i can’t find out[.](https://www.prepaidgiftbalance.net/)
