Strudelify

Different Strings

Rush

KeyA minorTempo135 bpm
0:00/0:00
// Different Strings — Rush
// 135 bpm, 4/4, key A minor. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: metre changes (3/4 at bar 1, 4/4 at bar 1, 3/4 at bar 2, 2/4 at bar 3, ...) are rendered on a constant 4/4 grid of one bar per cycle
// note: sustain pedal (CC 64) lengthens the held notes
// note: Full arrangement: all 112 bars on a 16-step grid, each part at one level. Source detail keeps the original performance.
// note: Guitar parts that double another keep only their own notes (fills, solos): Guitar Dis.
setcpm(135/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.

// other · electric guitar clean · "Guitar"
const electric_guitar_clean = note(`<
  A@3 B@2 C B@3 C B@3 C B D E D F G@2 D E D F H@2 ~@14 A@3 B@2 C B@3 C B@3 C B@3 C B@3 C B D E D F G@2 D E D F H@2 ~@13
  I@2 J@2 K L J@2 K L J@2 K L J@2 K ~@6
>`.pickRestart({
  A: "[~ e3 g3!2 f#3 g3 [c4,e4]@8 ~ e3 g3!2 f#3 g3 [c4,e4]@2 ~@2, c4@3 d4@3 ~@8 c4@3 d4@3 ~@4]/3", // C
  B: "~ a3 c4 e4 b3@2 a3 c4", C: "~ g3 a3 b3@2 g3@3", D: "c#4 d3 a3 e4@2 c#4 a3 ~", E: "f4 c4 f3 f4@2 c4 a3 ~",
  F: "f4 c4 f3 f4 g4 d4 g3 ~", G: "[[a3,b3,c#4,e4]@3 e4@2 b3@2 c#4@3 a3 e4@2 b3 b3@2]/2",
  H: "[[a3,b3,c#4,e4]@2 a3 e4@2 b3@2 c#4@3 a3 e4@2 b3 b3@2]/2", I: "[[a3,b3,c#4,e4]@13 d4 g4@2]/2",
  J: "~@4 [a3,c#4,e4] ~@3", K: "~@4 [g3,c4,e4] ~@3", L: "~@4 [a3,d4,f#4] d4 g4@2",
})).s("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b3@3 ~ b3@4 ~@3 b3@5, ~@2 c3@2 ~ [a2,e3]@3 ~ a2@7]/2", // C A5
  C: "[[e3,g3,a3,c4]@2 g3 [g3,a3,c4,e4] g3@2 [g2,g3,b3,d4,e4]@3 [g2,g3,b3,d4,e4]@3 [g2,g3,b3,d4,e4]@2 [g3,c4,e4]@3 [g3,c4,e4]@3 [g3,c4,e4]@3 [g3,c4,e4]@3 [g3,c4,e4]@2 ~@3 e4 ~@2 c4 c3@2 ~ g3 e4 ~@3 e2 ~ e2 ~ e4, f2@3 f2@3 ~@8 a2@6 a2@8 c3@5 c3@2 [d3,g3,b3]@3 ~ c3@2 ~@5 c3@2, ~@28 [g3,b3,d4]@3 ~ [f3,a3,c4]@2 ~@6 b3@2 g3@2 b3@3 ~, ~@30 f2@7 f2@2 ~@2 f2@2 ~ a1@4]/6", // Am7 Em7 C G F
  D: "[~@4 b3 ~@3 e4 d4 [e3,c4]@2 [e3,g3,a3,c4]@2 g3 [g3,a3,c4,e4] g3@2 [g3,b3,d4,e4]@3 [g3,b3,d4,e4] [e2,g3,b3,d4,e4]@2, b3@4 ~@3 b3@5 ~@12, ~ [a2,e3]@3 ~ a2@7 f2@3 f2@3 g2@4 ~@2, ~@3 b4@2 ~ a4@2 e3@2 ~@14]/3", // C Am7 Em7 A5
  E: "[a2,a3,b3,c#4,e4]", F: "[a2,a3,b3,c#4,e4]/2",
})).s("gm_piano").gain(0.6).pan(0.1)

// chords · distortion guitar · "Guitar Dis" · D A
const distortion_guitar = note("<~@106 [~@4 [a3,d4,f#4] d4 g4@2] [~@4 [a3,c#4,e4] ~@3] ~@4>")
  .s("gm_distortion_guitar").gain(0.22).pan(0.3)

// drums · kick
const kick = s("bd").struct("<~@44 A@15 B A@24 ~ C@4 ~@2 C@18 ~@3>".pickRestart({
  A: "~ x", B: "~@8 x!3 ~@5", C: "x",
})).gain(0.8)

// drums · snare
const snare = s("sd").struct("<~@44 A@2 B A@22 C A@14 D E@2 F G ~@2 E@17 ~@4>".pickRestart({
  A: "x", B: "x!2 ~@14", C: "x ~@12 x!3", D: "x!2", E: "~ x", F: "~@4 x ~@2 x", G: "~@2 x ~@2 x!2 ~",
})).gain(0.8)

// drums · low tom
const low_tom = s("lt").struct("<~@63 [~@15 x] ~@11 [~@15 x] ~@36>").gain(0.8)

// drums · hihat
const hihat = s("hh").struct("<~@44 [x!4]!19 [x!3 ~] [x!4]!25 ~@2 [x!4]!17 x ~@3>").gain(0.8)

// drums · mid tom
const mid_tom = s("mt").struct("<~@63 [~@13 x!2 ~] ~@11 [~@11 x ~ x ~@2] ~@7 [~@5 x ~ x ~@8] ~@28>").gain(0.8)

// drums · open hat
const open_hat = s("oh").struct("<~@91 [~ x ~ x ~ x ~ x]!17 ~@4>").gain(0.8)

// drums · high tom
const high_tom = s("ht").struct("<~@63 A ~@11 B ~@7 C ~@14 D ~@13>".pickRestart({
  A: "~@8 x ~@2 x ~@4", B: "~@9 x!2 ~@5", C: "~ x ~ x ~@12", D: "~@5 x!2 ~",
})).gain(0.8)

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

// drums · ride
const ride = s("rd").struct("<~@89 x ~@22>").gain(0.8)

stack(
  electric_guitar_clean, bass, piano, distortion_guitar, kick, snare, low_tom, hihat, mid_tom, open_hat, high_tom,
  crash, ride
)

More by Rush