Skip to content

Instantly share code, notes, and snippets.

@nicoder
Last active April 6, 2016 02:50
Show Gist options
  • Save nicoder/3fe693ff1d033b81463a37a60108ef85 to your computer and use it in GitHub Desktop.
Save nicoder/3fe693ff1d033b81463a37a60108ef85 to your computer and use it in GitHub Desktop.
live_loop :b do
r = (knit 1, 4, 0.8, 1, 0.7, 1)
sample :bd_pure, rate: r.tick, amp: 2
sleep 1
end
live_loop :m do
# sync :b
with_fx :slicer, phase: 0.075, reps: 16 do
use_random_seed 2
play scale(:e, :ahirbhairav).shuffle.tick, release: 0.4, attack: 0.1, amp: 0.75
sleep 0.5
end
end
live_loop :bass do
# sync :b
use_synth :tb303
with_fx :slicer do
play (knit 48, 4, 52, 4).tick, cutoff: 70, attack: 1, release: 4
play (knit 52, 4, 56, 4).look, cutoff: 70, attack: 1, release: 4
end
sleep 4
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment