Strudelify
Whiskey in the Jar cover art

Garage Inc.

Whiskey in the Jar

Metallica

KeyG majorTempo130 bpm
0:00/0:00
// Whiskey in the Jar — Metallica
// 130 bpm, 4/4, key G major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Full arrangement: all 165 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(130/4)

// Notation: c3@3 lasts 3 steps · ~ is a rest · [c3,e3] is a chord · "a, b" plays two voices at once · [...]/2 spreads a riff over 2 bars.
// A part's distinct bars are riffs (A, B, C...) played in order: edit a riff to change every repeat.

// chords · distortion guitar
const distortion_guitar = note(`<
  A B C D A B C D@3 A B E F G D@3 A B E F G D A B C D A B C D@3 A B E F G D@3 A B E F G D H I J K@2 L M D A B C D A B C
  D@3 A B E F G D@3 A B E F G D N I J O@6 B C D A B E F G D@3 A B E F G D P@8 Q R@2 S@2 T@2 U@4 ~@11 V@3 I J K@2 L M D W
  R@2 X@2 Y@2 Z@2 AA@7 AB@3
>`.pickRestart({
  A: "[g2,d3,g3,b3] ~ [f#2,c#3,f#3,a#3] ~ [e2,b2,e3,g3]!2 ~ [e2,b2,e3,g3]", // G F# Em
  B: "[e2,b2,e3,g3]!2 ~ [e2,b2,e3,g3]!3 ~ [e2,b2,e3,g3]", // Em
  C: "[e2,b2,e3,g3]!2 ~ [e2,b2,e3,g3] [g2,d3,g3,b3]!2 ~ [g2,d3,g3,b3]", // Em G
  D: "[g2,d3,g3,b3]!2 ~ [g2,d3,g3,b3]!3 ~ [g2,d3,g3,b3]", // G
  E: "[e2,b2,e3,g3]!2 ~ [e2,b2,e3,g3] [c3,g3,c4]!2 ~ [c3,g3,c4]", F: "[c3,g3,c4]!2 ~ [c3,g3,c4]!3 ~ [c3,g3,c4]",
  G: "[c3,g3,c4]!2 ~ [c3,g3,c4] [g2,d3,g3,b3]!2 ~ [g2,d3,g3,b3]", // C5 G
  H: "[g2,d3,g3,b3]@2 [g2,d3,g3,b3]@2 ~@2 [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 [c3,g3,c4]@2 [c3,g3,c4]@2 [g2,d3,g3]@2 ~@4 [g2,d3,g3]@5 ~ [g2,d3,g3]@2 [g2,d3,g3]@2 [g2,d3,g3]@2 ~@4 [g2,d3,g3]@2]/8", // G F# D5 C5 G5
  Q: "~ b2!2 d3 e3 c3 d3 b2", R: "[c3 d3@8 b2!2 d3 e3 c3 d3 b2]/2",
  S: "[c3@2 d3@4 e3@2 d3@10 ~@2 b2@2 d3@2 e3@3 e3@2 e3@3]/2",
  T: "[e3@2 d3@3 ~ c3 d3 b2@5 ~ b2@5 ~@3 d3@2 g3@2 d3@2 f#3@2 c3@2]/2", U: "[b2@3 ~ b2@3 ~ g2@47 ~@9]/4",
  V: "[~@8 [g2,d3]@26 [g2,d3]@2 [g2,d3]@2 [g2,d3]@2 [d3,a3,d4]@3 ~ [d3,a3,d4]@2 [d3,a3,d4]@2]/3", // G5 D5
  W: "[g2,d3,g3,b3] b2!2 d3 e3 c3 d3 b2", X: "[c3 d3@2 e3 d3@5 ~ b2 d3 e3 c3 d3 b2]/2",
  Y: "[c3 d3@8 ~@2 d2 g2 d2 a#2 c2]/2", Z: "[b2 a#2 [g2,d3,g3]@21 ~ [g2,d3,g3,b3]@2 g2@2 g2@2 g2@2]/2",
  AA: "[g2,d3,g3,b3] g2!3 [g2,d3,g3,b3] g2!3", AB: "[[g2,d3,g3,b3]@2 g2@2 g2@2 g2@2 [g2,d3,g3,b3]@31 ~@9]/3",
})).s("gm_distortion_guitar").gain(0.72)

