Created
January 6, 2016 12:17
-
-
Save mribica/91db9484581cd70a91c1 to your computer and use it in GitHub Desktop.
The Prodigy - Breathe in SonicPi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use_bpm 130 | |
base = 70 | |
live_loop :theme do | |
use_synth :prophet | |
with_fx :distortion do | |
"2--2--5-2-5-4--2-4--1--1--".split("").each do |n| | |
sleep 0.5 and next if n == "-" | |
play base + n.to_i, amp: 1, cutoff: 90, sustain: 0.5 | |
end | |
end | |
end | |
live_loop :bass do | |
sync :theme | |
sample :bass_dnb_f, cutoff: 80, amp: 4, beat_duration: 4 | |
sleep 4 | |
end | |
live_loop :drums do | |
sync :theme | |
sample :loop_amen_full, amp: 2, beat_stretch: 16, cutoff: 130 | |
sleep 16 | |
end | |
live_loop :sword do | |
sync :theme | |
# Wu-Tang sword fight sample | |
#sample '~/wu-sword.wav', start: 0.4, finish: 0.6, amp: 2, beat_stretch: 18 | |
sleep 4 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"2-2-2-2-5-2-5-4-2-4-1-1-1-1-1-1-", suggestion for a bit closer to original 👯♂️