Created
February 18, 2015 16:37
-
-
Save xavriley/e78b4213e992b738ff94 to your computer and use it in GitHub Desktop.
Ring mod, bitcrusher, reverb, compression - oh my!
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 110 | |
live_loop(:dr) do | |
with_fx :compressor, pre_amp: 10 do | |
with_fx :reverb, mix: 0.1, room: 1 do | |
with_fx :ring, freq: scale(:eb4, :minor_pentatonic).choose, mix: 0.4 do | |
"100100101110".chars.map(&:to_i).each.with_index do |beat, i| | |
sample :bd_808 if beat == 1 | |
sample :bd_808 if beat != 1 and one_in(12) | |
with_fx :bitcrusher, bits: 8 do | |
sample :elec_blip, pan: -> {rrand(0,1)}.call, amp: 5 if [4,13].include? i | |
end | |
sleep 0.25 | |
end | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment