Created
February 28, 2019 22:55
-
-
Save nicoder/02d434dc9a3f7fcc89e8a240ca42150a 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
with_fx :echo do | |
live_audio :in | |
end | |
live_loop :a do | |
sample :tabla_ke1 | |
sleep 0.5 | |
end | |
live_loop :b do | |
sync :a | |
sleep 0.25 | |
s = :tabla_ke2 | |
sample (ring s, s, nil, nil).tick | |
end | |
live_loop :c do | |
sync :a | |
sleep [0.3, 0.4].choose | |
s = :tabla_ke3 | |
with_fx :echo, phase: 0.2, mix: rrand(0, 0.3) do | |
sample (ring s, nil, s, nil).tick | |
end | |
end | |
live_loop :d do | |
sync :a | |
use_synth :fm | |
2.times do | |
play scale(36, :major_pentatonic).choose, release: 0.2 unless one_in 3 | |
sleep 0.16 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment