Created
March 18, 2020 04:35
-
-
Save nicoder/773b525623824d220bef7a1d86b1f52a 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 :a do | |
use_synth :tb303 | |
play 48, cutoff: 60, release: 1.2 | |
sleep 1 | |
end | |
live_loop :b do | |
sync :a | |
sleep 0.5 | |
use_synth :tb303 | |
play 48 + (ring 7, 5).stretch(4).tick, cutoff: 60, release: 1.2 | |
play 48 + 12, cutoff: 60, release: 1.2 unless one_in 3 | |
end | |
live_loop :c do | |
#sync :a | |
use_synth :tech_saws | |
with_fx :echo do | |
c = (line 70, 90, steps: 8).tick | |
play 60, cutoff: c, release: 0.2 | |
play scale(60, :major, num_octaves: 2).stretch(2).look, cutoff: c, release: 0.2 | |
end | |
sleep 1 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment