Created
March 7, 2017 03:58
-
-
Save nicoder/616bc091bc16c1c9a9aa85e352cb4d18 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 | |
sleep 1 | |
end | |
live_loop :c do | |
sync :m | |
use_synth :tb303 | |
play chord(60, :major), release: 4, cutoff: rrand(80, 120) | |
sleep 4 | |
end | |
live_loop :beat do | |
sync :m | |
sample :tabla_ghe7 | |
end | |
live_loop :bass do | |
sync :c | |
use_synth :fm | |
first_note = scale(48, :blues_minor, num_octaves: 1).choose | |
16.times do | |
play (ring first_note, 55, 53, 55).stretch(4).tick, release: 0.23, pan: rrand(-1, 1) | |
sleep 0.25 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment