Skip to content

Instantly share code, notes, and snippets.

@tado
Created Nov 20, 2021
Embed
What would you like to do?
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