Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created March 23, 2019 08:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicoder/d159c41e216df717a91dc07f06e971fa to your computer and use it in GitHub Desktop.
Save nicoder/d159c41e216df717a91dc07f06e971fa to your computer and use it in GitHub Desktop.
live_loop :wroc do
sample :loop_amen, onset: pick, rate: [-1, 1].choose, amp: 2 if one_in 1
sleep 0.25
end
live_loop :love do
sync :wroc
use_synth :fm
with_fx :echo, phase: 0.66 do
play 50 - (ring 7, 5, 0, 0).stretch(8).tick, release: (rrand 0.2, 0.4), amp: 2
end
end
live_loop :rb do
sync :wroc
use_synth :tb303
with_fx :reverb, mix: rand do
with_fx :flanger, mix: rand do
with_fx :slicer, phase: 0.125, mix: rand do
play 62, release: 2, amp: 0.05, cutoff: (rrand 70, 90), pan: rrand(-1, 1)
play scale(62, :major, num_octaves: 2).reverse.mirror.stretch(4).tick, release: 2, amp: 0.05, cutoff: (rrand 70, 90), pan: rrand(-1, 1)
play (ring 69, 67, 66).stretch(2).tick, release: 2, amp: 0.05, cutoff: (rrand 70, 90), pan: rrand(-1, 1)
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment