JorshTheHacker

JorshTheHacker

use_bpm 120
melody = [:cs5, :c4, :fb4, :d4, :b5, :cs5, :bb5, :db5, :cs5, :cs5, :as4, :fs4, :f4, :a4,
          :gb5, :gb4, :cs5, :cs4, :bb4, :bb5, :bb5, :cs4, :gs5, :g5].ring

with_fx :echo, phase: 0.25 do
  live_loop :needle do
    synth :mod_tri, note: melody.tick, amp: 0.5, mod_phase: 0.125, attack: 0, release: 0.45
    sleep 0.5
  end
end

sleep 4


with_fx :bitcrusher, bits: 6 do
  
  live_loop :bd do
    sample :bd_gas, amp: 5
    sample :bd_haus, amp: 1
    sleep 0.5
    sample :glitch_perc2, rate: 2
    sleep 1.5
  end
  
  sleep 6
  
  live_loop :sn do
    use_sample_defaults amp: 1
    sample :sn_dub
    sleep 1
    sample :sn_dub
    sleep 0.5
    sample :sn_dub
    sleep 0.5
    sample :sn_dub
    sleep 1
  end
end

I make chiptune. With Sonic Pi. I was not feeling creative at the time that I wrote this.