Created
November 20, 2021 00:06
-
-
Save tado/14cc3e4ce61a4869afa641065bf2dade to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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