Prepared live coding from scratch in Sonic Pi with big reverb and sine synth #sonicpi

# 240703 0001 Prepared live coding from scratch in Sonic Pi with big reverb and sine synth
# Saved 240703 0001
# Created by https://linktr.ee/relaxnow
# Performance https://youtu.be/xo58Fofr1nI
# Sound begins at 1:30 https://youtu.be/xo58Fofr1nI?si=uu5miVuTzlDb4L2G&t=91


set_volume! 2

define :s do |a,b|
  spread(a,b)
end


with_fx :reverb, room: 0.99 do
  
  live_loop :a1 do
    tick
    play :c2 if bools(1,0,1, 0,0,1, 0,1,1, 0,0,0).look
    play :c4+knit(0,7*2,-2,7*2).look, amp: 0.3 if s(1,7).look
    sample :bd_gas, amp: 4 if s(1,15).look
    sample :sn_dolf, finish: 0.0045 if (s(5,7)*3+s(1,5)).look
    sleep 0.25
  end
  
  live_loop :a2 do
    tick
    
    a = 0.1 # 0.1 or 0.04
    r = 0.2 # 0 or 0.2
    
    use_synth :sine
    use_synth_defaults cutoff: [60,70,90,110].choose, release: [0.05,0.12,0.025].choose+r
    
    density [1,1,1,1,2].look do
      play scale(:c5, :mixolydian).choose, amp: a if s(3,5).look and one_in(2)
      play scale(:c6, :mixolydian).choose, amp: a if (s(14,15)*3+s(1,15)).look and one_in(2)
      sleep 0.25
    end
  end
  
end

3 Likes

Nicely done! I like the ‘global’ spread function, very handy. And the interweaving mixolydian melodies too.

I look forward to more of these videos @Relaxnow

PD-Pi

1 Like