Created
August 27, 2018 20:29
-
-
Save barnjamin/8afcee969c1f80dcfc661f62099dd57c 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
| use_bpm 30 | |
| live_loop :piano do | |
| sample :ambi_piano, beat_strech: 2 | |
| sleep 2 | |
| end | |
| live_loop :amen_break do | |
| with_fx :slicer, phase: 0.5, wave: 0, mix: 1 do | |
| sample :loop_amen, beat_stretch: 2, cutoff: 70, amp:2 | |
| end | |
| sleep 2 | |
| end | |
| doublebeat = false | |
| doublesleep = (sample_duration :bd_haus) - 0.22 | |
| live_loop :bass_drum do | |
| if doublebeat then | |
| sample :bd_haus, cutoff: 50, amp: 0.65 | |
| sleep doublesleep | |
| end | |
| sample :bd_haus, cutoff: 50, amp: 0.45 | |
| if doublebeat then | |
| sleep 1 - doublesleep | |
| else | |
| sleep 1 | |
| end | |
| doublebeat = !doublebeat | |
| end | |
| live_loop :midi_piano do | |
| use_real_time | |
| note, velocity = sync "/midi/mpkmini2/0/1/note_on" | |
| synth :pluck, note: note, amp: velocity / 256.0 | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment