Little Improv Sonic Pi *session by remixing Code Tweeted by @Iamnotsonicpi
live_loop :Donetsk do
— iamnotsonicpi (@iamnotsonicpi) May 7, 2022
play choose( [ :G4, :Bs3, :C1 ] ) ,attack: 3 ,delay: 3 ,amp: 0.5
sleep 0.5
end
# Run this in #SonicPi - get it at https://t.co/YzinCTcTP8
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: