# Tire sfx event with a "terrain" parameter

**URL:** <https://qa.fmod.com/t/tire-sfx-event-with-a-terrain-parameter/19276>\
**Category:** FMOD Studio\
**Created:** [September 15, 2022, 5:14am UTC](https://qa.fmod.com/t/tire-sfx-event-with-a-terrain-parameter/19276 "2022-09-15T05:14:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fractanimal](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/fractanimal/32/3897_2.png) [@fractanimal](https://qa.fmod.com/u/fractanimal)\
**Post date:** [September 15, 2022, 5:14am UTC](https://qa.fmod.com/t/tire-sfx-event-with-a-terrain-parameter/19276/1 "2022-09-15T05:14:11Z")

</div>

Hi there,

I have a car tire system set up with 3 different terrains. The “terrain” parameter fades in and out nicely between 1 (asphalt) to 2 (dirt), as well as from 2 to 3 (grass), but when I need to go from 1 to 3, I can’t get the fade, because the terrain parameter has to go through dirt, to get from 1 (asphalt) to 3 (grass).

 ![terrain](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/d/d93f0ca4645eb93ccaabe9b4acd7f85ac74d2075.png)

What is the best way to set up different terrains for tires, while having a nice fade between each one. I don’t think this is the best way to do it because of the forementioned issue.

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:** [September 15, 2022, 7:26am UTC](https://qa.fmod.com/t/tire-sfx-event-with-a-terrain-parameter/19276/2 "2022-09-15T07:26:08Z")

</div>

Indeed, that’s not the best method. Maybe one day [my suggested feature](https://qa.fmod.com/t/suggestion-seek-speed-on-everything/16947) will be implemented and it will be possible to do that directly. But in the meantime, in your case, I think I would go with a discrete (labelled) “terrain” parameter, instead of continuous, and set an attack and release (AHDSR) on each instrument. The transition would then have a fixed timing, which would probably even be better than your transitions driven by the parameter’s value: after all the car can’t be at the same time on asphalt and dirt… The only drawback is the first time the event will play: the attack would also apply. But this could be acceptable if this attack value is sufficiently low.

---

<div class="post-metadata">

**Author:** ![fractanimal](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/fractanimal/32/3897_2.png) [@fractanimal](https://qa.fmod.com/u/fractanimal)\
**Post date:** [September 15, 2022, 9:53pm UTC](https://qa.fmod.com/t/tire-sfx-event-with-a-terrain-parameter/19276/3 "2022-09-15T21:53:12Z")

</div>

> [@Alcibiade](#):
>
> (AHDSR

Brilliant. that does the trick! Thank you.  
Follow up question, will it impact omptimization to select all the instruments like this and add AHDSR to all of them, as I’ve done here?

 ![ahdsr](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/d/d0f5f59cedba949a23d1a3120c473d0660ec94a4.png)

Would it be better to make a reference of each one in their own events, then bring them all into the one event so I would only have to apply one to each?

Thanks 🙂
