Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created April 6, 2020 05:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicoder/278327d7da27fef04befb71cade0078b to your computer and use it in GitHub Desktop.
Save nicoder/278327d7da27fef04befb71cade0078b to your computer and use it in GitHub Desktop.
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