Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created February 23, 2019 22:11
Show Gist options
  • Save nicoder/6c790e22be974d4f2092fc98a7b170b5 to your computer and use it in GitHub Desktop.
Save nicoder/6c790e22be974d4f2092fc98a7b170b5 to your computer and use it in GitHub Desktop.
with_fx :echo do
live_audio :in
end
live_loop :a do
sample :bd_tek
sleep 1
end
live_loop :b do
sync :a
sleep 0.7
sample :bd_tek, rate: [-1, 1].choose
end
live_loop :c do
sync :a
use_synth :fm
with_fx :reverb do
with_fx :echo, phase: [0.35, 0.7].choose do
play (ring chord(:e, :minor), chord(:d, :major)).stretch(2).tick, pan: -0.2
end
end
end
live_loop :d do
sync :a
sleep 0.2
t = rrand(0.2, 1.5)
with_fx :reverb do
play scale(:e, :minor).choose, release: t, pan: 0.2
sleep 0.2
play scale(:g, :major).choose, release: t, pan: 0.4, amp: 0.7
end
sleep t - 0.2
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment