Strudelify

Stinkfist

Tool

KeyE minorTempo87 bpm
0:00/0:00
// Stinkfist — Tool
// 87 bpm, 4/4, key E minor. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: metre changes (4/4 at bar 1, 2/4 at bar 9, 4/4 at bar 10, 6/4 at bar 26, ...) are rendered on a constant 4/4 grid of one bar per cycle
// note: pitch bends are ignored
// note: Full arrangement: all 112 bars on a 16-step grid, each part at one level. Source detail keeps the original performance.
setcpm(87/4)

// Notation: c3@3 lasts 3 steps · ~ is a rest · [c3,e3] is a chord · [...]/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 E@2 ~@3 F G H I J ~@7 K L M N O P Q@2 P R S@5 ~@7 T@5 U V W U X Y Z AA@5 ~@4 AB@2 ~ AC AB@2 AD AE AB@2 ~ AF
  AG@2 AH AI AG@2 AJ@2 AK AL AK AL AM AN ~@3 AO AP AQ AR AS AT Q@2 P AU@2 AV@2 ~@6
>`.pickRestart({
  A: "d#2 e2!2 b4@2 e2!2 b4@3 b4 e2 b4!3 e6", B: "d#2 e2@2 b4@2 e2 b4 e2!2 b4@2 e2 b4!3 e6",
  C: "d#2 e2!2 b4@3 b4 b4@2 b4@2 e2 b4!3 e6", D: "d#2 e2@2 b4 e2@2 b4 b4@2 b4 e2@2 b4@2 e2 b4",
  E: "[d#2 e2@2 b4@2 e2 b4@2 e6!2 ~ e6!3 ~ e6@17]/2", F: "~@4 e2@3 d3", G: "e2 f2@2 e2@3 d3@2 e2@3 e2@3 d3@2",
  H: "e2 f2@2 e2@3 d3@2 e2@6 d3@2", I: "e2 f2@2 e2@3 d3@2 e2 f2@2 e2@3 d3@2", J: "e2 f2@2 e2@3 ~@10",
  K: "~@3 [d3,g3,b3] [e2,b2,e3]@3 [d3,g3,b3]", L: "[e2,b2,e3]@3 [d3,g3,b3] [e2,b2,e3]@3 [d2,a2,d3]",
  M: "[e2,b2,e3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@12 ~@12]/2", // C5 D5
})).s("gm_distortion_guitar").gain(0.58)

// chords · distortion guitar
const distortion_guitar_2 = note(`<
  ~@25 A ~ B A ~@2 C ~@11 D ~@3 E@2 F E@2 ~ G ~@12 H ~@12 I ~@5 J ~ J K ~@6 L ~@2 M B A ~ B ~@9
>`.pickRestart({
  A: "~@11 [e2,b2,e3]@3 ~@2", B: "~@3 [e2,b2,e3]@3 ~@10", C: "d3@3 ~", D: "~@5 d3@5 ~@6",
  E: "[~@15 [e2,b2,e3]@3 ~@14]/2", F: "~@7 [e2,b2,e3]@3 ~@6", G: "~ d3@3", H: "[e3,b3,e4] ~@7", I: "~@2 [b3,d4] f#3",
  J: "~@15 [e2,b2,e3]", K: "~@4 [c3,g3,d4] ~@11", L: "~@11 [g2,d3,g3,d4,g4]@2 ~@3",
  M: "~@3 [g2,d3,g3,d4,g4]@2 ~@5 [a2,e3,a3,e4,a4]@2 ~@4", // G5 A5
})).s("gm_distortion_guitar").gain(0.58)

// other · electric guitar muted · "P.M. Guitar"
const electric_guitar_muted = note(`<
  ~@13 A B@3 C D@2 E F ~@13 G H@3 I@2 J K@2 ~@30 L M ~@18 N O P Q ~@14
