# SonicPi Remix  - 2022-05 -07

Little Improv [Sonic Pi ](https://sonic-pi.net/)*session by remixing Code Tweeted by @Iamnotsonicpi

<blockquote class="twitter-tweet"><p lang="en" dir="ltr">live_loop :Donetsk do <br> play choose( [ :G4, :Bs3, :C1 ] ) ,attack: 3 ,delay: 3 ,amp: 0.5 <br> sleep 0.5 <br> end <br> # Run this in <a href="https://twitter.com/hashtag/SonicPi?src=hash&amp;ref_src=twsrc%5Etfw">#SonicPi</a> - get it at <a href="https://t.co/YzinCTcTP8">https://t.co/YzinCTcTP8</a></p>&mdash; iamnotsonicpi (@iamnotsonicpi) <a href="https://twitter.com/iamnotsonicpi/status/1522921671476142081?ref_src=twsrc%5Etfw">May 7, 2022</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

## **Remixes For The Tweet**


```
with_fx :hpf, mix: 0.67 do
  with_fx :whammy, mix: 0.24 do
    live_loop :Donetsk do
      play choose( [:G4,:Bs3,:C1]),attack: dice(3) ,sustain: dice(3),amp: dice(2) #adding dice for more variance to the sound
      sleep [0.25,0.5].choose
    end
  end
end


``` 

*For the next snippet of code, decided to have an array of effects to make the sound more "dynamic", which can be seen in the second line*

```
with_fx :hpf, mix: 0.67 do
  with_fx [:whammy,:flanger,:vowel].choose, mix: 0.24 do
    live_loop :Donetsk do 
      play choose( [:G4,:Bs3,:C1]),decay: dice(3) ,sustain: dice(3),amp: dice(2)
      sleep [0.25,0.5].choose
    end
  end
end
```

*In this next snippet, decided to add the previous snippets together and add a distortion effects alongside a krush*

```
with_fx :hpf, mix: 0.67 do
  with_fx [:whammy,:ixi_techno,:ixi_techno].tick, mix: 0.24 do
    live_loop :Donetsk do
      play choose( [:G4,:Bs3,:C1]),attack: dice(3) ,sustain: dice(3),amp: dice(2)
      sleep [0.25,0.5].choose
    end
  end
end

with_fx :distortion, distort: [0.5, 0.4,0.3,0.2,0.1,0.2,0.3,0.4,0.5].tick do
  with_fx :hpf, mix: 0.67 do
    with_fx [:whammy,:flanger,:vowel].choose, mix: 0.24 do
      live_loop :Dontsk do
        play choose( [:G4,:Bs3,:C1]),decay: dice(3) ,sustain: dice(3),amp: dice(2)
        sleep [0.25,0.5].choose
      end
    end
  end
end


```

**Final sound of the combo can be heard here:**

<iframe width="100%" height="300" scrolling="no" frameborder="no" allow="autoplay" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/1263911827&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true"></iframe><div style="font-size: 10px; color: #cccccc;line-break: anywhere;word-break: normal;overflow: hidden;white-space: nowrap;text-overflow: ellipsis; font-family: Interstate,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Garuda,Verdana,Tahoma,sans-serif;font-weight: 100;"><a href="https://soundcloud.com/llestreacha" title="IllestPreacha" target="_blank" style="color: #cccccc; text-decoration: none;">IllestPreacha</a> · <a href="https://soundcloud.com/llestreacha/distorted-notes" title="Distorted Notes" target="_blank" style="color: #cccccc; text-decoration: none;">Distorted Notes</a></div>
