sonic pi

  • Trying my hand at making music with Sonic Pi

    Ruby
    live_loop :flibble do
      sample :ambi_choir, rate: 0.2 # change this number to modulate pitch
      sample :bd_haus, rate: 1
    end

    Ruby
    live_loop :flibble do
      sample :ambi_piano, rate: 0.25
      sample :bd_klub, rate: 0.5, amp: 5.0
      sleep 1
    end