# Delay Applied to Patterns

**URL:** <https://uzu.lurk.org/t/delay-applied-to-patterns/3821>\
**Category:** Uncategorized\
**Created:** [20 January 2022 15:55 UTC](https://uzu.lurk.org/t/delay-applied-to-patterns/3821 "2022-01-20T15:55:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KonVas](https://uzu.lurk.org/user_avatar/uzu.lurk.org/konvas/32/1049_2.png) [@KonVas](https://uzu.lurk.org/u/KonVas)\
**Post date:** [20 January 2022 15:55 UTC](https://uzu.lurk.org/t/delay-applied-to-patterns/3821/1 "2022-01-20T15:55:02Z")

</div>

I noticed sometimes that when I apply delay in one of the patterns it's applied to all running ones. Say I am doing this

```haskell
p "patname1" .... # delayfeedback 0.2

p "patname2" ....

```

`patname2` has delay too. Is there something weird with the busses in SC as a known issue?

K.

---

<div class="post-metadata">

**Author:** ![mrreason](https://uzu.lurk.org/user_avatar/uzu.lurk.org/mrreason/32/3203_2.png) [@mrreason](https://uzu.lurk.org/u/mrreason)\
**Post date:** [20 January 2022 17:18 UTC](https://uzu.lurk.org/t/delay-applied-to-patterns/3821/2 "2022-01-20T17:18:02Z")

</div>

This is because your streams with ids `patname1` and `patname2` uses the same (default) orbit 0.  
And something like delay is a so called "gobal effect" and applied to the audio result of an orbit.  
You need to specify your orbit to separate the result of the delay like:

```haskell
p "patname1" .... # delayfeedback 0.2 # orbit 0

p "patname2" .... # orbit 1

```

Now it should be clear, why d1...d'n is defined in this way:

```haskell
-- defined in BootTidal.hs
d1 = p 1 . (|< orbit 0)
d2 = p 2 . (|< orbit 1)

```

---

<div class="post-metadata">

**Author:** ![KonVas](https://uzu.lurk.org/user_avatar/uzu.lurk.org/konvas/32/1049_2.png) [@KonVas](https://uzu.lurk.org/u/KonVas)\
**Post date:** [21 January 2022 07:50 UTC](https://uzu.lurk.org/t/delay-applied-to-patterns/3821/3 "2022-01-21T07:50:37Z")

</div>

Oh I see, this may be a little bit confusing, it has to do with the orbits and their busses implementation in SuperCollider, as otherwise I don't see any point of mixing two patterns.
