Created
March 6, 2017 03:37
-
-
Save nicoder/cc88aeb4769225c91bae8ac1bd0b20e1 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
live_loop :m do | |
sample :tabla_dhec | |
sleep 1 | |
end | |
live_loop :scale do | |
#sync :m | |
play scale(:d, :major).tick, attack: 0.5, release: 0.5, amp: (line 0.2, 1).look | |
sleep 0.5 | |
end | |
live_loop :chord do | |
#sync :scale | |
play (chord :d, :major), attack: 2, release: 2.5 | |
sleep 4 | |
end | |
live_loop :b do | |
#sync :m | |
use_synth :fm | |
play (ring :D2, :A2).stretch(8).tick | |
sleep 0.5 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment