Created
May 21, 2017 20:43
-
-
Save xavriley/44b4908dc3573744928b099f51af772e to your computer and use it in GitHub Desktop.
Rhythm ladder in Sonic Pi
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 100 | |
live_loop :ladder do | |
bars = 2 | |
no_of_beats = [1, 1.5, 2, 3, 4].map {|x| | |
[x, (4 * x.to_f)*bars] | |
}.flatten | |
count = (knit *no_of_beats).tick | |
sample :elec_tick | |
sleep (1/count.to_f) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This if fun.
I put two ladders together with different map contents, and pan settings. Made one loop run twice as fast with 4 bars. Added some reverb and it's quite mesmerising!