Created
November 7, 2017 23:04
-
-
Save abachman/d429b61f140ce2ab45cd83d013a254cb to your computer and use it in GitHub Desktop.
aphex-001
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
# for Sonic Pi - http://sonic-pi.net/ | |
live_loop :flibble do | |
set :n, rrand_i(1, 9) | |
sample :tabla_na, rate: 0.9 / (get[:n] / 2.0), amp: 1.0 / get[:n] | |
sleep 1.0 / get[:n] | |
end | |
live_loop :bass do | |
use_synth :growl | |
len = 6.0 / get[:n] | |
play (scale :c3, :minor_pentatonic).sample, | |
res: 0.9 / get[:n], cutoff: 110, | |
attack: 0.75, decay: 0.2, sustain: 0.7, release: len | |
sleep len | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment