Skip to content

Instantly share code, notes, and snippets.

@poppingtonic
Last active January 1, 2017 00:28
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 poppingtonic/f54e91153324371324ce6e832682b0df to your computer and use it in GitHub Desktop.
Save poppingtonic/f54e91153324371324ce6e832682b0df to your computer and use it in GitHub Desktop.
Livecoding Snippet #2
# Geek0ut! Witness me!
notes = (scale :e2, :minor_pentatonic, num_octaves: 2)
live_loop :feh do
with_fx :wobble, reps: 3, amp: 0.1 do
use_synth :tb303
play (ring :e1, :e2, :e3).tick - 12, release: 0.7, cutoff: rrand(70, 130)
sleep 0.125
end
end
# mixed this in last
live_loop :in_do_time, sync: :feh do
with_fx :echo, room: 0.6 do
synth :pluck, note: notes.choose, release: 8, amp: 0.3
sleep 4
end
end
live_loop :swerve, sync: :feh do
sample :loop_amen, 24, beat_stretch: 4, amp: 0.5
sleep 4
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment