Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created February 28, 2020 02:07
Show Gist options
  • Save nicoder/a593d5c8c659f90d3a436784debc050d to your computer and use it in GitHub Desktop.
Save nicoder/a593d5c8c659f90d3a436784debc050d to your computer and use it in GitHub Desktop.
live_loop :a do
use_synth :dsaw
with_fx :rbpf, mix: 0.8, centre: scale(40, :major, num_octaves: 4).choose, pre_mix: 3, res: 0.95 do
play 40, cutoff: 40, pan: -0.5
end
sleep 1
end
live_loop :b do
#sync :a
use_synth :dsaw
with_fx :rbpf, mix: 0.8, centre: scale(40, :major, num_octaves: 4).choose, pre_mix: 3, res: 0.95 do
with_fx :slicer, mix: rand do
play scale(40 - 12, :major, num_octaves: 4).choose, cutoff: rrand(20, 60), release: 1, pan: 0.5, amp: rand
end
sleep 0.25
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment