Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created February 27, 2017 03:44
Show Gist options
  • Save nicoder/55606f43db2b2c9ae72379d982f83eef to your computer and use it in GitHub Desktop.
Save nicoder/55606f43db2b2c9ae72379d982f83eef to your computer and use it in GitHub Desktop.
live_loop :m do
sleep 1
end
live_loop :sig do
sync :m
play_chord chord(60, :minor)
end
live_loop :mel do
sync :m
use_synth :dpulse
3.times do
play (ring 71, 70, 71).tick, release: rrand(0.2, 0.3)
sleep 0.25
end
end
live_loop :b do
sync :m
use_synth :chipbass
with_fx :compressor do
8.times do
play 48, release: 0.12 unless one_in 16
play 60, release: 0.12, pan: [-1, 1].choose if one_in 4
sleep 0.125
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment