# Play only when parameter is going on direction?

**URL:** <https://qa.fmod.com/t/play-only-when-parameter-is-going-on-direction/18126>\
**Category:** FMOD Studio\
**Created:** [December 21, 2021, 10:25am UTC](https://qa.fmod.com/t/play-only-when-parameter-is-going-on-direction/18126 "2021-12-21T10:25:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![trjaudio](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@trjaudio](https://qa.fmod.com/u/trjaudio)\
**Post date:** [December 21, 2021, 10:25am UTC](https://qa.fmod.com/t/play-only-when-parameter-is-going-on-direction/18126/1 "2021-12-21T10:25:07Z")

</div>

Hi. I have an engine.  
I have made a general sound for it, but would like a burst sound to play whenever the “speed” value is going from zero and reaches a certain point. ( start up burst sound).  
I _don’t_ want the sound to play when the same point has been reached from any value above.  
Only when below and going to the point. Not when above and going to the point.

Any way to do this inside fmod?  
Thanks

---

<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:** [December 21, 2021, 2:44pm UTC](https://qa.fmod.com/t/play-only-when-parameter-is-going-on-direction/18126/2 "2021-12-21T14:44:01Z")

</div>

Hi, you could use my “ghost parameter” trick: [Locomotive Engine Sounds -- A bit of an enigma - #3 by Alcibiade](https://qa.fmod.com/t/locomotive-engine-sounds-a-bit-of-an-enigma/16911/3)  
However, that would be cleaner to implement that logic inside the game code.

---

<div class="post-metadata">

**Author:** ![trjaudio](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@trjaudio](https://qa.fmod.com/u/trjaudio)\
**Post date:** [December 21, 2021, 2:44pm UTC](https://qa.fmod.com/t/play-only-when-parameter-is-going-on-direction/18126/3 "2021-12-21T14:44:48Z")

</div>

Awesome. Thanks again Alcibiade:)
