Skip to content

Instantly share code, notes, and snippets.

@shaftoe
Last active May 24, 2020 14:03
Show Gist options
  • Save shaftoe/afcca67de44e3862a1f39cb52ad5b3c8 to your computer and use it in GitHub Desktop.
Save shaftoe/afcca67de44e3862a1f39cb52ad5b3c8 to your computer and use it in GitHub Desktop.
# Welcome to Sonic Pi
use_bpm 100
live_loop :tick do
play :c
sleep 0.5
play :b3
sleep 0.5
end
live_loop :atmo do
synth :prophet, release: 8, note: :e1, cutoff: 60, amp: 3
sleep 8
end
live_loop :beat do
sample :bd_haus, amp: [0.3, 0.5, 0.8, 1].tick
sleep 1
end
live_loop :amen do
with_fx :slicer, mix: 1 do
sample :loop_amen, beat_stretch: 2
end
sleep 2
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment