Skip to content

Instantly share code, notes, and snippets.

@nicoder
Created December 25, 2019 18:43
Show Gist options
  • Select an option

  • Save nicoder/5516923d44cc398a325e796cda1403b1 to your computer and use it in GitHub Desktop.

Select an option

Save nicoder/5516923d44cc398a325e796cda1403b1 to your computer and use it in GitHub Desktop.
with_fx :echo do
live_audio :in, amp: 3
end
live_loop :a do
sample :bd_fat
sleep 1
end
live_loop :b do
sync :a
use_synth :blade
with_fx :flanger do
with_fx :echo, phase: 0.25 do
use_synth_defaults release: 0.25
play 48
play scale(48, :major, num_octaves: 2).pick
play 62
end
end
end
live_loop :c do
sync :a
use_synth :fm
sleep (ring 0.2, 0.4, 0.6, 0.8).tick
with_fx :reverb do
play 48, release: (rrand 0.2, 0.5), pan: rrand(-1, 1)
play scale(48, :major, num_octaves: 2).shuffle.take(2), release: (rrand 0.2, 0.5), pan: rrand(-1, 1), amp: 0.5 unless one_in 3
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment