# SonicPiRemix_2023-01-08

Remixing today's [Iamnotsonicpi](https://twitter.com/iamnotsonicpi) tweet

%[https://twitter.com/iamnotsonicpi/status/1612071892621627392?s=20] 

### **Modifications**

* Wanted to emphasize the piano sounds more by adding more **sustain** and **decay** to the sound
    
* Added a drum sample to play alongside the piano
    
* Added a second piano line with slight changes to the notes
    
* Put in more variables to include in the sleep function
    

<iframe width="100%" height="300" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/1419542920&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true"></iframe>

[IllestPreacha](https://soundcloud.com/llestreacha) · [2023 - 01 - 08 - SonicPiRemix1](https://soundcloud.com/llestreacha/2023-01-08-sonicpiremix1)

### **Remix #1**

```ruby

live_loop :KP do
  with_fx :rbpf do
    with_fx :flanger, mix: [0.2,0.3,0.4].tick do
      use_synth :piano
      play [:A2,:C2,:C3,:E4,:G5].choose,delay: dice(4), decay: dice(6)
      play [:A4,:C5,:E2,:E4,:G2].choose,sustain: dice(5), attack: dice(7)
      sample :drum_bass_hard, beat_stretch: 0.9, amp: dice(3)
      sleep [0.25,0.5,0.75,1,2,4].choose
    end
  end
end
```

<iframe width="100%" height="300" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/1419545281&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true"></iframe>

[IllestPreacha](https://soundcloud.com/llestreacha) · [2023 - 01 - 08 - SonicPiRemix2](https://soundcloud.com/llestreacha/2023-01-08-sonicpiremix2)

### Remix #2

```ruby
live_loop :KP do
  with_fx :ixi_techno, mix: 0.13 do
    with_fx :distortion, mix: [0.13,0.25,0.34].tick do
      use_synth :piano
      play [:A2,:C2,:C3,:E4,:E2,:G2].choose,delay: dice(4), decay: dice(6)
      play [:A1,:C5,:E2,:E4,:C3,:G2].choose,sustain: dice(5), attack: dice(7)
      sample :drum_bass_hard, beat_stretch: 0.9, amp: dice(3)
      sleep [0.5,1,2,4].choose
    end
  end
end

```
