Created
December 26, 2015 17:02
-
-
Save xavriley/99ad9f23ad156980356b 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
# Welcome to Sonic Pi v2.9.0-dev-d0d5c | |
use_sample_bpm :loop_amen | |
use_bpm_mul 2 | |
live_loop :foo do | |
#sync :dr if spread(1,16).tick(:sync) | |
sample :bd_haus if spread(2,4).tick(:bd) | |
with_fx :reverb, room: 0.1, damp: 0.1 do | |
with_fx :echo, mix: 0.1 do | |
synth :noise, attack: 0, release: 0.1 if spread(3,8).tick(:hh) | |
end | |
with_fx :distortion, distort: 0.9 do | |
with_fx :tanh, pre_amp: 3, krunch: 1 do | |
synth :fm, note: Array((scale [:d1, :d9, :d4].choose, :minor_pentatonic).choose).map {|x| [*(chord x, :dim).to_a, x+12]}.first, release: 0.3 | |
end | |
end | |
end | |
use_random_seed 44 if spread(1,16).tick(:reset) | |
sleep 0.25 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment