PieingTheSonic3
For the 22nd day of MinaCoding2024 : "Play Alone", PieingtheSonic3 takes PieingtheSonic with the aid of SonicPi and track layering, to play around with it to bring it to this coded composition.
Poetry
Imitation
Inspiration
Indention
When they merge
And the thoughts finally diverges
What outcome emerges?
Audio
SonicPi Code
def sounds (bpm,loop,sample1,timer)
x = [[:D4,:Gs5, :D1],[:A4,:Cs5, :E1] ,[:B4,:Ds2, :B3], [:A3,:Cs2,:Cs4],[:F3,:Ds2,:Bs4],[:C4,:A3,:A2]]
use_bpm bpm
live_loop loop do
counter = x.choose
use_random_seed (Time.now.to_i)/timer
with_fx [:level,:whammy,:vowel].choose, mix: rrand(0.2,0.7) do
use_synth [:prophet,:piano,:piano].choose
play :Cs2
sample sample1, beat_stretch: timer / 3 + 0.2
sleep [0.25,0.5,1].choose
play choose(counter) ,amp: rrand(0.2,2)
sleep [0.25,0.5,0.75,1].choose
end
end
end
sounds([15,30].tick,:berdy,:guit_e_slide,2)
sounds([15,60].tick,:birdy,:ambi_piano,3)
sounds([60,30].tick,:bordy,:elec_bong,4)
sounds([30,60].tick,:bardy,:ambi_piano,5)