>`.pickRestart({
  A: "~@6 d3@2 e2 d3@2 e2@3 d3@2", B: "e2 d3@2 e2@3 d3@2 e2 d3@2 e2@3 d3@2", C: "e2 d3@2 e2@3 d3@2 e2 e2@5 d3@2",
  D: "e2 e2@2 e2 e2@2 d3@2 e2 e2@2 e2 e2@2 d3@2", E: "e2 e2@2 e2 e2@2 d3@2 e2 d3@2 e2@3 d3@2", F: "e2 d3@2 e2@3 ~@10",
  G: "~@10 d2@2 e2@3 e2", H: "e2@2 d2@2 e2@3 e2 e2@2 d2@2 e2@3 e2",
  I: "[e2@2 d2@2 e2@3 e2 e2@2 d2@2 e2 e2@5 d3@2 e2 e2@2 e2 e2@2 d3@2 e2 e2@2 e2]/2",
  J: "e2@2 d3@2 e2 e2@2 e2 e2@2 d3@2 e2 e2@2 e2", K: "[e2@2 d3@2 e2 e2@2 e2 e2@2 d3@2 e2 d3@2 e2@3 d3@2 e2 ~@11]/2",
  L: "e2!7 d2 e2!7 d2", M: "e2!4 ~@12", N: "~@4 d2 ~ d2!2 ~@4 d2 ~ d2!2", O: "~@4 d2!4 ~@8", P: "~@12 d2!4",
  Q: "~@4 d2 ~ d2!2 ~@4 d2!4",
})).s("gm_electric_guitar_muted").gain(0.58)

// bass · electric bass finger
const bass = note(`<
  ~@9 A B@3 C D@3 E F@3 G H B I J K L@2 K M N@8 O@8 P Q R S Q T U ~ V W X W X W X W X Y@2 W X Y@2 W X Y@2 Z AA AB@2 AC@2
  AB@2 AC@2 AD AE AD AE AF AG@2 AH@2 AF AI AJ AK AL AM AN@2 AO AP@2 AQ@2 AR@3 AS@3
>`.pickRestart({
  A: "~@4 e1@3 d2", B: "e1@3 d2 e1@3 d2", C: "e1@6 d2@2 e1 e1@5 d1@2", D: "e1 e1@5 d1@2 e1 e1@5 d1@2",
  E: "e1 e1@5 d1@2 e1 e1@5 d2@2", F: "e1 e1@5 d2@2 e1 e1@5 d2@2", G: "e1 e1@5 d2@2 e1@6 d2@2", H: "e1@3 d2 e1@3 d1",
  I: "e1@3 d1 e1@3 d2", J: "e1@6 d1!2 e1@3 ~@3 c2@2", K: "~ c2@3 d1@3 [d1,d2]@3 d1@2 d1!2 e1 f1",
  L: "[e1@3 ~@3 c2@3 c2@3 [d1,d2]@3 d1@3 [d1,d2]@2 d1!2 e1 f1 e1@3 ~@3 c2@2]/2", M: "e1@3 e1 d1!2 c2@3 c2@3 ~@4",
  N: "[~@12 e1@6 d2@2 e1@6 d2@2 e1@6 d2@2 e1@6 d2@2 e1@6 d2@2 e1@6 d2@2 e1@6 d2@2 e1@6 d1@2 e1 e1@5 d1@2 e1 e1@5 d1@2 e1 e1@5 d1@2 e1 e1@5 d1@2 e1 e1@5 d1@2 e1 e1@5 d1@2 e1 e1@3]/8",
  O: "[~@2 d1@2 e1 e1@5 d1@2 e1 e1@5 d2@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 f#1@2 d1@2", AN: "[e1@3 ~@3 c2@3 c2@3 d1@3 [d1,d2]@3 d1@2 d1!2 e1 f1 e1@3 ~@3 c2@2]/2",
  AO: "~ c2@3 [d1,d2]@3 d1@3 [d1,d2]@2 d1!2 e1 f1", // D
  AP: "[e1@3 ~@3 c2@3 c2@3 d1@3 [d1,d2]@3 d1@2 d1!2 e1 f1 e1@3 e1 d1!2 c2@2]/2", // D
  AQ: "[~ c2@3 d2@16 e1@3 e2@3 e1@3 e2@3]/2", AR: "e1@2 e2@2 e1@3 e2@3 e1@3 e2@3",
  AS: "[e1@2 e2@2 e1@3 e2@3 e1@3 e2@23 ~@12]/3",
})).s("gm_electric_bass_finger").gain(0.8)

// bass · electric bass finger
const bass_2 = note(`<
  ~@25 A ~ B A ~ C@2 ~@15 D@2 E D@2 ~@12 F@2 ~@2 F@2 ~@2 F@2 ~@11 G ~ G ~@7 H ~@2 I B A ~ B ~@9
