Last active
February 22, 2019 20:02
-
-
Save nicoder/96266bfd2725887f4ac56cc12da4efb0 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 :reverb do | |
| with_fx :echo do | |
| live_audio :in, amp: 2 | |
| end | |
| end | |
| live_loop :a do | |
| sample :bd_808, amp: 3 | |
| sleep 1 | |
| end | |
| live_loop :b do | |
| sync :a | |
| sleep 0.2 | |
| play (ring 60, 62, 64, 60).tick, pan: -0.2 unless one_in 5 | |
| end | |
| live_loop :c do | |
| sync :a | |
| sleep 0.4 | |
| play (ring 60, 62, 64).tick unless one_in 4 | |
| end | |
| live_loop :d do | |
| sync :a | |
| sleep 0.6 | |
| play (ring 60, 62).tick, pan: 0.2 unless one_in 3 | |
| end | |
| live_loop :e do | |
| #sync :a | |
| with_fx :reverb do | |
| n = scale(60, :major).reverse.tick | |
| 16.times do | |
| play n, amp: 0.5, release: 0.2 unless one_in 11 | |
| sleep 0.125 | |
| end | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment