Strudelify
Lend Me Your Comb cover art

Lend Me Your Comb

The Beatles

KeyC majorTempo175 bpm
0:00/0:00
// Lend Me Your Comb — The Beatles
// 175 bpm, 4/4, key C major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Full arrangement: all 55 bars on a 16-step grid, each part at one level. Source detail keeps the original performance.
setcpm(175/4)

// Notation: c3@3 lasts 3 steps · ~ is a rest · [c3,e3] is a chord · "a, b" plays two voices at once.
// A part's distinct bars are riffs (A, B, C...) played in order, A@4 for four bars: edit a riff to change every repeat.

// bass · electric bass finger · "BASS"
const bass = note(`<
  A B A C A C D C A E A C A F G C A B H I J I H K L J A C A C D C A E H K M I H I N J O F A C D C A E O E A E P
>`.pickRestart({
  A: "c2@5 ~ c2 ~ c2@5 ~ c2 ~", B: "d#2@3 ~ d#2@3 ~ f2@4 d#2@4", C: "f2@5 ~ f2 ~ f2@5 ~ f2 ~",
  D: "g2@5 ~ g2 ~ g2@6 g2 ~", E: "d#2@5 ~ d#2 ~ f2@4 d#2@4", F: "f2@5 ~ f2 ~ f2 ~ f2@3 ~ f2 ~",
  G: "g2@5 ~ g2 ~ g2 ~ g2@3 ~ g2 ~", H: "f2@5 ~ f2@2 c2@5 ~ c2@2", I: "c2@5 ~ c2@2 g2@5 ~ g2@2",
  J: "g2@5 ~ g2@2 d2@5 ~ d2@2", K: "c2@5 ~ c2 ~ g1@4 c2@3 ~", L: "d2@3 a2 d2@2 d2 ~", M: "g2@3 d2 g2@2 g2 ~",
  N: "d2@5 ~ d2@2 a2@5 ~ a2@2", O: "c2@5 ~ c2 ~ c2 ~ c2@3 ~ c2 ~", P: "c2@5 ~@11",
})).s("gm_electric_bass_finger").gain(0.35).pan(0.4)

// chords · electric guitar clean · "GUITAR"
const electric_guitar_clean = note(`<
  A B C D A E F E G H A E C I F J K L I C M N I O P Q O I R S T I C U E C V A I R P Q R S C D W E R H A X A X A
>`.pickRestart({
  A: "[g3,c4,e4]@15 ~", B: "[g3,a#3,d#4]@7 ~ [a3,c4,f4]@4 [a#3,d#4,g4]@4", C: "[g3,c4,e4] ~@5 [g3,c4,e4]@6 ~@4",
  D: "[a3,c4,f4]@6 ~@2 [a3,c4,f4]@3 ~ [a3,c4,f4] ~@3", E: "[a3,c4,f4] ~@5 [a3,c4,f4]@6 ~@4",
  F: "~@2 [g3,b3,d4]@2 ~@4 [g3,b3,d4]@2 ~@2 [g3,b3,d4] ~@3", G: "c4@4 c4 ~@3, [g3,e4]@5 ~@3",
  H: "[g3,a#3,d#4]@7 ~ [a3,c4,f4]@4 [g3,a#3,d#4]@4", I: "~@2 [a3,c4,f4]@2 ~@4 [a3,c4,f4]@2 ~@2 [a3,c4,f4] ~@3",
  J: "f4@4 f4 ~@3, [a3,c4]@5 ~@3", K: "c4@4 c4 ~ g4 ~, [g3,e4]@5 ~@3",
  L: "~ [g3,a#3,d#4]@2 ~ [a3,c4,f4]@2 [a#3,d#4,g4]@2", M: "g3@4 g3 b3 ~@2, [b3,d4]@5 ~@3",
  N: "[g3,c4,e4]@6 c3@2 [g3,c4,e4]@3 ~ [g3,c4,e4] ~@3", O: "c4@4 c4 e4 ~@2, [g3,e4]@5 ~@3", P: "[a3,d4,f#4]@15 ~",
  Q: "[b3,d4,f4,g4]@15 ~", R: "~@2 [g3,c4,e4]@2 ~@4 [g3,c4,e4]@2 ~@2 [g3,c4,e4] ~@3", S: "[a3,c4,f4]@15 ~",
  T: "[g3,b3,d4] ~@5 [g3,b3,d4]@6 ~@4", U: "[a#3,d#4,g4]@7 ~ [a3,c4,f4]@4 [a#3,d#4,g4]@4",
  V: "g3@4 g3 b3 d4 ~, [b3,d4]@5 ~@3", W: "[g3,b3,d4]@6 ~@2 [g3,b3,d4]@3 ~ [g3,b3,d4] ~@3",
  X: "~ [g3,a#3,d#4]@2 ~ [a3,c4,f4]@2 [g3,a#3,d#4]@2", // D# F D#
})).s("gm_electric_guitar_clean").gain(0.36).pan(0.8)

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

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

// drums · low tom
const low_tom = s("lt").struct("<~ A ~@7 A ~@14 B ~@16 C ~@7 C ~ D ~@3>".pickRestart({
  A: "~@7 x", B: "~@5 x ~@2", C: "~@13 x!2 ~", D: "~ x!4 ~ x ~",
})).gain(0.46)

// drums · hihat
const hihat = s("hh").struct(`<
  A B A@2 C A C A C D A@5 E A F A E G E C A H F A@3 E A E C F A E A@2 G A C I A@2 C A@2 E C I A ~ A E J
>`.pickRestart({
  A: "x!8", B: "x ~ x!2 ~@8 x ~@3", C: "x!3 ~ x ~ x ~ x ~ x ~ x ~ x ~", D: "x ~ x!2 ~@8 x ~ x ~", E: "x!7 ~",
  F: "x!5 ~@3", G: "x ~ x ~ x ~ x!3 ~ x ~ x ~ x ~", H: "x!3 ~ x ~ x ~ x ~@3 x ~ x ~", I: "x!2 ~@6", J: "x",
})).gain(0.4)

// drums · mid tom
const mid_tom = s("mt").struct("<~ A ~@7 A ~@7 B ~@23 C ~@7 C ~@5>".pickRestart({
  A: "~@3 x ~ x!2 ~", B: "~@12 x!4", C: "~@11 x!2 ~@3",
})).gain(0.46)

// drums · open hat
const open_hat = s("oh").struct("<~ A ~@7 B ~@5 C ~@3 C ~ C D ~@6 C ~ C ~@3 C ~@4 D B ~@5 C ~ B ~@3 C ~>".pickRestart({
  A: "~@2 x ~@4 x", B: "~ x ~@2", C: "~@7 x", D: "~@15 x",
})).gain(0.35)

// drums · high tom
const high_tom = s("ht").struct("<~ A ~@7 A ~@31 A ~@7 A ~@5>".pickRestart({
  A: "~ x",
})).gain(0.52)

// drums · crash
const crash = s("cr").struct("<A ~ A ~@7 A ~@7 A ~@7 A ~@7 A ~@7 A ~@7 A@3 ~ A>".pickRestart({
  A: "x",
})).gain(0.4)

// drums · tambourine
const tambourine = s("tb").struct("<[~@2 x!2 ~@2 x ~]!18 ~@8 [x ~@2 x!2 ~ x ~]!8 ~@8 [x ~@2 x!2 ~ x ~]!12 x>")
  .gain(0.52)

stack(bass, electric_guitar_clean, kick, snare, low_tom, hihat, mid_tom, open_hat, high_tom, crash, tambourine)

More by The Beatles