Rejoy in C, made with joy in SPi

Rejoy in C! Thanks for listening :smiley:
Sound cloud/Rejoy in C

use_synth :piano

with_fx :eq, amp: 0.7 do
  with_fx :reverb, mix: 0.8 do
    live_loop :note do
      play (ring, :c4, :d4, :e4, :f4, :g4).choose, amp: 0.8 if rand< 0.6
      sleep 0.25
    end
    
    
    with_fx :ping_pong do
      live_loop :note2 do
        play :c5, amp: 0.3 if rand< 0.3
        with_fx :echo, mix: 0.8, amp: 0.5 do
          play :c2 if rand< 0.1
        end
        sleep 0.25
      end
    end
    
    live_loop :chord do
      play (chord_invert (chord :c3, :maj), 1) if rand< 0.3
      play (chord_invert (chord :f3, :maj), 1) if rand< 0.2
      play (chord_invert (chord :g3, :maj), 1) if rand< 0.1
      sleep 1
      
      live_loop :ryth do
        sample :loop_tabla, onset: rrand_i(0,10), amp: 3 if rand< 0.6
        sleep 0.25
        
      end
      
      
    end
  end
  
end