# More real randomization

**URL:** <https://in-thread.sonic-pi.net/t/more-real-randomization/608>\
**Category:** \[P\] Patreon Support\
**Created:** [January 11, 2018, 10:20am UTC](https://in-thread.sonic-pi.net/t/more-real-randomization/608 "2018-01-11T10:20:35Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![matas](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/matas/32/354_2.png) [@matas](https://in-thread.sonic-pi.net/u/matas)\
**Post date:** [January 11, 2018, 8:33pm UTC](https://in-thread.sonic-pi.net/t/more-real-randomization/608/5 "2018-01-11T20:33:19Z")

</div>

Eli, thank you, but this is not the solution. As you may or may not know all randomization functions in SonicPi are not actually random. They just appear random.  
`rand_i(10000)` will always return 7500 on first iteration of any run. Also every sequential iterations will follow the same pattern. This behavior is intentional in SonicPi as the code should always produce identical outcome on every run. In other words the behavior has to be reproducible.  
However for my specific use for guitar practice, I did’n want the pattern to be the same on every run. And for that I need an ever changing seed. As in Martin’s reply, Time.now() provides me exactly that.

---

_[View the full topic](https://in-thread.sonic-pi.net/t/more-real-randomization/608)._