// chords · distortion guitar
const distortion_guitar_2 = note(`<
  ~ A B@2 C@2 D@2 E@2 ~@14 A B@2 F@2 G@2 H@2 ~@17 I J K L M@3 B@2 N@4 O P@8 Q@8 R@2 S J K L M@3 T@2 ~@23 A B@2 U@2 V@2
  W@3 ~@6 X@2 Y Z AA AB AC@4 AD J K L M@3 B@2 C@2 D@2 AE@2 AF AG AH AI AH AI AH AJ@3
>`.pickRestart({
  A: "~@3 d4 g4 e4 f#4 d4", B: "[e4@2 g4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2 [d3,a3,d4]@14 [d3,a3,d4]@4 [d3,a3,d4]@3 ~ [d3,a3,d4]@2, ~@4 g3@13 ~@15]/4", // G D5
  AD: "~@2 [c#3,g#3,c#4]@3 ~ [c3,g3,c4]@5 ~ [c3,g3,c4]@2 ~@2", AE: "[b2 a2 g2@17 ~@3 g3@2 b3@3 ~ b3 a3 g3@2]/2",
  AF: "[g2,g3]@2 g2@2 g2@2 g3 a3 [g2,d3,g3]@2 g2@2 g2@2 g2 a2", // G G5
  AG: "[g2,d3]@2 g2@2 g2@2 [g2,g3] [a2,a3] [g2,d3]@2 g2@2 g2@2 g2 a2", // G5 G A G5
  AH: "[g2,d3]@2 g2@2 g2@2 g3 a3 [g2,d3]@2 g2@2 g2@2 g3 a3", // G5
  AI: "[g2,d3]@2 g2@2 g2@2 [g2,g3] [a2,a3] [g2,d3]@2 g2@2 g2@2 g3 a3", // G5 G A G5
  AJ: "[[g2,d3]@2 g2@2 g2@2 [g2,g3] [a2,a3] g2@31 ~@9]/3", // G5 G A
})).s("gm_distortion_guitar").gain(0.72)