>`.pickRestart({
  A: "~@11 e1@3 ~@2", B: "~@3 e1@3 ~@10", C: "[~@3 d2@4 ~]/2", D: "[~@15 e1@3 ~@14]/2", E: "~@7 e1@3 ~@6",
  F: "~@4 f1 ~@7 f1 ~@3", G: "~@15 e1", H: "~@11 g1@2 ~@3", I: "~@3 g1@2 ~@5 a1@2 ~@4",
})).s("gm_electric_bass_finger").gain(0.8)

// chords · distortion guitar
const distortion_guitar_3 = note("<~@78 A@2 ~@2 B@2 ~@5 C D E F G H I J K ~@6 L@8>".pickRestart({
  A: "[d2,a2,d3]@3 [d2,b2,d3] [d2,a2,d3]@3 [d2,b2,d3]", // D5 G D5 G
  B: "[b3,d4] [b3,d4]@2 [b3,d4]!3 [a3,d4]@2 [b3,d4] [b3,d4]@2 [b3,d4]!3 [a3,d4]@2", C: "~@2 [a2,e3,b3]!6",
  D: "[a2,e3,b3]@2 [a2,e3,b3]@2 [a2,e3,b3]@2 ~ [c3,g3,d4] [c3,g3,d4]@3 [c3,g3,d4] ~ [d3,a3,e4] [d3,a3,e4]@2", // Asus2 Csus2 Dsus2
  E: "~ [d3,a3,e4] [d3,a3,e4]@2 [b2,f#3,c#4]@2 [b2,f#3,c#4]!2 [a2,e3,g3,b3,e4]@4 [a2,e3,g3,b3,e4]@3 [a2,e3,g3,b3,e4]", // Dsus2 Bsus2 Em
  F: "[a2,e3,b3]!2 [a2,e3,g3,b3,e4]@2 [a2,e3,b3]!2 [g3,b3,e4] [c3,g3,d4]", // Asus2 Em Asus2 Em Csus2
  G: "[c3,g3,d4]@3 [c3,g3,d4] ~ [d3,a3,e4] [d3,a3,e4]@6 [b2,f#3,c#4]@2 [d2,a2,d3]!2", // Csus2 Dsus2 Bsus2 D5
  H: "[e2,b2,e3,b3,e4]@4 d2 ~ d2!2 [e2,b2,e3,b3,e4]@4 d2 ~ d2!2", I: "[e2,b2,e3,b3,e4]@4 d2!4 ~@8",
  J: "~@8 [e2,b2,e3,b3,e4]@4 d2!4", K: "[e2,b2,e3,b3,e4]@4 d2 ~ d2!2 [e2,b2,e3,b3,e4]@4 d2!4", L: "[~@2 d3@27 ~@3]/8",
})).s("gm_distortion_guitar").gain(0.24)

// chords · distortion guitar · B7 Csus2 Asus2 Csus2
const distortion_guitar_4 = note(`<
  ~@90
  [~@6 [a2,f#3,b3] ~@5 [c3,g3,d4] ~@3]
  ~
  [~@6 [a2,e3,b3] ~]
  [~@4 [c3,g3,d4] ~@11]
  ~@18
>`).s("gm_distortion_guitar").gain(0.24)

// other · distortion guitar
const distortion_guitar_5 = note("<~@5 A@5 ~@11 B C D E F ~@17 G H I J K ~@36 L M N O ~@6 P Q R S ~@14>".pickRestart({
  A: "[d3@5 d3 d#3 d3@29 ~@4]/5", B: "~@6 e4@2 ~@2 a4 f#4 g#4@4", C: "~ a4 g#4@2 g#4@4 ~@2 g#4!2 g#4@2 g#4@2",
  D: "g#4!2 g#4@2 ~ g#4 a4@2 ~ a4@2 g#4!3 ~@2", E: "~ g#4 g#4@2 g#4!2 ~@5 f#4 g4@3 f#4",
  F: "g4@3 f#4 g4 e4 ~ e4 e4@2 d4@2 ~@4", G: "~@10 e4@2 ~@2 a4 f#4", H: "g#4@4 ~ a4 g#4@2 g#4@4 ~@2 g#4!2",
  I: "g#4@2 g#4@2 g#4!2 g#4@2 ~ g#4 a4@2 ~ a4@2 g#4", J: "g#4!2 ~@3 g#4 g#4@2 g#4!2 ~@5 f#4",
  K: "g4@3 f#4 g4@3 f#4 g4 e4 ~ e4 e4@2 d4@2", L: "f#4 g4@2 f#4 g4@2 f#4 e4 e4@4 ~@3 d4",
  M: "e4 d4@2 b3@3 a3@2 b3 b3@3 ~@3 e4", N: "f#4@2 g4 f#4@2 g4 f#4 e4 e4@4 ~@4",
  O: "~ e4 ~ d4 a3 g3 ~ a3 g3 f#3 ~ e3 ~@4", P: "~@2 g#4 e4 ~@2 g#4 ~", Q: "~@4 g#4 e4@3 ~@8", R: "~@3 b3 g#4 e4 ~@2",
  S: "g#4 e4 ~@2 g#4 e4 g#3 ~",
})).s("gm_distortion_guitar").gain(0.8)

// other · steel drums · "Steel Drum"
const steel_drums = note("<A B C D E@2 ~@106>".pickRestart({
  A: "d#2 e2!2 b4@2 e2!2 b4@3 b4 e2 b4!3 e6", B: "d#2 e2@2 b4@2 e2 b4 e2!2 b4@2 e2 b4!3 e6",
  C: "d#2 e2!2 b4@3 b4 b4@2 b4@2 e2 b4!3 e6", D: "d#2 e2@2 b4 e2@2 b4 b4@2 b4 e2@2 b4@2 e2 b4",
  E: "[d#2 e2@2 b4@2 e2 b4@2 e6!2 ~ e6!3 ~ e6@17]/2",
})).s("gm_steel_drums").gain(0.8)

// drums · kick
const kick = s("bd").struct(`<
  ~@9 A B@3 C B@7 D E F G H I J K I G L M@3 N M@7 O N P Q L R S T R S ~@3 U ~@7 V@2 ~@2 V@2 ~@2 V@2 ~@2 E W X ~ E W X Y
  Z AA Y AB AC U ~@4 AD AE AF AD AG J K I J AH AI ~@7
>`.pickRestart({
  A: "~ x", B: "x!2 ~@6 x!2 ~@6", C: "x!2 ~@2 x ~@3 x!2 ~@6", D: "x!2 ~@6 x ~@7", E: "x ~@7 x!2 ~@6",
  F: "x ~@2 x ~@4 x!2 ~@6", G: "x ~@7 x!2 ~ x ~@4", H: "~@2 x!2", I: "x!2 ~ x ~@6 x ~@5", J: "x ~@3 x ~@3 x!2 ~ x ~@4",
  K: "~ x ~@2 x ~ x ~", L: "~@3 x", M: "~@4 x!2 ~@6 x!2 ~@2", N: "~@4 x ~@7 x!2 ~@2", O: "~@4 x!2 ~@6 x ~@3",
  P: "~@4 x ~@2 x ~@4 x!2 ~@2", Q: "~ x ~ x", R: "~@4 x!2 ~ x ~@6 x ~", S: "~@4 x ~@7 x!2 ~ x", T: "~@3 x ~@2 x ~",
  U: "x", V: "~@5 x ~ x ~@8", W: "x!2 ~@6 x!2 ~@4 x ~", X: "x ~@5 x ~ x ~@2 x ~@2 x ~", Y: "x ~@2 x ~@12",
  Z: "x ~@2 x ~@2 x ~@9", AA: "~@5 x!2 ~", AB: "~@11 x ~@4", AC: "x ~@2 x ~@5 x ~@6", AD: "x!2",
  AE: "x ~@7 x ~@2 x ~ x ~@2", AF: "~ x ~@2 x ~@3 x ~@7", AG: "x ~@2 x ~ x ~@10", AH: "~ x ~@2 x ~@3",
  AI: "x!2 ~ x!2 ~@11",
})).gain(0.8)

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

// drums · hihat
const hihat = s("hh").struct("<~@10 A@3 B C@7 D ~@9 E F@3 G H@7 I ~@68>".pickRestart({
  A: "x!4 ~@4 x!4 ~@4", B: "x!4 ~@4 x!5 ~@3", C: "x!6 ~@2 x!5 ~@3", D: "x!6 ~@10", E: "x!3 ~", F: "~@4 x!4 ~@4 x!4",
  G: "~@12 x!4", H: "x ~@3 x!6 ~@2 x!4", I: "x ~@3 x!6 ~@6",
})).gain(0.8)

// drums · low tom
const low_tom = s("lt").struct("<~@60 A@4 B@2 A@2 B@2 A@2 B@2 C D ~@7 E F G F H E ~@4 E ~@2 I ~ J ~@13>".pickRestart({
  A: "x!2 ~ x!3 ~@2 x!2 ~ x ~@4", B: "x!2 ~ x!2 ~@3 x!2 ~ x!2 ~@3", C: "x ~@2 x ~@4 x ~@2 x ~@4",
  D: "x ~@2 x ~@3 x!4 ~@5", E: "~@14 x!2", F: "~@13 x!2 ~", G: "~@6 x ~@7 x!2", H: "~@7 x!2 ~@5 x!2", I: "~@6 x!2 ~@8",
  J: "~@13 x!3",
})).gain(0.8)

// drums · mid tom
const mid_tom = s("mt").struct(`<
  ~@26 A ~ B A ~@5 C ~@12 D E F D E ~@7 G@4 ~@2 G@2 ~@2 G@2 ~@2 H I ~@7 D ~ J ~ K L ~@4 M ~@4 N ~ B A ~ B ~@8
>`.pickRestart({
  A: "~@9 x ~@4 x!2", B: "~ x ~@4 x!2 ~@8", C: "~@6 x!2 ~@8", D: "~@13 x ~@2", E: "~@2 x!2 ~@12",
  F: "~@5 x ~@4 x!2 ~@4", G: "~@14 x!2", H: "~@3 x ~@3 x", I: "~@11 x!2 ~@3", J: "~@7 x ~@8", K: "~@4 x!2 ~@10",
  L: "~@11 x ~@4", M: "~@12 x!2 ~@2", N: "~@10 x!3 ~@3",
})).gain(0.8)

// drums · open hat
const open_hat = s("oh").struct("<~@9 A B@3 C D@7 E F@3 ~@5 A ~ F@3 G H@7 I B@3 ~@65>".pickRestart({
// … 37 more lines

More by Tool