Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tunalad/c35b7bde5b767338c4ac9161c1d0065f to your computer and use it in GitHub Desktop.
Save tunalad/c35b7bde5b767338c4ac9161c1d0065f to your computer and use it in GitHub Desktop.
[Sonic Pi] Darkthrone - Transilvanian Hunger
# Darkthrone - Transilvanian Hunger
use_debug false
use_bpm 139
use_sample_defaults amp: 0.5
use_synth :blade
use_synth_defaults release: 0.5
sample :drum_cymbal_closed
sleep 1
sample :drum_cymbal_closed
sleep 1
sample :drum_cymbal_closed
sleep 1
sample :drum_cymbal_closed
sleep 1
#Riffs as functions
define :riff1 do
#Guitar
with_fx :krush, mix: 0.25 do
in_thread do
4.times do
8.times do
play :D4 + 12
play :A3
sleep 0.25
end
8.times do
play :D4 + 10
play :A3
sleep 0.25
end
8.times do
play :D4 + 9
play :A3
sleep 0.25
end
8.times do
play :D4 + 10
play :A3
sleep 0.25
end
2.times do
8.times do
play :D4 + 10
play :A3 + 7
sleep 0.25
end
8.times do
play :D4 + 9
play :A3 + 7
sleep 0.25
end
end
end
end
end
#Drums
in_thread do
4.times do
16.times do
sample :drum_snare_hard
sleep 0.25
sample :drum_heavy_kick
sleep 0.25
sample :drum_snare_hard
sleep 0.25
sample :drum_heavy_kick
sleep 0.25
end
end
end
end
define :riff2 do
#Guitar
with_fx :krush, mix: 0.25 do
in_thread do
4.times do
16.times do
play :D4 + 7
play :A3
sleep 0.25
end
16.times do
play :D4 + 8
play :A3 + 6
sleep 0.25
end
16.times do
play :D4 + 7
play :A3
sleep 0.25
end
8.times do
play :D4 + 8
play :A3 + 6
sleep 0.25
end
8.times do
play :D4 + 9
play :A3 + 6
sleep 0.25
end
end
end
end
#Drums
in_thread do
4.times do
16.times do
sample :drum_cymbal_closed
sample :drum_snare_hard
sleep 0.25
sample :drum_heavy_kick
sleep 0.25
sample :drum_cymbal_closed
sample :drum_snare_hard
sleep 0.25
sample :drum_heavy_kick
sleep 0.25
end
end
end
end
define :riff3 do
in_thread do
with_fx :krush, mix: 0.25 do
#this riff can't be played any faster here
#and it's my first few hours of messing with this thing, so idk how to pass that barrier yet xd
6.times do
16.times do
#play :E5
#play :B4
#play :G4
play :D4 +2
play :A3 +2
play :E3
sleep 0.5
end
16.times do
#play :E5 +1
#play :B4 +1
#play :G4
play :D4 +3
play :A3 +3
play :E3 +1
sleep 0.5
end
end
end
end
#Drums
in_thread do
6.times do
16.times do
sample :drum_cymbal_open, amp: 0.10
sample :drum_snare_hard
sleep 0.25
sample :drum_heavy_kick
sleep 0.25
sample :drum_cymbal_open, amp: 0.10
sample :drum_snare_hard
sleep 0.25
sample :drum_heavy_kick
sleep 0.25
end
end
end
end
define :riff1var do
in_thread do
with_fx :krush, mix: 0.25 do
2.times do
8.times do
play :D4 + 12
play :A3
sleep 0.25
end
8.times do
play :D4 + 10
play :A3
sleep 0.25
end
8.times do
play :D4 + 9
play :A3
sleep 0.25
end
8.times do
play :D4 + 10
play :A3
sleep 0.25
end
8.times do
play :D4 + 14
play :A3
sleep 0.25
end
8.times do
play :D4 + 12
play :A3
sleep 0.25
end
8.times do
play :D4 + 9
play :A3
sleep 0.25
end
8.times do
play :D4 + 10
play :A3
sleep 0.25
end
end
end
end
#Drums
in_thread do
32.times do
sample :drum_snare_hard
sleep 0.25
sample :drum_heavy_kick
sleep 0.25
sample :drum_snare_hard
sleep 0.25
sample :drum_heavy_kick
sleep 0.25
end
end
end
#most primitive solution possible lmao
#song struc: 1>2 >1>2 >3>1>2 >1>1>1 variation > 1 fade out (ain't gonna do that xd)
riff1
sleep 64
riff2
sleep 64
riff1
sleep 64
riff2
sleep 64
riff3
sleep 64 + 32
riff1
sleep 64
riff2
sleep 64
riff1var
sleep 32
#once more 1st one, should also fade out (but I can't be bothered anymore with this)
riff1
sleep 32
@programmeruser2
Copy link

pretty decent but you might want to add more fx like distortion to the mix

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