Strudelify

Desensitized

Green Day

KeyG majorTempo178 bpm
0:00/0:00
// Desensitized — Green Day
// 178 bpm, 4/4, key G major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Full arrangement: all 100 bars on a 16-step grid, each part at one level. Source detail keeps the original performance.
setcpm(178/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 A B A B A B A B A C D@2 E@2 D@2 E@2 F@4 G@2 H@2 A B A B A B A B A B A I A J A J A J A K D@2 E@2 D@2 E@2 F@4 G@2
  H@2 L@12 D@2 E@2 D@2 E@2 F@4 G@2 H@2 A B A M A B A B
>`.pickRestart({
  A: "[g2,d3,g3]@2 [g2,d3,g3]!2 [g2,d3,g3]@2 [c3,g3,c4]@3 ~ [c3,g3,c4]@3 ~ [c3,g3,c4]@2", B: "[g2,d3,g3]@3 ~@13",
  C: "[g2,d3,g3]@3 ~@9 [g2,c3,e3] [f2,a2,b2] [e2,f2,a2] [b1,c2,e2]", // G5 C Bm7b5 Fmaj7 Cmaj7
  D: "[[e2,b2,e3]@2 [e2,b2,e3]!5 [e2,b2,e3]@2 [e2,b2,e3]!2 [e2,b2,e3]@2 [e2,b2,e3]!3]/2", // E5
  E: "[[g2,d3,g3]@2 [g2,d3,g3]!5 [g2,d3,g3]@2 [g2,d3,g3]!7]/2", // G5
  F: "[[a2,e3,a3]@2 [a2,e3,a3]!5 [f2,c3,f3]@2 [f2,c3,f3]!7]/2", // A5 F5
  G: "[[c3,g3,c4]@2 [c3,g3,c4]@2 [c3,g3,c4]!3 [g2,d3,g3]@2 [g2,d3,g3]!2 [g2,d3,g3]@2 [g2,d3,g3]!3]/2", // C5 G5
  H: "[[f2,c3,f3]@2 [f2,c3,f3]@2 [f2,c3,f3]!3 [f2,c3,f3]@2 [f2,c3,f3]!7]/2", // F5
  I: "[g2,d3,g3]@2 g1@2 [a1,b1,c2] ~ a1 ~ [d2,e2,f2] ~ [a1,b1,c2] ~ [g2,c3,e3] [f2,a2,b2] [e2,f2,a2] [b1,c2,e2]", // G5 Am Dm Am C Bm7b5 Fmaj7 Cmaj7
  J: "[g2,d3,g3]@2 g2 ~ [g2,d3] ~ [g2,d3] ~ [g2,d3] ~ [g2,d3] ~ [g2,d3] ~ [g2,d3] ~", // G5
  K: "[g2,d3,g3]@2 g2 ~ [g2,d3] ~ [g2,d3] ~ [g2,d3] ~ [g2,d3] ~ [g2,c3,e3] [f2,a2,b2] [e2,f2,a2] [b1,c2,e2]", // G5 C Bm7b5 Fmaj7 Cmaj7
  L: "[[g2,d3,g3]!3 [c3,g3,c4]@2 [c3,g3,c4]!2 [g2,d3,g3]@2 [g2,d3,g3]!7]/2", M: "[g2,d3,g3]@3 ~ [g1,d2] ~@3 [d4,g4]@8",
})).s("gm_distortion_guitar").gain(0.5)

// bass · electric bass finger
const bass = note(`<
  A B A B A B A B A B A C D@2 E@2 D@2 E@2 F@4 G@2 H@2 A B A B A B A B A B A C A B A B A B A C D@2 E@2 D@2 E@2 F@4 G@2
  H@2 I@12 D@2 E@2 D@2 E@2 F@4 G@2 H@2 A B A B A B A B
>`.pickRestart({
  A: "g1@2 g1@2 g1@2 c2@3 ~ c2@3 ~ c2@2", B: "g1@3 ~@13", C: "g1@3 ~@9 g#1 g1 f#1 e1",
  D: "[e1@2 e1!5 e1@2 e1!2 e1@2 e1!3]/2", E: "[g1@2 g1!5 g1@2 g1!7]/2", F: "[a1@2 a1!3 e2 a1 f1@2 f1!2 e1 f1!3 g1]/2",
  G: "[c2@2 c2 g2 c2 b1 a1 g1@2 g1 d2 g1@2 a1 b1 g1]/2", H: "[f1@2 f1@2 f1!2 c2 f1@2 f1!3 a1 g1 f1 a1]/2",
  I: "[g1 g2 g1 c2@2 c2 b1 g1@2 g1!7]/2",
})).s("gm_electric_bass_finger").gain(0.55)

// drums · kick
const kick = s("bd").struct(`<
  A B A B A B A B A B A C D E D E D E D F D E D E D E D G A B A B A B A B A B A H A@7 I D E D E D E D F D E D E D E D G
  J G J G J G J G J G J F D E D E D E D F D E D E D E D G A B A B A B A B
>`.pickRestart({
  A: "x!4", B: "x", C: "x ~@4 x ~@2", D: "x ~@3 x!2 ~ x", E: "~ x ~ x ~ x ~ x", F: "~ x ~ x ~@4", G: "~ x ~@2 x!2 ~ x",
  H: "x!2 ~ x ~ x ~ x", I: "x!2 ~ x ~ x ~@2", J: "x ~@2 x ~ x ~ x",
})).gain(0.5)

// drums · snare
const snare = s("sd").struct(`<
  A B A B A B A B A B A C D@7 E D@8 A B A B A B A B A B A F A B A B A B A F D@7 E D@19 G D@7 E D@8 A B A B A B A B
>`.pickRestart({
  A: "x ~ x!3 ~ x ~@3 x ~@3 x ~", B: "x", C: "x ~@2 x", D: "~ x ~ x", E: "~@4 x ~@3 x!2 ~@2 x ~ x!2", F: "x!4",
  G: "~@4 x ~@3 x!4 ~@4",
})).gain(0.5)

// drums · low tom
const low_tom = s("lt").struct("<~@28 A ~@10 B ~@35 C ~@16 A ~@3 A ~@3>".pickRestart({
  A: "x", B: "~ x", C: "~@14 x!2",
})).gain(0.5)

// drums · hihat
const hihat = s("hh").struct("<~@11 [~ x!2 ~] ~@88>").gain(0.5)

// drums · mid tom
const mid_tom = s("mt").struct("<~@39 [~ x] ~@35 [~@12 x!2 ~@2] ~@24>").gain(0.5)

// drums · open hat
const open_hat = s("oh").struct(`<
  ~@12 A B C D A B C E ~@28 A B C D A B C E ~@8 F D F D F D F D F D F E A B C D A B C E ~@16
>`.pickRestart({
  A: "~@2 x!6", B: "x!8", C: "~@2 x!5 ~", D: "~ x!7", E: "~ x!3 ~@4", F: "~@2 x ~@2 x!2 ~",
})).gain(0.5)

// drums · high tom
const high_tom = s("ht").struct("<~@19 [~@10 x!2 ~ x ~@2] ~@35 [~@10 x!2 ~ x ~@2] ~@27 [~@10 x!2 ~ x ~@2] ~@16>")
  .gain(0.5)

// drums · crash
const crash = s("cr").struct(`<
  ~@11 A B ~ C ~ B ~ C ~ B ~ B ~ D ~ D ~@12 A ~@7 A B ~ C ~ B ~ C ~ B ~ B ~ D ~ D ~ E ~ E ~ E ~ E ~ E ~ E ~ B ~ C ~ B ~
  C ~ B ~ B ~ D ~ D ~@8 B
>`.pickRestart({
  A: "~@3 x", B: "x", C: "x ~@6 x", D: "x ~ x ~@4 x", E: "x ~@2 x ~@3 x",
})).gain(0.5)

// drums · ride bell
const ride_bell = s("rd").struct("<~@20 A B A B C D C D ~@28 A B A B C D C D ~@20 A B A B C D C D ~@8>".pickRestart({
  A: "~@2 x!6", B: "x!8", C: "~@4 x!3 ~", D: "~ x!7",
})).gain(0.5)

stack(distortion_guitar, bass, kick, snare, low_tom, hihat, mid_tom, open_hat, high_tom, crash, ride_bell)

More by Green Day