peter2
4/19/2016 - 7:44 PM

goodOne.rb

live_loop :winterInBerlin do
  stop
  use_synth :piano
  notes = (ring :e, :f, :r, :c, :f, :r, :f, :c)
  play notes.tick
  sleep 0.2
end

live_loop :dub do
  sample :sn_dub, amp: 0.3
  sleep 0.3
end

live_loop :melody do
  use_synth :piano
  note = [:d, :a, :f5, :a].choose
  play note, amp: 0.7, attack: 0.4
  sleep 0.5
end

live_loop :one do
  sample :ambi_drone, rate: 0.8, amp: 0.2
  sleep 2
end

live_loop :bla do
  sample :loop_garzul, amp: 1.5
  sleep sample_duration :loop_garzul
end