Skip to content

Instantly share code, notes, and snippets.

@RemyPorter
Created February 17, 2018 13:39
Show Gist options
  • Save RemyPorter/57c6455fd775c71482986fa3e53834c5 to your computer and use it in GitHub Desktop.
Save RemyPorter/57c6455fd775c71482986fa3e53834c5 to your computer and use it in GitHub Desktop.
use_synth :dpulse
use_synth_defaults pulse_width: 0.0001, pulse_width_slide: 0.25, detune_slide: 0.25
use_bpm 20
uncomment do
live_loop :crankcase do
sync :burp
with_fx :gverb, room: 10 do
#g = play (scale :G0, :blues_minor).shuffle.tick, attack: 0.7, sustain: 0.75, release: 0.4, amp: 0.25
4.times do
sleep 0.25
# control g, pulse_width: rrand(0, 0.001), detune: rrand(0,0.25)
end
end
end
end
live_loop :burp do
with_fx :echo, phase: 0.333, decay: 0.9 do
4.times do
play (ring :C0, :D0, :D0, :D0).tick, attack: 0.1, sustain: 0.01, release: 0.0, detune: 22
sleep 0.25
end
end
end
uncomment do
live_loop :woosh do
use_synth :cnoise
with_fx :bitcrusher, bits: 8, sample_rate: 1200 do
#play :C0, sustain: 2, attack: 1, release: 1, amp: 0.1
sleep rrand_i(1,6)
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment