Skip to content

Instantly share code, notes, and snippets.

@aimxhaisse
Last active April 18, 2020 14:42
Show Gist options
  • Save aimxhaisse/0a161d69c00eac2f9c07c6368c84eedb to your computer and use it in GitHub Desktop.
Save aimxhaisse/0a161d69c00eac2f9c07c6368c84eedb to your computer and use it in GitHub Desktop.
use_bpm 127
live_loop :wobble_loop do
4.times do |n|
with_fx :level, amp: 0.5 do
with_fx :wobble, phase: 0.65, cutoff_max: 129, cutoff_min: 60, res: 0, wave: 2, phase_offset: 0.8 do
use_synth :saw
play :C2, release: 0, sustain: 6
end
sleep 6
with_fx :wobble, phase: 0.5, cutoff_max: 129, cutoff_min: 60, res: 0, wave: 2, phase_offset: 1 do
use_synth :saw
if n != 3 then
play :C2, release: 0, sustain: 2
else
play :C3, release: 0, sustain: 2
end
sleep 2
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment