Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created March 22, 2019 18:44
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/b0b6c7bc24222b95b1c0f96527ab0ffc to your computer and use it in GitHub Desktop.
Save nicoder/b0b6c7bc24222b95b1c0f96527ab0ffc to your computer and use it in GitHub Desktop.
# after first day at wroc_love.rb
with_fx :echo do
live_audio :in
end
live_loop :l1 do
sample :loop_amen, onset: pick, rate: [-1, 1].choose, amp: 2
sleep 0.25
end
live_loop :l2 do
sync :l1
use_synth :fm
with_fx :echo, phase: 0.66 do
play 50 - (ring 0, 0, 5, 7).stretch(4).tick, release: rrand(0.2, 0.4), amp: 2
end
end
live_loop :l3 do
sync :l1
use_synth :tb303
with_fx :flanger, mix: rand do
play 62 - 0, release: 2, cutoff: (rrand 70, 90), amp: (rrand 0.2, 0.5) - 0.15,
pan: rrand(-1, 1) #if one_in 12
play (ring 69, 67, 66).stretch(2).tick, release: 2, cutoff: (rrand 70, 90), amp: (rrand 0.2, 0.5) - 0.15,
pan: rrand(-1, 1) #if one_in 15
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment