Strudelify

Chemistry

Rush

KeyF majorTempo130 bpm
0:00/0:00
// Chemistry — Rush
// 130 bpm, 4/4, key F major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: duplicate parts dropped: ch 2 "Guitar" distortion guitar (copy of ch 5 "Synth" pad poly); ch 3 "Guitar Bass" distortion guitar (copy of ch 6 "Synth Bass" lead 8 bass lead)
// note: Full arrangement: all 144 bars on a 16-step grid, each part at one level. 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 · pad poly · "Synth"
const pad_poly = note(`<
  A@2 B@2 C@2 D@2 A@2 B@2 C@2 D@2 A@2 B@2 C@2 D@2 A@2 B@2 C@2 D@2 ~@16 E F E F E F E F E F E F E F E F E F E G A@2 B@2
  C@2 D@2 A@2 B@2 C@2 D@2 ~@16 E F E F E F E F E F E F E F E F E F E G A@2 B@2 C@2 D@2 A@2 B@2 C@2 D@2 C@2 D@2 C@2 D@2
>`.pickRestart({
  A: "[d3,g3,a3,d4]/2", B: "[d3,f3,a3,c4]/2",
  C: "[[a3,c4,e4]@2 [g3,b3,d4]@2 ~@2 [f3,a3,c4]@4 [e3,g3,b3]@2 [f3,a3,c4] [g3,b3,d4]@3]/2", D: "[f3,a3,c4]/2",
  E: "[f3,c4,d4] [c4,f4]", F: "g4@2 b4 c5, [c4,f4]", G: "g4 a4 c5@2, [c4,f4]",
})).s("gm_pad_poly").gain(0.32).pan(1)

// chords · lead 8 bass lead · "Synth Bass"
const lead_8_bass_lead = note(`<
  ~@32 A B C D E F G H@2 I C D E F G J ~@36 A B C D E F G H@2 I C D E F G J ~@44
>`.pickRestart({
  A: "~@2 [a3,d4] ~ [a3,d4]@4", B: "[g3,c4]!2 ~ [a3,c4] ~ [g3,c4] [a3,d4] [g3,c4]", C: "~ g3 [g3,c4] ~ [g3,c4]@4",
  D: "[g3,b3]!2 ~ [g3,c4] ~ [g3,b3] [g3,c4] [g3,b3]", E: "~ [c3,f3] [g3,b3] ~ [g3,b3]@4",
  F: "[g3,a3,d4]!2 ~ [g3,a3,d4] ~ [f3,g3,c4]@2 [a3,d4]", G: "~ [g3,c4] [a3,d4] ~ [a3,d4]@4",
  H: "[[c4,f4] ~ [c4,f4] ~ [c4,f4] ~ [b3,e4] [a3,d4]@3 [a3,d4] ~ [a3,d4]@4]/2", // F5 E5 D5
  I: "[g3,c4]!2 ~ [a3,d4] ~ [g3,c4] [a3,d4] [g3,c4]", J: "[c4,f4] ~ [c4,f4] ~ [c4,f4] ~ [a3,d4] ~",
})).s("gm_lead_8_bass_lead").gain(0.25).pan(1)

// bass · electric bass finger · "Bass"
const bass = note(`<
  A@2 B@2 C@2 D@2 A@2 B@2 C@2 D@2 A@2 B@2 C@2 D@2 A@2 B@2 C@2 D@2 E F G H I J K L@2 F G H I J K M N O N O N O N O N O N
  O N O N O N O N P A@2 B@2 C@2 D@2 A@2 B@2 C@2 D@2 E F G H I J K L@2 F G H I J K M N O N O N O N O N O N O N O N O N O
  N P A@2 B@2 C@2 D@2 A@2 B@2 C@2 D@2 C@2 D@2 C@2 Q@2
>`.pickRestart({
  A: "d2@3 d2 d2@4", B: "c2@3 c2 c2@4", C: "[a2@2 g2@2 ~@2 f2@4 e2@2 f2 g2@3]/2", D: "f2@3 f2 f2@4", E: "~@2 d2 ~ d2@4",
  F: "c2!2 ~ d2 ~ c2 d2 c2", G: "~ g1 c2 ~ c2@4", H: "e2 f2 g2 f2 ~ e2 d2 g1", I: "~ f1 g1 ~ g1@4",
  J: "f1 g1 f1 a1 ~ f1@2 c2", K: "d2 c2 d2 ~ d2@2 c2 d2", L: "[f2 ~ g2 ~ f2 ~ e2 d2@2 d2!2 ~ d2@4]/2",
  M: "f2 ~ g2 ~ b2 ~ c3 ~", N: "d2 f2", O: "g2@3 c2 ~ c2 b1 g1", P: "g2", Q: "f2/2",
})).s("gm_electric_bass_finger").gain(0.64).pan(0.7)