// chords · distortion guitar · soft notes
const distortion_guitar_soft = note("<~@9 A@8 B@8 ~@7 C@8 D@8 E@2 F ~@114>".pickRestart({
  A: "[~@6 [g2,d3]@2 [g2,d3,g3]@5 ~@2 [g2,d3,g3]@6 ~@2 [e2,b2,e3]@6 ~@2 [e2,b2,e3]@6 ~@2 [e2,b2,e3]@6 ~@2 [e2,b2,e3]@6 ~@2 [c3,g3,c4]@6 ~@2 [c3,g3,c4]@6 ~@2 [c3,g3,c4]@6 ~@2 [c3,g3,c4]@6 ~@2 [g2,d3,g3]@6 ~@2 [g2,d3,g3]@6 ~@2 [g2,d3,g3]@6 ~@2 [g2,d3,g3]@6 ~@2 [g2,d3,g3]@6 ~@2 [g2,d3,g3], ~@87 b3 ~@40]/8", // G5 E5 C5 G5
  B: "[~@7 [g2,d3,g3]@6 ~@2 [g2,d3,g3]@6 ~@2 [e2,b2,e3]@6 ~@2 [e2,b2,e3]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_guitar").gain(0.8)

// chords · electric guitar clean
const electric_guitar_clean = note("<~@124 A@2 B@8 C@2 D ~@28>".pickRestart({
  A: "[~@9 [e4,d5]@23, ~ [e2,e3,b3]@3]/2", // E7 E5
  B: "[~@9 [e4,g4,c5]@30 ~@2 [b3,d4,g4]@30 ~@2 [b3,d4,g4]@30 ~@2 e4@17 e4@3 ~ e4@2, ~@8 [c3,g3,c4]@31 ~ [g2,d3,g3]@31 ~ [g2,d3,g3]@31 ~ [e2,e3]@24, ~@52 b3@7 ~@5, ~@105 d5@14 ~@9]/8", // C G C5 G5 E
  C: "[~@2 e4@2 d4@3 ~ [g3,c4]@15 ~@7 g4@2, ~@3 [g3,c4], ~@7 e4]/2", D: "~@2 e4@2 c4@3 ~@9",
})).s("gm_electric_guitar_clean").gain(0.72)

// bass · electric bass pick
const bass = note(`<
  A@2 B@2 C@2 B@2 D@2 C@2 E@2 F@2 D@2 C@2 E@2 F@2 C@2 B@2 C@2 B@2 D@2 C@2 E@2 F@2 D@2 C@2 E@2 F@2 G H I J K J L@2 C@2
  B@2 C@2 B@2 D@2 C@2 E@2 F@2 D@2 C@2 E@2 F@2 G H I J K J L@2 C@2 B@2 C@2 E@2 F@2 D@2 C@2 E@2 F@2 M@8 C@2 B@2 C@2 B@2 N
  O P Q R S T O@3 P Q R S T O U H I J K J L@2 C@2 B@2 C@2 B@2 V W@7 X@3
>`.pickRestart({
  A: "[~@8 e1@5 ~ e1@7 ~ e1@9 ~]/2", B: "[e1@3 ~ e1@3 ~ g1@5 ~ g1@7 ~ g1@9 ~]/2",
  C: "[g1@3 ~ f#1@3 ~ e1@5 ~ e1@7 ~ e1@9 ~]/2", D: "[g1@3 ~ g1@3 ~ g1@5 ~ g1@7 ~ g1@9 ~]/2",
  E: "[e1@3 ~ e1@3 ~ c2@5 ~ c2@7 ~ c2@9 ~]/2", F: "[c2@3 ~ c2@3 ~ g1@5 ~ g1@7 ~ g1@9 ~]/2",
  G: "g1@3 ~ g1@3 ~ d2@3 ~ d2@2 d2@2", H: "d2@2 d2@2 d2@2 d2@4 d2@3 ~ d2@2", I: "~@2 d2@2 c#2@3 ~ c2@3 ~ c2@2 c2@2",
  J: "c2@2 c2@3 ~ c2@4 c2@3 ~ c2@2", K: "~@2 c2@2 c2@3 ~ c2@3 ~ c2@2 c2@2",
  L: "[~@2 c2@2 c2@3 ~ g1@5 ~ g1@7 ~ g1@9 ~]/2",
  M: "[g1@3 ~ g1@3 ~ d2@2 ~@4 d2@5 ~ d2@2 d2@2 d2@2 ~@4 d2@5 ~ d2@2 d2@2 c2@2 ~@4 c2@5 ~ c2@2 c2@2 c2@2 ~@4 c2@5 ~ c2@2 c2@2 c2@2 ~@4 c2@5 ~ c2@2 c2@2 c2@2 ~@4 c2@5 ~ c2@2 c2@2 g1@2 ~@4 g1@5 ~ g1@2 g1@2 g1@2 ~@4 g1@2]/8",
  N: "g1@3 ~ g1@3 ~ g1@5 ~ g1@2", O: "g1@5 ~ g1@2 g1@5 ~ g1@2", P: "g1@5 ~ g1@2 e2@5 ~ e2@2",
  Q: "e2@5 ~ e2@2 e2@5 ~ e2@2", R: "e2@5 ~ e2@2 c2@5 ~ c2@2", S: "c2@5 ~ c2@2 c2@5 ~ c2@2",
  T: "~@2 g1@2 c2@2 d1@2 g1@5 ~ g1@2", U: "g1@2 g1@2 g1@2 g1@2 d2@3 ~ d2@2 d2@2",
  V: "g1@3 ~ g1@3 ~ g1@2 g1@2 g1@2 g1@2", W: "g1!8", X: "[g1@2 g1@2 g1@2 g1@2 g1@31 ~@9]/3",
})).s("gm_electric_bass_pick").gain(0.8)

// drums · kick
const kick = s("bd").struct(`<
  A B@9 C B C B C B D B C B C B C B D B@6 E A B C B C B C B D B C B C B C B D F G H@4 I G B@6 E A B C B C B C B D B C B
  C B C B D F G H@4 I G B@17 J K L@5 I H B@6 M N B C B C B C B D B C B O P@2 Q R F G H@4 I G B@14 M S ~@2
>`.pickRestart({
  A: "~ x", B: "x!2", C: "x ~@2 x!2 ~@3", D: "~ x ~ x!2 ~@3", E: "x", F: "x ~ x!2", G: "x!3 ~", H: "~ x!2 ~",
  I: "~ x ~@2", J: "x ~@2 x", K: "~@3 x", L: "~ x ~ x", M: "x ~@4 x ~@2", N: "~ x ~@2 x ~@3", O: "x ~ x ~@2 x!2 ~",
  P: "~ x!2 ~@2 x!2 ~", Q: "~ x!2 ~@4 x", R: "x!5 ~@3", S: "~ x ~@6",
})).gain(0.51)

// drums · snare
const snare = s("sd").struct(`<
  A B@15 C B@7 C B@6 D C B@7 C B@7 E F G H@4 F C B@6 D C B@7 C B@7 E F G H@4 F C B@17 I J@3 K J@2 L M B@6 N O B@7 C B@3
  P Q@2 R S F G H@4 T C B@14 N U ~@2
>`.pickRestart({
  A: "~@3 x", B: "~ x ~ x", C: "x!2 ~ x", D: "~@4 x ~@7 x ~ x!2", E: "x ~ x ~@3 x!2", F: "~ x!3", G: "x!3 ~",
  H: "~@2 x ~ x!2 ~@2", I: "~@2 x ~ x ~@2 x", J: "~@4 x ~@2 x", K: "~@4 x ~ x!3 ~@5 x ~", L: "~@8 x ~ x!6",
  M: "x ~@2 x", N: "~@2 x ~ x!3 ~", O: "x!4 ~@2 x ~", P: "~ x", Q: "x!2", R: "x ~@2 x!5", S: "x!4 ~@2 x!2",
  T: "~@4 x ~@3 x!8", U: "x!3 ~ x ~@3",
})).gain(0.51)

// drums · mid tom
const mid_tom = s("mt").struct("<~@50 [~@6 x!2]!5 ~@27 [~@6 x!2]!5 ~@53 [~@6 x!2]!5 ~@20>").gain(0.51)

// drums · high tom
const high_tom = s("ht").struct("<~@51 [x!2 ~@6]!5 ~@27 [x!2 ~@6]!5 ~@53 [x!2 ~@6]!5 ~@19>").gain(0.51)

// drums · ride
const ride = s("rd").struct(`<
  A B@47 C D E F@4 G B@24 C D E F@4 G B@18 H@7 I B@24 C D E F@4 J K B@14 C E ~@2
>`.pickRestart({
  A: "~@4 x!4", B: "x!8", C: "x!5 ~ x ~", D: "x!4", E: "x!3 ~", F: "~ x!2 ~", G: "~@2 x ~ x!4", H: "x!5 ~ x!2",
  I: "x!5 ~@3", J: "~ x ~@2", K: "x ~ x!6",
})).gain(0.51)

// drums · congas
const congas = s("conga:13").struct("<~@162 [~ x] ~@2>").gain(1.64)

stack(
  distortion_guitar, distortion_guitar_2, distortion_guitar_soft, distortion_guitar_3, electric_guitar_clean, bass,
  kick, snare, mid_tom, high_tom, ride, congas
)

More by Metallica