Lively late night jam bpm 180 YT #sonicpi

# 231118 0142 lively late night jam bpm 180 YT
# Saved 231118 0142
# YT https://youtu.be/sx8wbVnEvmM
# https://in-thread.sonic-pi.net/t/lively-late-night-jam-bpm-180-yt-sonicpi/8376


set_volume! 2
use_bpm 180

with_fx :reverb, room: 0.5 do
  
  
  with_fx :krush, mix: [0,0.2,0.4,0.6].choose,cutoff: [40,80,90,100,130].choose, res: [0,0.2,0.4,0.8].choose do
    with_fx  :bitcrusher do
      live_loop :a1 do
        tick
        
        / melody /
        melody = knit(1,32,2,32,0,32).look
        #      melody = 1
        case melody
        when 0
          note = 0
        when 1
          k = 16
          note = 0
          
          use_synth :prophet
          use_synth_defaults release: [0.1,0.2,0.3,0.5].choose, cutoff: 80+[50,0,0,30,20,10].look, amp: [0.5,0.7,0.9,0.2].choose
          play :c5+note
          use_synth :saw
          use_synth_defaults release: [0.1,0.2,0.3,0.5].choose, cutoff: 80+[50,0,0,30,20,10].look, amp: [0.5,0.7,0.9,0.2].choose
          play :c4+note
        when 2
          k = 16
          note = knit(0,k,3,k/4,7,k/4).look
          
          use_synth :prophet
          use_synth_defaults release: [0.1,0.2,0.3,0.5].choose, cutoff: 80+[50,0,0,30,20,10].look, amp: [0.5,0.7,0.9,0.2].choose
          play :c5+note
          use_synth :saw
          use_synth_defaults release: [0.1,0.2,0.3,0.5].choose, cutoff: 80+[50,0,0,30,20,10].look, amp: [0.5,0.7,0.9,0.2].choose
          play :c4+note
        end
        sleep [0.5,0.5,1].choose
      end
      
      
      / bass /
      live_loop :a2 do
        tick
        use_synth :saw
        use_synth_defaults release: [0.1,0.2,0.3,0.5].shuffle.choose
        play :c2+knit(0,16,-2,16).look
        sleep [0.5,0.5,1].choose
      end
      
      / hihat /
      live_loop :hat do
        tick
        use_synth :noise
        
        use_synth_defaults release: 0.01, pan: rdist(0.75), amp: [0.5,0.7,0.3].choose+([0,0,1]*3+[0,4,1,0,0]).look, cutoff: [80,100,110,30].look
        play :c2
        sleep 0.5
      end
      
      / snare /
      live_loop :snare do
        tick
        sample :bd_chip, amp: 2, pan: rdist(0.5), rpitch: 12+12+12 if (spread(2,4)*3+spread(3,4)).look
        sleep knit(1,12,0.25,12).look
      end
      
    end
  end
  
  / kick /
  live_loop :kick1 do
    tick
    sample :bd_haus, cutoff: 76, amp: 2 if spread(4,5).look
    sleep ([2,2,0.5,1,2.5]*3+[1,1,1,5]).look
  end
  
  / beep melody /
  with_fx :reverb, room: 0.8 do
    live_loop :top_melody do
      tick
      sleep 1
      top_mel = knit(0,4,1,4).look
      case top_mel
      when 0
      when 1
        play [:c6, :c5, :c5, :c5+7, :c5-5].look, amp: 0.75
      end
      sleep [8,8,4].choose
    end
  end
  
end
1 Like