Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created March 23, 2019 18:17
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/43dcb1193fb6c5485480a5103227b8c6 to your computer and use it in GitHub Desktop.
Save nicoder/43dcb1193fb6c5485480a5103227b8c6 to your computer and use it in GitHub Desktop.
# end-result of 5 minutes of live-coding at wroc_love.rb
live_loop :wroc do
sample :loop_amen ,onset: pick, rate: [-1, 1].choose
sleep 0.25
end
live_loop :love do
sync :wroc
use_synth :fm
play 50 - (ring 7, 5, 0, 0).stretch(8).tick, release: 0.2
end
live_loop :rb do
sync :wroc
use_synth :tb303
with_fx :reverb do
with_fx :flanger do
with_fx :slicer, phase: 0.125 do
play 62, amp: 0.05, cutoff: (rrand 70, 90), release: 2, pan: (rrand -1, 1)
play scale(62, :major, num_octaves: 2).stretch(4).tick, amp: 0.05, cutoff: (rrand 70, 90), release: 2, pan: (rrand -1, 1)
play (ring 69, 67, 66).tick, amp: 0.05, cutoff: (rrand 70, 90), release: 2, 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