// other · distortion guitar · "Solo"
const distortion_guitar = note("<~@24 [f5 d5 c5 d5 f5 d5 c5 d5 f5 d5 c5 d5 f5 d5 c5 d5]!8 ~@112>")
  .s("gm_distortion_guitar").gain(0.19).pan(0)

// drums · kick
const kick = s("bd").struct(`<
  A ~ A ~ B C D@17 E D@15 ~ D@7 ~@21 D@4 ~@2 D@17 ~ D@7 ~@21 D@4 ~@2 D@16 ~@2
>`.pickRestart({
  A: "x", B: "x!2 ~ x", C: "~@2 x ~ x!2 ~@2", D: "x ~@2 x!2 ~@3", E: "x ~@5 x ~ x ~@4 x ~@2",
})).gain(0.8)

// drums · snare
const snare = s("sd").struct(`<
  ~@6 A B A@3 C A@3 B A@3 D A@3 E A D A@13 F A@7 F G@16 H@2 I G A@4 J C A@7 B A@9 F A@7 F G@16 H@2 I G A@4 J C A@7 B A K
  A@5 C ~@2
>`.pickRestart({
  A: "~ x ~ x", B: "~@4 x ~@7 x!3 ~", C: "~ x ~@2", D: "~@4 x ~@7 x!4", E: "~@2 x ~@3 x!2", F: "x ~ x ~ x ~ x!2",
  G: "x!2", H: "x!3 ~", I: "x!4", J: "x ~@3 x ~@5 x!3 ~@3", K: "~@4 x ~@5 x!6",
})).gain(0.8)

// drums · low tom
const low_tom = s("lt").struct("<~@9 A ~ B ~@16 C D ~@37 B ~@5 B ~@45 B ~@5 B ~@13 B ~ B ~@2>".pickRestart({
  A: "~@12 x!4", B: "~@15 x", C: "~@12 x!2 ~@2", D: "~@13 x!2 ~",
})).gain(0.8)

// drums · hihat
const hihat = s("hh").struct("<A@11 B A@27 C A@7 C ~@20 A@4 ~@2 A@17 C A@7 C ~@20 A@4 ~@2 A@15 B ~@2>".pickRestart({
  A: "x!8", B: "x!5 ~@3", C: "x ~ x ~ x ~ x!2",
})).gain(0.8)

// drums · mid tom
const mid_tom = s("mt").struct(`<
  ~@11 A ~@5 B ~@10 C D ~@18 E@19 F ~@5 F ~@26 E@2 G E@16 F ~@5 F ~@13 A ~ A ~@2
>`.pickRestart({
  A: "~@13 x!2 ~", B: "~@15 x", C: "~@4 x!2 ~@10", D: "~@3 x", E: "~@6 x!2", F: "~@12 x!3 ~", G: "~@4 x ~ x!2",
})).gain(0.8)

// drums · open hat
const open_hat = s("oh").struct("<A@6 ~@9 B ~@56 C D ~@50 C D ~@18>".pickRestart({
  A: "~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x", B: "~@15 x", C: "x!2 ~ x", D: "~ x ~@2",
})).gain(0.8)

// drums · high tom
const high_tom = s("ht").struct(`<
  ~@11 A ~@5 B ~@10 C D ~@18 E F E F E F E F E F E F E F E F E F E G ~@5 H ~@26 E F I F E F E F E F E F E F E F E F E G
  ~@5 H ~@13 J ~ K ~@2
>`.pickRestart({
  A: "~@10 x!3 ~@3", B: "~@13 x!2 ~", C: "x!2 ~@14", D: "~@4 x!2 ~@2 x!4 ~@4", E: "x ~ x!3 ~@3", F: "x ~ x!2 ~ x ~@2",
  G: "x ~@3 x ~ x ~@2 x!3 ~@4", H: "~@4 x!2 ~@2", I: "x ~ x!2 ~@4", J: "~@11 x!2 ~@3", K: "~@5 x!2 ~",
})).gain(0.8)

// drums · crash
const crash = s("cr").struct(`<
  A ~ A ~ B C A ~ A ~ A ~ B C A ~ A ~ A ~ B C A ~@7 A ~ D ~@35 A E ~ F ~@2 A ~ A ~ A ~@3 A ~ D ~@5 G ~@29 A E ~ F ~@2 A
  ~ A ~ A ~@3 A ~ B C ~@4 A ~
>`.pickRestart({
  A: "x", B: "x!2 ~ x", C: "~@2 x ~ x!2 ~@2", D: "~ x ~@2", E: "~@4 x ~ x ~ x!3 ~@5", F: "x!4 ~@4", G: "x!3 ~ x ~@3",
})).gain(0.8)

// drums · ride bell
const ride_bell = s("rd").struct("<A ~ A ~@3 A ~@9 A ~@31 B@20 ~@32 B@20 ~@22 A ~>".pickRestart({
  A: "x", B: "x!8",
})).gain(0.8)

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

More by Rush