Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created April 9, 2016 05:06
Show Gist options
  • Save nicoder/03375442a4c9fb9e78627e46d8f072e5 to your computer and use it in GitHub Desktop.
Save nicoder/03375442a4c9fb9e78627e46d8f072e5 to your computer and use it in GitHub Desktop.
live_loop :a do
sample :elec_chime, rate: [-1, 1].choose, amp: 0.5 unless one_in 3
sleep 1
end
live_loop :b do
#sync :a
sleep (line 1, 5).tick
with_fx :echo, mix: [0.1, 0.2, 0.3].choose do
sample :drum_bass_hard
end
end
live_loop :c do
# sync :a
use_synth :dpulse
tick
with_fx :reverb, mix: (line 0.1, 1, steps: 10).look do
play 66, release: 2, cutoff: 80, cutoff_attack: 1
play (knit 75, 1, 73, 3).look, release: 2, cutoff: 80, cutoff_attack: 1
end
sleep 2
end
live_loop :d do
# sync :a
use_bpm 120
use_synth :mod_fm
tick
play 42, mod_range: (ring 5, 7, 12, 12).stretch(2).look, mod_phase: (knit 0.5, 8, 0.25, 8).look
sleep 1
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment