Last active
December 17, 2015 17:14
-
-
Save alcluith/42e7f1b146c4a3ba35f6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #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 | |
| with_fx :flanger, mix: 0.8 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 | |
| sleep 2 | |
| 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: 2 | |
| 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment