# Interactively increase / decrease the number or play percentage of music tracks inside a playlist

**URL:** <https://qa.fmod.com/t/interactively-increase-decrease-the-number-or-play-percentage-of-music-tracks-inside-a-playlist/18077>\
**Category:** FMOD Studio\
**Created:** [December 9, 2021, 11:58am UTC](https://qa.fmod.com/t/interactively-increase-decrease-the-number-or-play-percentage-of-music-tracks-inside-a-playlist/18077 "2021-12-09T11:58:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kyrildrums](https://avatars.discourse-cdn.com/v4/letter/k/6bbea6/32.png) [@kyrildrums](https://qa.fmod.com/u/kyrildrums)\
**Post date:** [December 9, 2021, 11:58am UTC](https://qa.fmod.com/t/interactively-increase-decrease-the-number-or-play-percentage-of-music-tracks-inside-a-playlist/18077/1 "2021-12-09T11:58:40Z")

</div>

Hey there,

What I would like to achieve is, that when a specific game parameter rises, the content of my music track playlist is changing. So when the parameter is at zero, a handful of selected music tracks are being played randomly. But when this parameter increases, FMOD adds a few more music tracks to that playlist (or increase their play percentage), whilst removing others (or decreasing their play percentage to zero).

I wonder if that’s possible. However I couldn’t find a way to automate the play percentage ☹

Greetings  
Felix

---

<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 9, 2021, 1:35pm UTC](https://qa.fmod.com/t/interactively-increase-decrease-the-number-or-play-percentage-of-music-tracks-inside-a-playlist/18077/2 "2021-12-09T13:35:22Z")

</div>

It’s not directly possible to automate play percentage (I wish it could). A workaround would be to use different multis, containing the desired playlists, and switch from a multi to another with a parameter ; however managing the transitions will be tricky…

---

<div class="post-metadata">

**Author:** ![kyrildrums](https://avatars.discourse-cdn.com/v4/letter/k/6bbea6/32.png) [@kyrildrums](https://qa.fmod.com/u/kyrildrums)\
**Post date:** [December 9, 2021, 1:53pm UTC](https://qa.fmod.com/t/interactively-increase-decrease-the-number-or-play-percentage-of-music-tracks-inside-a-playlist/18077/3 "2021-12-09T13:53:52Z")

</div>

Thanks for your reply!  
Yeah, that was also what I was thinking. It could work in a way, but it wouldn’t be smooth and the playlist couldnt grow slightly, it would rather be an instant change of music tracks.

---

<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 9, 2021, 1:55pm UTC](https://qa.fmod.com/t/interactively-increase-decrease-the-number-or-play-percentage-of-music-tracks-inside-a-playlist/18077/4 "2021-12-09T13:55:51Z")

</div>

Yeah, but you could script in your game code to trigger the new playlist only when the last track has finished, if you don’t need fancy cross-fades…

---

<div class="post-metadata">

**Author:** ![kyrildrums](https://avatars.discourse-cdn.com/v4/letter/k/6bbea6/32.png) [@kyrildrums](https://qa.fmod.com/u/kyrildrums)\
**Post date:** [December 9, 2021, 2:02pm UTC](https://qa.fmod.com/t/interactively-increase-decrease-the-number-or-play-percentage-of-music-tracks-inside-a-playlist/18077/5 "2021-12-09T14:02:22Z")

</div>

Okay that’s nice! That could solve one side of the problem.
