# How do I do "round-robin"-style randomization or prevent the same sound from playing twice in a row?

**URL:** <https://qa.fmod.com/t/how-do-i-do-round-robin-style-randomization-or-prevent-the-same-sound-from-playing-twice-in-a-row/12332>\
**Category:** FMOD Studio\
**Created:** [February 24, 2016, 4:29pm UTC](https://qa.fmod.com/t/how-do-i-do-round-robin-style-randomization-or-prevent-the-same-sound-from-playing-twice-in-a-row/12332 "2016-02-24T16:29:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arcus](https://avatars.discourse-cdn.com/v4/letter/a/edb3f5/32.png) [@Arcus](https://qa.fmod.com/u/Arcus)\
**Post date:** [February 24, 2016, 4:29pm UTC](https://qa.fmod.com/t/how-do-i-do-round-robin-style-randomization-or-prevent-the-same-sound-from-playing-twice-in-a-row/12332/1 "2016-02-24T16:29:25Z")

</div>

I really like the simplicity of FMOD Studio’s randomizing to provide additional variations. I know I can specify play percentage in multi-sound (or scatter) events to give some sounds more of a likelihood of triggering than others.

More background on what I mean by “round robin”: [http://www.kvraudio.com/forum/viewtopic.php?t=274098](http://www.kvraudio.com/forum/viewtopic.php?t=274098)

But how do I set it so sounds do NOT play twice in a row, even if randomized? Similar to some software samplers that can alternate through a group of samples, but not play the same one twice consecutively.

Or, less flexibly but still useful in some situations, a way for it to play sounds in a given order, then repeat that order.

Is there a subtle control I am missing?

Thank you.

---

<div class="post-metadata">

**Author:** ![JesseLyon](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@JesseLyon](https://qa.fmod.com/u/JesseLyon)\
**Post date:** [February 24, 2016, 5:16pm UTC](https://qa.fmod.com/t/how-do-i-do-round-robin-style-randomization-or-prevent-the-same-sound-from-playing-twice-in-a-row/12332/2 "2016-02-24T17:16:01Z")

</div>

> [@](#):
>
> I really like the simplicity of FMOD Studio’s randomizing to provide additional variations. I know I can specify play percentage in multi-sound (or scatter) events to give some sounds more of a likelihood of triggering than others.
> 
> More background on what I mean by “round robin”: [What is "round robin" - Instruments Forum - KVR Audio](http://www.kvraudio.com/forum/viewtopic.php?t=274098)
> 
> But how do I set it so sounds do NOT play twice in a row, even if randomized? Similar to some software samplers that can alternate through a group of samples, but not play the same one twice consecutively.
> 
> Or, less flexibly but still useful in some situations, a way for it to play sounds in a given order, then repeat that order.
> 
> Is there a subtle control I am missing?
> 
> Thank you.

Agreed, a random no repeat feature would be a great addition to Multi and Scatterer Sounds.

---

<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:** [February 24, 2016, 11:33pm UTC](https://qa.fmod.com/t/how-do-i-do-round-robin-style-randomization-or-prevent-the-same-sound-from-playing-twice-in-a-row/12332/3 "2016-02-24T23:33:59Z")

</div>

I’m not sure I understand your “a way for it to play sounds in a given order, then repeat that order” suggestion. How does this differ from Studio’s existing sequential playback behaviour?

---

<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:** [February 24, 2016, 11:33pm UTC](https://qa.fmod.com/t/how-do-i-do-round-robin-style-randomization-or-prevent-the-same-sound-from-playing-twice-in-a-row/12332/4 "2016-02-24T23:33:03Z")

</div>

**"Random no repeat" is actually the default behaviour of playlists in FMOD Studio.** It was used so ubiquitously in FMOD Designer that we made it standard.

That being said, if you specify a play percentage for any of the entries in a playlist, the “no repeat” mode is automatically be turned off for that playlist. This is to prevent the “no repeat” behaviour from distorting the actual play percentages away from the values you specify.

---

<div class="post-metadata">

**Author:** ![Arcus](https://avatars.discourse-cdn.com/v4/letter/a/edb3f5/32.png) [@Arcus](https://qa.fmod.com/u/Arcus)\
**Post date:** [February 25, 2016, 4:34pm UTC](https://qa.fmod.com/t/how-do-i-do-round-robin-style-randomization-or-prevent-the-same-sound-from-playing-twice-in-a-row/12332/5 "2016-02-25T16:34:23Z")

</div>

> [@](#):
>
> **“Random no repeat” is actually the default behaviour of playlists in FMOD Studio.** It was used so ubiquitously in FMOD Designer that we made it standard.
> 
> That being said, if you specify a play percentage for any of the entries in a playlist, the “no repeat” mode is automatically be turned off for that playlist. This is to prevent the “no repeat” behaviour from distorting the actual play percentages away from the values you specify.

Thanks for confirming that behavior, Joseph! (Did I miss prior documentation somewhere?) I must’ve been confused at one point because I’ve been using play percentage a lot.

Also, what you said about “Studio’s existing sequential playback behaviour” fulfills my needs too.

---

<div class="post-metadata">

**Author:** ![JesseLyon](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@JesseLyon](https://qa.fmod.com/u/JesseLyon)\
**Post date:** [February 25, 2016, 5:07pm UTC](https://qa.fmod.com/t/how-do-i-do-round-robin-style-randomization-or-prevent-the-same-sound-from-playing-twice-in-a-row/12332/6 "2016-02-25T17:07:59Z")

</div>

Ahha! I didnt realize this either, great to know thx.
