# OSC messages and dynamic live\_loop creation

**URL:** <https://in-thread.sonic-pi.net/t/osc-messages-and-dynamic-live-loop-creation/3604>\
**Category:** Support, Help & Resources\
**Created:** [April 8, 2020, 3:47pm UTC](https://in-thread.sonic-pi.net/t/osc-messages-and-dynamic-live-loop-creation/3604 "2020-04-08T15:47:27Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![perpetual\_monday](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/perpetual_monday/32/955_2.png) [@perpetual\_monday](https://in-thread.sonic-pi.net/u/perpetual_monday)\
**Post date:** [April 9, 2020, 3:06pm UTC](https://in-thread.sonic-pi.net/t/osc-messages-and-dynamic-live-loop-creation/3604/8 "2020-04-09T15:06:01Z")

</div>

Maybe this (or other ideas in the same thread) could be useful to you? [Programmatically Creating Live Loops On The Fly](http://in-thread.sonic-pi.net/t/programmatically-creating-live-loops-on-the-fly/1919/10)

My goal was to create a solution where you could arbitrarily run (or stop) a piece of code within a live\_loop and it works well enough for my needs.

---

_[View the full topic](https://in-thread.sonic-pi.net/t/osc-messages-and-dynamic-live-loop-creation/3604)._
