Skip to content

Instantly share code, notes, and snippets.

@tado
Created November 20, 2021 00:06
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 tado/14cc3e4ce61a4869afa641065bf2dade to your computer and use it in GitHub Desktop.
Save tado/14cc3e4ce61a4869afa641065bf2dade to your computer and use it in GitHub Desktop.
live_loop :live do
with_fx :flanger, depth: 2 do
use_synth :tb303
freq = choose([:C3, :E3, :F3, :G3]) + choose([-12, 0, 12]) + 2
rel = rrand(0.1, 0.5)
play freq, release: rel, cutoff: rrand(40, 120), res: 0.9
play freq+7, release: rel, cutoff: rrand(40, 120), res: 0.9
play freq+12, release: rel, cutoff: rrand(40, 120), res: 0.9
sleep 0.125
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment