Strudelify

Bye Bye Love

The Cars

KeyE majorTempo130 bpm
0:00/0:00
// Bye Bye Love — The Cars
// 130 bpm, 4/4, key E major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Full arrangement: all 134 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): Lead Guitar.
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 · electric guitar clean · "Rhythm guitar"
const electric_guitar_clean = note(`<
  A B C D E@2 C D E@2 C D E@2 C D E@2 C D E@2 C D E@2 F G H I F G J K J K J K J K C D E@2 C D E@2 C D E@2 C D E@2 F G H
  I F G J K J K J K J K J K J K J K J K C D E@2 C D E@2 C D E@2 C D E@2 F G H I L G J K J K J K J K J K E@2 J K E@2 J K
  E@2 J K E@2 J K M B J K M N O P
>`.pickRestart({
  A: "~@14 b2 c#3", B: "d3@2 b2 c#3 d3@6 b2 c#3 d3@2 e3@2", C: "[e3,b3]!2 ~@2 [d3,a3]!2 ~@2",
  D: "[e3,a3]!2 ~@2 [e3,b3]!2 ~@2", // A5 E5
  E: "[[e3,g#3,b3]@3 [b2,e3,g#3] [a2,d3,f#3]@2 [a2,d3,f#3] [a2,c#3,e3]@2 [a2,c#3,e3]@2 [e3,g#3,b3]@4 ~]/2", F: "b2",
  G: "c#3", H: "d3", I: "c#3@2 c#3@3 d3@3 e3@3 d3@3 c#3@2", J: "[e3,g#3,b3]!2 ~@2 [b2,d#3,f#3]!2 ~@2",
  K: "[a2,c#3,e3]!2 ~@2 [a2,c#3,e3]!2 ~@2", L: "f#3",
  M: "[e3,g#3,b3]@2 [e3,g#3,b3]@2 ~@4 [b2,d#3,f#3]@2 [b2,d#3,f#3]@2 ~@2 b2 c#3", // E B
  N: "d3@2 b2 c#3 d3@6 b2 c#3 d3@2 b2 c#3", O: "d3@6 b2 c#3 d3@2 b2 c#3 d3@2 b2 c#3",
  P: "d3@2 b2 c#3 d3@2 [e3,g#3,b3,e4]@2 ~@8", // E
})).s("gm_electric_guitar_clean").gain(0.26)

// chords · piano · "E-piano"
const piano = note(`<
  ~@4 A@2 ~@2 A@2 ~@2 A@2 ~@2 A@2 ~@2 A@2 ~@2 A@2 B C D C B C ~@10 A@2 ~@2 A@2 ~@2 A@2 ~@2 A@2 B C D C B C ~@18 A@2 ~@2
  A@2 ~@2 A@2 ~@2 A@2 B C D C B C ~@10 A@2 ~@2 A@2 ~@2 A@2 ~@2 A@2 ~@10
>`.pickRestart({
  A: "[[e4,g#4,b4]@3 [b3,e4,g#4] a4 [f#4,a4] [d4,f#4,a4] [e4,a4]@2 e4 [c#4,e4] [b3,e4,g#4]@5]/2", // E F#m D A5 C#m E
  B: "~ f#4 [d4,f#4] [b3,d4,f#4]@5", C: "~ g#4 [e4,g#4] [c#4,e4,g#4]@5", D: "~ c#5 [a4,c#5] [f#4,a4,c#5]@5",
})).s("gm_piano").gain(0.31)

// bass · electric bass finger · "Bass"
const bass = note(`<
  A B C D E D F G C D C D C D C D C D C D C D C D C D H I J K H I L M L M L M L M C D C D C D C D C N C D C D C O H I J
  K H I L M L M L M L M L M L M L M L M C D C D C D C D C N C D C D C O H I J K P I L M L M L M L M L M E D L M E D L M
  E D L M E D L M Q B L M Q R S T
>`.pickRestart({
  A: "~@14 b2 c#3", B: "d3@2 b2 c#3 d3@6 b2 c#3 d3@2 e3@2", C: "e2!4 d2!4", D: "a1!4 e2!4", E: "e2!3 c#2 d2!4",
  F: "e2@2 e2!2 c#3@2 b2@2 e2@2 e2!2 f#3@2 e3@2", G: "e2@2 e2!2 a3@2 g#3@2 e3@2 b2@2 a2@2 g#2@2", H: "b2", I: "c#3",
  J: "d3", K: "c#3@2 c#3@3 d3@3 e3@3 d3@3 c#3@2", L: "e2!2 ~@2 b1!2 ~@2", M: "a1!2 ~@2 a1!2 ~@2", N: "c#2 d2 e2@2 b1@4",
  O: "a1!4 e2@4", P: "f#3", Q: "e2@2 e2@2 ~@4 b1@2 b1@2 ~@2 b2 c#3", R: "d3@2 b2 c#3 d3@6 b2 c#3 d3@2 b2 c#3",
  S: "d3@6 b2 c#3 d3@2 b2 c#3 d3@2 b2 c#3", T: "d3@2 b2 c#3 d3@2 e2@2 ~@8",
})).s("gm_electric_bass_finger").gain(0.26)

