Skip to content

Instantly share code, notes, and snippets.

@muaazsaleem
Created June 23, 2019 10:04
Show Gist options
  • Save muaazsaleem/c9f1f0405e473fa8bc60875f04e32e06 to your computer and use it in GitHub Desktop.
Save muaazsaleem/c9f1f0405e473fa8bc60875f04e32e06 to your computer and use it in GitHub Desktop.
Some music written with Sonic Pi
live_loop :rolling_drum do
sample :drum_roll, amp: 0.5
sleep 16
end
live_loop :heavy_kick do
sample :drum_heavy_kick, amp: 0.5
sleep 0.5
end
live_loop :soft_bass do
sample :drum_bass_soft, amp: 0.5
sleep 2
end
live_loop :tom do
sample :drum_tom_mid_hard, amp: 0.25
sleep 4
end
live_loop :pedal do
sample :drum_cymbal_pedal, amp: 0.5
sleep 8
end
live_loop :bass do
sample :bass_trance_c, amp: 0.5
sleep 0.25
end
live_loop :woodsy do
sample :bass_voxy_hit_c, amp: 0.5
sleep 0.25
end
live_loop :drummy do
sample :drum_snare_soft, amp: 0.5
sleep 4
end
live_loop :guit do
with_fx :echo, mix: 0.6, phase: 0.25 do
sample :guit_em9, rate: -0.5, amp: 0.5
end
sleep 8
end
live_loop :boom do
with_fx :reverb, room: 1 do
sample :bd_boom, amp: 10, rate: 1
end
sleep 0.5
end
@muaazsaleem
Copy link
Author

FYI, the sound might break once in a while. If it's a problem comment out the reverse guitar block

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment