Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created June 11, 2019 19:05
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/40ebb6522bf4f6ec3dcd0970b5c8d860 to your computer and use it in GitHub Desktop.
Save nicoder/40ebb6522bf4f6ec3dcd0970b5c8d860 to your computer and use it in GitHub Desktop.
live_loop :baseline do
use_synth :hoover
with_fx :lpf, cutoff: line(48, 64).tick do
play 60, attack: 0, release: 0, sustain: 4
play (ring 67, 69).stretch(2).look, attack: 0, release: 0, sustain: 4
sleep 4
end
end
live_loop :beat do
sync :baseline
3.times do
with_fx :echo, phase: rrand(0.25, 1.33) do
sample :bd_mehackit
end
sleep 1
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment