# Help: How to add a set amount of silence after a track plays?

**URL:** <https://qa.fmod.com/t/help-how-to-add-a-set-amount-of-silence-after-a-track-plays/17361>\
**Category:** FMOD Studio\
**Tags:** unity\
**Created:** [June 17, 2021, 5:25pm UTC](https://qa.fmod.com/t/help-how-to-add-a-set-amount-of-silence-after-a-track-plays/17361 "2021-06-17T17:25:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![raydee99](https://avatars.discourse-cdn.com/v4/letter/r/eb9ed0/32.png) [@raydee99](https://qa.fmod.com/u/raydee99)\
**Post date:** [June 17, 2021, 5:25pm UTC](https://qa.fmod.com/t/help-how-to-add-a-set-amount-of-silence-after-a-track-plays/17361/1 "2021-06-17T17:25:08Z")

</div>

I’m fairly new to FMOD (just picked it up this week) and was wondering how I would go about adding a set amount of silence (something like 15 to 90 seconds) between tracks. My tracks are currently being played through a multi-instrument that’s set to random but instead of randomly going through them all on repeat, I’d like a bit of silence in-between–sort-of like how Minecraft does. How would I go about doing this?

---

<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:** [June 21, 2021, 10:39am UTC](https://qa.fmod.com/t/help-how-to-add-a-set-amount-of-silence-after-a-track-plays/17361/2 "2021-06-21T10:39:03Z")

</div>

You can either manually add silence into each asset through an external sound editor, or you can utilize a sustain point at the end of the multi instrument and program a random timer before setting off the key off command. The event could look something like this

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/e/e8056090fe9479876bbb9ae2cbff0869d52b9ecc.png)

You can then use [`EventInstance::keyOff()`](https://www.fmod.com/resources/documentation-api?version=2.02&page=studio-api-eventinstance.html#studio_eventinstance_keyoff) in code to leave the sustain point and return to the start of the event, retriggering the multi instrument.

---

<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:** [June 21, 2021, 12:22pm UTC](https://qa.fmod.com/t/help-how-to-add-a-set-amount-of-silence-after-a-track-plays/17361/3 "2021-06-21T12:22:30Z")

</div>

You also could automate this by nesting your multi in an action sheet, with a silence instrument after the multi, and by activating the loop option in the sheet.
