# Randomisation for a group of samples

**URL:** <https://in-thread.sonic-pi.net/t/randomisation-for-a-group-of-samples/5336>\
**Category:** Support, Help & Resources\
**Created:** [March 29, 2021, 5:23pm UTC](https://in-thread.sonic-pi.net/t/randomisation-for-a-group-of-samples/5336 "2021-03-29T17:23:52Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Eli](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/eli/32/116_2.png) [@Eli](https://in-thread.sonic-pi.net/u/Eli)\
**Post date:** [March 29, 2021, 11:52pm UTC](https://in-thread.sonic-pi.net/t/randomisation-for-a-group-of-samples/5336/3 "2021-03-29T23:52:46Z")

</div>

Someone asked a similar question… I just searched random samples, and found this:

> [@Ticking through samples randomly from outside folder](https://in-thread.sonic-pi.net/t/ticking-through-samples-randomly-from-outside-folder/1553/2):
>
> Hi there, tick is never random, it’s just a basic counter: 0, 1, 2, 3, 4.... For example: live\_loop :foo do sample path\_to\_sample\_folder, tick sleep 8 end This will play each successive sample (alphabetically in order) with 8 beats between sample triggers. It will always play them alphabetically as tick will always increase by one every time it is called (assuming there’s only one call to tick in the current live loop). However, if you want it to pick a random sample, you need to us…

Eli…

---

_[View the full topic](https://in-thread.sonic-pi.net/t/randomisation-for-a-group-of-samples/5336)._
