# SonicPiRemix_2022-08-11

Little Improv SonicPi Session by remixing Today's code tweeted by @iamnotsonicpi

<blockquote class="twitter-tweet"><p lang="en" dir="ltr">use_synth :mod_fm <br> use_random_seed 300000<br> <br> live_loop :eddie do <br> play choose( [ :Cs5, :Gs5, :E3 ] ) ,attack: 3 ,delay: 0.2 ,sustain: 2 ,release: 4 <br> sleep 1 <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/1557712224084377600?ref_src=twsrc%5Etfw">August 11, 2022</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

## Remixes for the Tweet

This remix of the above code places emphasis on manipulating how the sound is perceived by replacing the ***delay*** function with ***decay*** and adding the ***Echo*** & ***PingPong*** effects

<iframe width="100%" height="300" scrolling="no" frameborder="no" allow="autoplay" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/1322263486&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/2022-08-11-sonicpiremix-echo" title="2022 - 08 - 11 - SonicPiREmix Echo" target="_blank" style="color: #cccccc; text-decoration: none;">2022 - 08 - 11 - SonicPiREmix Echo</a></div>


```Ruby
with_fx :ping_pong do
  with_fx :echo do
    live_loop :eddie do
      synth :mod_fm
      play choose([:Fs3,:Ds5,:B3]),attack: dice(4),decay: dice(5),sustain: 2,release:[1,1.5,3].choose
      sleep [0.25,1].choose
    end
  end
end


``` 


This snippet of code starts off with the effects : ***hpf(high pass filter)***, ***ixi_techno*** & ***ping_pong*** while also adding more musical depth through the ***chord *** function

Also decided to change the synth to **chiplead
**

<iframe width="100%" height="300" scrolling="no" frameborder="no" allow="autoplay" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/1322246758&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/2022-08-11-sonicpiremix-chords" title="2022 - 08 - 11 - SonicPiREmix Chords" target="_blank" style="color: #cccccc; text-decoration: none;">2022 - 08 - 11 - SonicPiREmix Chords</a></div>

```ruby

with_fx :hpf do
  with_fx :ping_pong, mix: 0.6 do
    with_fx :ixi_techno, mix: 0.7 do
      live_loop :eddie do
        synth :chiplead
        play choose(chord([:E3,:Cs5,:Gs5].choose, :major)),attack: 3,delay: [0.5,1,2].choose,sustain: 2 ,release: dice(4), cutoff: rrand(60, 120)
        sleep [0.25,0.5,1,2].choose
      end
    end
  end
end


``` 


