Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created March 19, 2020 04:40
Show Gist options
  • Save nicoder/7eeb49ecbc731d2ee89cce257a4609f5 to your computer and use it in GitHub Desktop.
Save nicoder/7eeb49ecbc731d2ee89cce257a4609f5 to your computer and use it in GitHub Desktop.
live_loop :a do
sample :drum_cymbal_closed
sleep 1
end
live_loop :b do
sync :a
use_synth :pluck
with_fx :echo, phase: (ring 0.25, 0.33, 0.5).tick, mix: rand do
with_fx :krush do
r = rrand(0.1, 0.5)
play chord(57, '5'), release: r
play scale(57, :minor_pentatonic, num_octaves: 2).choose, release: r unless one_in 4
end
end
end
live_loop :c do
sync :a
use_synth :fm
play (ring 48, 47, 45, 45).stretch(4).tick, release: 0.2
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment