# fading a sound sooner based on a parameter

**URL:** <https://qa.fmod.com/t/fading-a-sound-sooner-based-on-a-parameter/11767>\
**Category:** FMOD Studio\
**Created:** [December 16, 2014, 5:14pm UTC](https://qa.fmod.com/t/fading-a-sound-sooner-based-on-a-parameter/11767 "2014-12-16T17:14:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joez](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@joez](https://qa.fmod.com/u/joez)\
**Post date:** [December 16, 2014, 5:14pm UTC](https://qa.fmod.com/t/fading-a-sound-sooner-based-on-a-parameter/11767/1 "2014-12-16T17:14:09Z")

</div>

Hi, I have a 1shot sound. Based on a parameter speed, I would like that sound to change how it fades out.

1. I would like the sound to begin to fade out sooner as the speed parameter is increased
2. I would like the curve of the fade out to be shorter as the speed parameter is increased

Point 1 is more important than 2. I am fairly new to FMOD studio. Any help would be appreciated.  
thanks!

---

<div class="post-metadata">

**Author:** ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)\
**Post date:** [December 16, 2014, 11:24pm UTC](https://qa.fmod.com/t/fading-a-sound-sooner-based-on-a-parameter/11767/2 "2014-12-16T23:24:23Z")

</div>

At present, there is no easy way within Studio to create a fadeout such that the time over which it is applied can vary within a continuous range.

The best way to do this would be to control the volume of your event using a parameter, and to alter the value of that parameter at whatever rate you need in your game’s code.
