Created
April 6, 2020 05:40
-
-
Save nicoder/278327d7da27fef04befb71cade0078b 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 :a do | |
sleep 1 | |
end | |
live_loop :b do | |
sync :a | |
sample :loop_3d_printer | |
sleep sample_duration :loop_3d_printer | |
end | |
live_loop :c do | |
sync :a | |
with_fx :echo do | |
play scale(48 - 12, :major).reverse.stretch(4).tick, release: 0.3 | |
end | |
end | |
live_loop :d do | |
#sync :a | |
with_fx :reverb do | |
with_fx :echo, phase: 0.33 do | |
n = scale(60, :major).choose | |
rrand_i(1, 4).times do | |
play 60, release: 0.2 | |
play n, release: 0.2 | |
play 72, release: 0.2 | |
sleep 1 | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment