Skip to content

Instantly share code, notes, and snippets.

@jhorikawa
Created May 11, 2015 21:15
Show Gist options
  • Save jhorikawa/d019b72689a187a2ac6a to your computer and use it in GitHub Desktop.
Save jhorikawa/d019b72689a187a2ac6a to your computer and use it in GitHub Desktop.
use_bpm 60
live_loop :pulse do
notes = scale( :e3, :minor_pentatonic).shuffle
with_fx :bitcrusher do
notes.each do |n|
sample :ambi_choir
play n, release: 1
sleep 0.25
end
end
end
live_loop :fx do
with_fx :reverb do
with_fx :bitcrusher do
i = 0
16.times do
synth :fm, note: rrand(50,80), attack: 2, release: 0.5
play :e, attack:1, release: 1, pan: 0.5
i+=0.1
sleep 1
end
end
end
end
live_loop :snare do
count = 1
play 60
16.times do
with_fx :reverb do
sample :ambi_lunar_land, attack: 1, release: 1, rate: count
sleep 0.125
sample :ambi_swoosh, attack: 1, release: 1
sleep 0.2
end
count = (count % 16)+1
end
end
live_loop :jj do
use_synth :mod_fm
play :c, attack: 4, release: 4, cutoff: rrand(60,110)
sleep 4
end
/
loop do
with_fx :reverb, room: 1.0, amp: 5 do
with_fx :echo do
sample :loop_compus
sleep sample_duration :loop_compus
end
end
end
/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment