# How to slide control samples outside the thread

**URL:** <https://in-thread.sonic-pi.net/t/how-to-slide-control-samples-outside-the-thread/4631>\
**Category:** Support, Help & Resources\
**Created:** [November 17, 2020, 10:10am UTC](https://in-thread.sonic-pi.net/t/how-to-slide-control-samples-outside-the-thread/4631 "2020-11-17T10:10:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![holz](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/holz/32/1664_2.png) [@holz](https://in-thread.sonic-pi.net/u/holz)\
**Post date:** [November 17, 2020, 10:10am UTC](https://in-thread.sonic-pi.net/t/how-to-slide-control-samples-outside-the-thread/4631/1 "2020-11-17T10:10:17Z")

</div>

Hi guys,  
my question is how to slide control samples/play outside of the thread?  
i managed to control parameters like amp with sync and set but i can´t slide it that way, oh and it needs to control s in a live\_loop so the changed parameters repeat and i can change them live.  
It´s important that the control s is outside the thread so the time of the live\_loop :möp stays the same  
thanks in advance!!!

Like that:

```ruby
live_loop :möp do
s = sample :loop amen, amp_slide: 1
sleep 3
end

?
sleep1
control s, amp: 0
?

```

---

<div class="post-metadata">

**Author:** ![ethancrawford](https://avatars.discourse-cdn.com/v4/letter/e/a88e4f/32.png) [@ethancrawford](https://in-thread.sonic-pi.net/u/ethancrawford)\
**Post date:** [November 17, 2020, 10:25am UTC](https://in-thread.sonic-pi.net/t/how-to-slide-control-samples-outside-the-thread/4631/2 "2020-11-17T10:25:10Z")

</div>

Hi @holz, I have replied here:  
[I need a little help please ( i Would pay money for the solution)](https://in-thread.sonic-pi.net/t/i-need-a-little-help-please-i-would-pay-money-for-the-solution/4628/9)

---

<div class="post-metadata">

**Author:** ![holz](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/holz/32/1664_2.png) [@holz](https://in-thread.sonic-pi.net/u/holz)\
**Post date:** [November 17, 2020, 1:08pm UTC](https://in-thread.sonic-pi.net/t/how-to-slide-control-samples-outside-the-thread/4631/3 "2020-11-17T13:08:37Z")

</div>

Solved 😃  
Thankyyyyyyyyyyyyyyy

---

<div class="post-metadata">

**Author:** ![ethancrawford](https://avatars.discourse-cdn.com/v4/letter/e/a88e4f/32.png) [@ethancrawford](https://in-thread.sonic-pi.net/u/ethancrawford)\
**Post date:** [November 17, 2020, 1:27pm UTC](https://in-thread.sonic-pi.net/t/how-to-slide-control-samples-outside-the-thread/4631/4 "2020-11-17T13:27:39Z")

</div>

You’re welcome 😄 Have fun!