// chords · overdriven guitar · "Lead Guitar"
const overdriven_guitar = note("<~ A ~@47 B ~@37 B ~@20 C D ~@2 E F ~ G H I ~ J K L ~@7 M ~@4>".pickRestart({
  A: "~@4 d4 ~@3", B: "[c#3,c#4] [d3,d4] [e3,e4]@2 ~@4", C: "~@14 a3 b3", D: "~@4 c#4 ~ c#4 ~@2 b3 ~@2 a3@4",
  E: "~@2 d3@2 e3@4 e5 d#5 e5@2 a4 g#4 e4@2", F: "~ d4 d4@2 e4@2 f#4@3 ~@2 d4 e4@2 e4@2, ~@6 e4 ~@9",
  G: "~@14 b4 [a#4,b4]", H: "~@4 e4@4 d4 e4!2 ~ e4@2 g4 a4", I: "~@4 b4@4 g4 f#4 ~@2 g4 f#4 g4@2",
  J: "~@6 e4 f#4, ~@12 d4 ~ f4 ~", K: "~ [g4,g#4]@2 ~ [g#4,a4]@2 ~ [a4,a#4]@2 ~ a#4 ~@4 e4",
  L: "~@4 e5@2 d5 b4 g4 f#4 ~@2 g4 f#4 g4@2", M: "~@6 a2 b2 ~ e3 ~@2 e3@4",
})).s("gm_overdriven_guitar").gain(0.31)

// other · lead 2 sawtooth · "Synth"
const lead_2_sawtooth = note(`<
  ~@42 A@2 ~@2 A@2 ~@2 A@2 ~@2 B@2 ~@14 C D E F G H I J K ~ L@2 ~@2 L@2 ~@2 L@2 ~@2 M@2 ~@40
>`.pickRestart({
  A: "[e6@2 b5@2 g#5@2 d6@4 a5@2 f#5@2 c#6@4 a5@2 e5@2 b5@3 a#5 b5 a#5 b5 a#5 b5 a#5]/2",
  B: "[e6 b5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: "~@2 x!2 ~@6 x!2 ~@2 x!2", H: "~@6 x!2 ~@2 x!2 ~@2 x!2", I: "~@2 x!3 ~ x ~@9",
})).gain(0.36)

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

// drums · low tom
const low_tom = s("lt").struct("<~@37 [~@12 x ~ x!2] ~@96>").gain(0.36)

// drums · pedal hat
const pedal_hat = s("hh").struct(`<
  ~@2 A@24 ~@6 B@5 C B@2 A@15 D ~@6 B@8 A@7 B A@16 ~@6 B@10 A@2 B@2 A@2 B@2 A@2 B@2 A@5 ~ A@3 ~@3
>`.pickRestart({
  A: "x!8", B: "x!2 ~@2 x!2 ~@2", C: "x!2 ~@2 x!4", D: "x!4 ~@4",
})).gain(0.36)

// drums · mid tom
const mid_tom = s("mt").struct("<~@55 [~@4 x!2 ~@2] ~@71 [~@2 x!2 ~@6 x!2 ~@4] ~@6>").gain(0.36)

// drums · open hat
const open_hat = s("oh").struct("<~@26 [~ x ~ x]!6 ~@24 [~ x ~ x]!6 ~@32 [~ x ~ x]!6 ~@34>").gain(0.36)

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

stack(
  electric_guitar_clean, piano, bass, overdriven_guitar, lead_2_sawtooth, kick, snare, low_tom, pedal_hat, mid_tom,
  open_hat, crash
)

More by The Cars