Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created February 26, 2017 05:37
Show Gist options
  • Save nicoder/1abacc1d8151c95f9da2e438bc7d1a86 to your computer and use it in GitHub Desktop.
Save nicoder/1abacc1d8151c95f9da2e438bc7d1a86 to your computer and use it in GitHub Desktop.
live_loop :m do
sleep 1
end
live_loop :k do
sync :m
with_fx :echo, phase: (ring 0.33, 0.66).tick do
sample :bd_sone
end
end
live_loop :b do
# sync :m
use_synth :tb303
play 42, release: 0.1, amp: 0.6, pan: (ring -0.5, 0.5).stretch(2).tick
sleep 0.125
end
live_loop :mel do
sync :m
use_synth :blade
with_fx :slicer, phase: 0.125 do
c = (ring 54, 54, 61).stretch(2).tick
play chord(c, :minor), attack: 2, release: 0.2, amp: 1.2
end
sleep 2
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment