(I know it’s not what Underdog did in the video, but it’s inspired from the video)
# 251103 2132 Bass and noise jam in Sonic Pi YT
# created by Relaxnow
# Performance https://youtu.be/V4tVegt2xRs
# https://in-thread.sonic-pi.net/t/bass-and-noice-jam-in-sonic-pi/9878
## Inspired from
## Bass fizzle: how Blawan and Doom make their basses CRUNCH
## From: Underdog Electronic Music School
## youtube.com/watch?v=z3uO1IwJM7Q
set_volume! 2
with_fx :distortion do |d|
with_fx :krush do |kr|
with_fx :reverb do |r|
live_loop :a1 do
tick
kn = 32
control kr, res: [0,0,0,0,0.2,0.4,0.8].choose, pre_mix: [0,0,0,0.2,0.4,0.8].choose, mix: knit(0.2,kn, 0.6,kn).look
control d, distort: [0,0.2,0.4,0.8].choose, pre_mix: [0.2,0.4,0.8].choose
control r, room: [0,0.2,0.4,0.8].choose, pre_mix: [0.2,0.4,0.8].choose
ki = 16
kick = knit(0,ki*3, 1,ki, 2,ki*4).look
case kick
when 0
when 1
sample :bd_fat, amp: 2 if (spread(1,12)*1+spread(3,4).rotate(1)).look
when 2
sample :bd_fat, amp: 2 if spread(11,32).look
end
k = 16
n = :c2+knit(0,k*2,-2,k*2).look
n1 = n+12
hi = 16
highnotes = 0
highnotes = knit(0,hi*3, 1,hi*4,2, hi*4).look
case highnotes
when 0
when 1
n2 = :c5
when 2
nn = 4
n2 = :c5+knit(0,nn*6, 7,nn*2, 5,nn, -2,nn).look
end
use_synth :sine
use_synth_defaults release: [0.1,0.2,0.4].choose+0.4
play n if spread(1,16).look
use_synth_defaults release: [0.1,0.2,0.4].choose
play n1+line(0,0.4,steps: 8).choose, pan: rdist(0.6) if spread(7,16).look
use_synth_defaults release: [0.1,0.2,0.4].choose
play n2+line(0,0.3,steps: 8).choose, pan: rdist(0.6), amp: 0.25 if spread(11,16).look #and one_in(3)
use_synth :bnoise
use_synth_defaults release: [0.1,0.2,0.4].choose, cutoff: rrand_i(50,90)
play n+line(0,0.2,steps: 8).choose, pan: rdist(0.4), amp: 0.4 if spread(11,16).look
sleep 0.25
end
end
end
end