Created
March 12, 2016 00:15
-
-
Save nicoder/becbe75076c34b1359f7 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
# end state of a short live coding session after the first day of the wroc_love.rb conference | |
live_loop :beat do | |
2.times do | |
sample :drum_bass_hard, pan: [-1, 1].choose | |
sample :drum_bass_hard | |
sleep 0.25 | |
end | |
with_fx :echo, phase: 0.3 do | |
sample :perc_snap2 | |
sleep 0.5 | |
end | |
end | |
live_loop :mel do | |
# sync :beat | |
with_fx :echo, phase: 0.5 do | |
play scale(60, :major).choose, release: 2 | |
play 67, release: 2 | |
play 76, release: 2 | |
end | |
sleep 2 | |
end | |
live_loop :mel2 do | |
# sync :mel | |
with_fx :reverb, mix: 0.1 do | |
play (ring 86, 84, 83, 84).tick(), release: 1.5 | |
sleep 2 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment