Created
November 18, 2017 17:38
-
-
Save ruan-brandao/dd6a4451ae8365445835c536a02df996 to your computer and use it in GitHub Desktop.
This file contains 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 :moon_rise do | |
with_fx :echo, mix: 0, mix_slide: 8 do |fx| | |
control fx, mix: 1 | |
notes = (scale :e3, :minor_pentatonic, | |
num_octaves: 2).shuffle | |
sn = synth :prophet , sustain: 8, note: :e1, | |
cutoff: 70, cutoff_slide: 8 | |
control sn, cutoff: 130 | |
sleep 2 | |
32.times do | |
control sn, note: notes.tick, pan: rrand(-1, 1) | |
sleep 0.125 | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment