Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created March 2, 2016 17:13
Show Gist options
  • Save nicoder/a5e78519c045402645a6 to your computer and use it in GitHub Desktop.
Save nicoder/a5e78519c045402645a6 to your computer and use it in GitHub Desktop.
use_bpm 72
live_loop :one do
play (ring 36, 28).tick(:t1), release: 0.1, pan: -0.5
play (ring 36, 28).tick(:t2), release: 0.5, pan: 0.5
sleep (knit 0.5, 1, 0.4, 2, 0.3, 3, 0.2, 4, 0.1, 2).tick
end
live_loop :two do
sync :one
sleep 0.05
play 72 + (ring -12, -15).tick([:t1, :t2, :t3].choose), amp: 0.22, release: 0.2, pan: -1
play 72 + (ring -12, -15).tick([:t1, :t2, :t3].choose) + (ring 12, 24, 36).tick([:t1, :t2, :t3].choose), amp: 0.12, release: 0.2, pan: (ring -1, 1).tick(:p)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment