#define how long various notes are q = 0.5 #half a beat c = 1 #one beat m = 2 #2 beats s = 4 #4 beats t = 0.333 # 1/3 beat use_bpm 120 live_loop :tune do use_synth :supersaw use_synth_defaults sustain: 2 play_pattern_timed [:a3, :e4],[m,m] use_synth_defaults sustain: 0.5 play_pattern_timed [:d4, :cs4, :b3, :a4, :e4],[t,t,t,m,c] play_pattern_timed [:d4, :cs4, :b3, :a4, :e4],[t,t,t,m,c] play_pattern_timed [:d4, :cs4, :d4, :b3],[t,t,t,m+c] end # live_loop :tune do # use_synth :square # play [:c3,:e3,:g3].choose, release: 0.05 # sleep 0.125 # end live_loop :beats do sample :bd_haus sleep 1 end live_loop :beats2 do sample :bd_808 sleep 0.5 end live_loop :morebeats do sample :bass_voxy_hit_c, rate: -5 sleep 0.3 end live_loop :bass do with_fx :wobble do use_synth :supersaw use_synth_defaults sustain: 1 play_chord chord(:a3, :major), amp: 0.5 sleep 2 play_chord chord(:d3, :major), amp: 0.5 sleep 2 play_chord chord(:e3, :major), amp: 0.5 sleep 2 end end