Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created September 2, 2019 18:46
Show Gist options
  • Select an option

  • Save nicoder/1279bd52a8a1b6c034987a0494b9687d to your computer and use it in GitHub Desktop.

Select an option

Save nicoder/1279bd52a8a1b6c034987a0494b9687d to your computer and use it in GitHub Desktop.
with_fx :echo do
live_audio :in, amp: 3
end
live_loop :a do
sample :bd_mehackit
sleep 1
end
live_loop :b do
sync :a
sleep 0.5 + (ring -0.1, 0.1).tick
sample :bd_mehackit
end
live_loop :c do
sync :a
with_fx :krush, mix: (line 0.1, 0.3).tick do
play (ring 62, 60, 61).look
end
end
live_loop :d do
# sync :a
use_synth :fm
note = scale(36, :major_pentatonic).tick
play note, release: 0.25 + (rrand -0.1, 0.1), pan: -0.3
play note + 12, release: 0.25 + (rrand -0.1, 0.1), amp: 0.7, pan: 0.3 if one_in 3
sleep 0.25
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment