Skip to content

Instantly share code, notes, and snippets.

@alcluith
Last active August 29, 2015 14:20
Show Gist options
  • Select an option

  • Save alcluith/a4e6092ac6fce7b8c066 to your computer and use it in GitHub Desktop.

Select an option

Save alcluith/a4e6092ac6fce7b8c066 to your computer and use it in GitHub Desktop.
Sonic Pi version of Placebo's cover of "Running up that Hill" by Kate Bush
# Welcome to Sonic Pi v2.1.1
# Sonic Pi version of the intro to Placebo's cover of "Running up that Hill" by Kate Bush
# Claire Quigley, April 2015
# To listen, edit, etc. download Sonic Pi here: http://sonic-pi.net/
use_bpm 90
#define note length values
quaver = 0.5 #Eight note
crotchet = 1 #Quarter note
minim = 2 #Half note
semibreve = 4 #Whole note
live_loop:heartbeat do
6.times do
sample :drum_bass_soft, attack: 0,amp: 2, decay: 0.2,release: 0.05
sleep (0.5)
sample :drum_bass_soft, attack: 0,amp: 2, decay: 0.2,release: 0.05
sleep (0.25)
sample :drum_bass_soft, attack: 0, amp: 2,decay: 0.2,release: 0.05
sleep (0.25)
end
sample :drum_bass_soft, attack: 0,amp: 1, release: 0.05
sleep (0.25)
sample :drum_bass_soft, attack: 0, amp: 1,decay: 0.1, release: 0.05
sleep (0.25)
sample :drum_bass_soft, attack: 0, amp: 1,release: 0.05
sleep (0.25)
sample :drum_bass_soft, attack: 0,amp: 1, release: 0.05
sleep (0.25)
sample :drum_bass_soft, attack: 0,amp: 1, release: 0.05
sleep (0.5)
sample :drum_bass_soft, attack: 0,amp: 1, release: 0.05
sleep (0.25)
sample :drum_bass_soft, attack: 0,amp: 1, release: 0.05
sleep (0.25)
end
live_loop:strings do
use_synth :tb303
play :c8, amp: 0.1, pan: 1
sleep 0.25
play :c8, amp: 0.1, pan: 1
sleep 0.25
play :c8, amp: 0.1, pan: 1
sleep 0.25
play :c8, amp: 0.1, pan: 0
sleep 0.25
play :c8, amp: 0.1, pan: 0
sleep 0.25
play :c8, amp: 0.1, pan: -1
sleep 0.25
play :c8, amp: 0.1, pan: -1
sleep 0.25
play :c8, amp: 0.1, pan: -1
sleep 0.25
end
live_loop:intro_melody do
use_synth :fm
play :c4 , attack: 0.1, release: 2
play :ef4 , attack: 0.1, release: 2
sleep minim
play_pattern_timed [:bf4, :g4, :c4], [ crotchet, quaver, quaver]
sleep minim
play_pattern_timed [:bf4, :g4, :c4], [crotchet, quaver, quaver]
sleep minim
play_pattern_timed [:bf4, :g4, :c4], [crotchet, quaver, quaver]
sleep minim
sleep quaver
play_pattern_timed [:bf3, :c4,:ef4], [ quaver, quaver,quaver]
sleep minim
sleep crotchet
play_pattern_timed [:bf4, :c4], [ quaver, quaver]
sleep minim
sleep crotchet
play_pattern_timed [:bf4, :c4], [ quaver, quaver]
sleep minim
sleep crotchet
play_pattern_timed [:g4, :f4,:ef4,:c4], [ crotchet, crotchet,quaver, quaver]
sleep minim
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment