Longboard dropcat ride and Sonic Pi music
# 260506 longboard-dropcat-ride-and-sonic-pi-music-yt
# Saved 260605
# https://youtu.be/Qrf93wIa6_o
# https://in-thread.sonic-pi.net/t/longboard-dropcat-ride-and-sonic-pi-music-yt/10001
n = [0,7, 8, 10, 12, 14, 15, 17, 19]
set_volume! 1
use_bpm 110
with_fx :reverb, room: 0.7 do
live_loop :a1 do
tick
use_synth :saw
use_synth_defaults cutoff: 80+rdist(20), release: 0.6
# bass
k = 128
bas = knit(1,k,2,k).look
case bas
when 0
when 1
play :c2+[0,0,0,0, 12,12,0,].look+knit(0,32,-2,16,-4,16).look, pan: rdist(0.2) if spread(3,7).look
use_synth :square
play :c2+[0,0,0,0, 12,12,0,].look+knit(0,32,-2,16,-4,16).look, pan: rdist(0.4) if spread(3,7).look
when 2
play :c2+[0,0,0,0, 12,12,0,].look+knit(0,8, -2,32-8, 5,16, 7,8, -2,8).look if spread(3,7).look
use_synth :square
play :c2+[0,0,0,0, 12,12,0,].look+knit(0,8, -2,32-8, 5,16, 7,8, -2,8).look if spread(3,7).look
end
# random top notes from n
use_synth :saw
play :c4+n.pick(2).look-12+[0,0,0,0, 12,12,0,].look, pan: rdist(0.75) if spread(3,7).shuffle.look
sleep 0.25
end
end
with_fx :reverb,room: 0.4 do
live_loop :a2 do
tick
sample :bd_haus, cutoff: 90, amp: 4 if spread(1,4).look
sample :bd_fat, amp: 4 if spread(1,7).look
sample :bd_fat, rpitch: 36, amp: 4, pan: rdist(0.2) if spread(1,7).rotate(4).shuffle.look
k = 128
use_synth knit(:noise,k, :beep, k).look
use_synth_defaults release: [0.05,0.001,0.002].choose, decay: 0, sustain: [0.01,0.05,0.02,0.01,0.1].choose, cutoff: line(80,130,steps: 128).mirror.look
play :c5+[0,0,12,0,0,0,12].look, pan: rdist(0.7) if spread(6,7).shuffle.look
sleep 0.25
end
end
with_fx :reverb, room: 0.9 do
with_fx :ping_pong, feedback: 0.7 do
live_loop :a3 do
tick
k = 1
use_synth_defaults amp: 0.3
play :c6+knit(0,k,-2,k, 3,k,5,k).look
sleep 1.5
play :c6+knit(0,k,-2,k, 3,k,5,k).rotate(3).look
sleep 5.5
end
end
end