Created
December 20, 2019 13:45
-
-
Save nicoder/7c29be83081e2ffe5aaec1e50ecbe0f0 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
| with_fx :echo do | |
| live_audio :hi, amp: 3 | |
| end | |
| live_loop :a do | |
| sample :bd_808 | |
| sleep 1 | |
| end | |
| live_loop :b, sync: :a do | |
| sleep 0.5 | |
| sample :bd_ada, pan: (ring -1, 1).tick | |
| end | |
| live_loop :c do | |
| sync :a | |
| use_synth :fm | |
| use_synth_defaults release: rrand(0.1, 0.5), divisor: (ring 1, 2, 4, 8).tick | |
| note = (ring 60, 60, 65, 67).stretch(4).look | |
| with_fx :echo do | |
| with_fx :distortion, mix: rand do | |
| play note - 12, amp: 0.3 if one_in 3 | |
| play note, amp: 0.5 | |
| play note + 12, amp: 0.3 if one_in 2 | |
| end | |
| play scale(60, :major, num_octaves: 2).pick, amp: 0.5, pan: -1 | |
| play scale(60, :major, num_octaves: 2).pick, amp: 0.5, pan: 1 | |
| sleep 0.4 | |
| play scale(60, :major, num_octaves: 2).pick, amp: 0.5, pan: rrand(-1, 1) | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment