Strudelify

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: edit a riff to change every repeat.

// bass · electric bass finger · "BASS"
const bass = note(`<
  A B C D E D F G C H C D C I J D E B K L M L K N O M C D A G F G C H P N Q R K L S T U I C G F G C H U H C H V
>`.pickRestart({
  A: "c2@5 ~ c2 ~ c2@6 c2 ~", B: "d#2@3 ~ d#2@3 ~ f2@4 d#2@4", C: "c2@5 ~ c2 ~ c2@5 ~ c2 ~",
  D: "f2@5 ~ f2 ~ f2@5 ~ f2 ~", E: "c2@6 c2 ~ c2@6 c2 ~", F: "g2@5 ~ g2 ~ g2@6 g2 ~", G: "f2@5 ~ f2 ~ f2@6 f2 ~",
  H: "d#2@5 ~ d#2 ~ f2@4 d#2@4", I: "f2@5 ~ f2 ~ f2 ~ f2@3 ~ f2 ~", J: "g2@5 ~ g2 ~ g2 ~ g2@3 ~ g2 ~",
  K: "f2@5 ~ f2@2 c2@5 ~ c2@2", L: "c2@5 ~ c2@2 g2@5 ~ g2@2", M: "g2@5 ~ g2@2 d2@5 ~ d2@2",
  N: "c2@5 ~ c2 ~ g1@4 c2@3 ~", O: "d2@3 a2 d2@2 d2 ~", P: "f2@5 ~ f2@2 c2@5 ~ c2 ~", Q: "g2@3 d2 g2@2 g2 ~",
  R: "c2@5 ~ c2@2 g2@5 ~ g2 ~", S: "d2@5 ~ d2@2 a2@5 ~ a2@2", T: "g2@5 ~ g2@2 d2@5 ~ d2 ~",
  U: "c2@5 ~ c2 ~ c2 ~ c2@3 ~ c2 ~", V: "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 Y
>`.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", Y: "[g3,c4,e4]@7 ~",
})).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("<A B C@11 B C@3 D ~@8 E@2 F E@5 ~@8 E@6 F E@2 G E@2 H>".pickRestart({
  A: "~@4 x!2 ~@6 x ~@3", B: "~@3 x ~ x ~@6 x ~@3", C: "~@2 x!2 ~@2 x ~", D: "~@3 x ~@2 x ~@5 x ~@3",
  E: "x ~@2 x!2 ~ x ~", F: "x ~@4 x ~ x ~@4 x ~@3", G: "x ~@4 x ~@2 x ~@3 x ~@3", H: "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