Created
March 14, 2020 06:29
-
-
Save nicoder/b4eb4e4ee9e25e923c104f80c9d755bb 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
use_bpm 180 | |
live_loop :a do | |
sample :elec_tick | |
sleep 1 | |
end | |
live_loop :b do | |
sync :a | |
sample (ring :elec_blip, nil, nil).tick | |
end | |
live_loop :c do | |
sync :a | |
use_synth :tb303 | |
play 48, release: 0.2, cutoff: (line 30, 70, steps: 21).tick | |
end | |
live_loop :d do | |
sync :a | |
use_synth :dsaw | |
with_fx :echo, mix: rand do | |
n = one_in 6 | |
play 60, release: 0.2, cutoff: 40, pan: -0.5 unless not | |
play scale(60, :major, num_octaves: 2).choose, release: 0.2, cutoff: 40, pan: 0.5 unless n | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment