Created
August 17, 2015 18:36
-
-
Save nicoder/6d3209aeb36154e5465b 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
# derived from the example in 09.4 Ticking | |
live_loop :arp do | |
play (scale :e3, :minor_pentatonic).tick(:foo), release: 0.1 unless one_in 12 | |
play (scale :e4, :minor_pentatonic).tick(:foo), release: 0.1 if one_in 7 | |
sleep (ring 0.125, 0.25).tick(:bar) | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment