Strudelify

Catswalk

The Beatles

KeyA minorTempo128 bpm
0:00/0:00
// Catswalk — The Beatles
// 128 bpm, 4/4, key A minor. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Full arrangement: all 43 bars on a 24-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(128/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.

// bass · electric bass finger · "BASS"
const bass = note("<A B A C D E F G H@3 I H J K L A M A N A O A G H J P I H P Q R D S A G D M T N U V W>".pickRestart({
  A: "a1@8 ~@2 a1 ~ a1@8 ~@2 a1 ~", B: "f2@10 f1 ~ e2@3 ~@3 e2@3 ~@3", C: "f2@2 e2@2 a1 ~ a1 ~",
  D: "a1@8 ~@2 a1 ~ e2@8 ~@2 e2 ~", E: "f2@10 f2 ~ e2@3 ~@3 e2@3 ~@3", F: "a1 ~ a1!2 ~@2 a1 ~@2 a1 ~@2",
  G: "f2@6 e2@6 a1@3 ~ a1 ~ a1 ~@3 a1 ~", H: "d2@2 ~@4 d2@3 ~@3 d2@3 ~@3 d2@3 ~ d1 ~",
  I: "d2@2 ~@4 d2@3 ~@3 d2@4 a1@2 d2@4 a1 ~", J: "d2@2 ~@4 d2@3 ~@3 d2@3 ~ a1@2 d2@3 ~@3",
  K: "f2@2 ~@4 f2@3 ~@3 f2@3 ~@3 f2@3 ~ f1 ~", L: "e2@2 ~@4 e2@3 ~@3 e2@3 ~ b1@2 e2@3 ~@3",
  M: "f2@10 f2 ~ e2@3 ~ e2 ~ e2 ~@3 e2 ~", N: "f2@3 e2@3 a1@2 a0 a1 ~@2", O: "f2@4 ~ f2 e2@2 e1 e2 ~@2",
  P: "d2@3 ~@3 d2@4 ~@2 d2 ~ d2 ~ a1 ~ d2@3 ~ a1 ~", Q: "f2@2 ~@4 f2@3 ~@3 f2@3 ~ c2@2 f2@3 ~@3",
  R: "e2@3 ~@3 e2@4 ~@2 e2 ~ e2 ~ b1 ~ e2@3 ~ b1 ~", S: "f2@10 f2 ~ e2@4 e1@2 e2@2 ~@4",
  T: "a1@7 ~@3 a1 ~ e1@7 ~@3 e1 ~", U: "f2@6 e2@6 a1@10 a0 ~", V: "a1@7 ~@3 a1@2 e2@7 ~@3 e2@2",
  W: "a1@3 ~ a0@2 e1@4 a1@6 ~@8",
})).s("gm_electric_bass_finger").gain(0.3)

// chords · electric guitar clean · "GUITAR"
const electric_guitar_clean = note(`<
  A B C D E F A D G H G H I H J@2 E K A D E L M D I N O N P Q R@2 C K A S C B E D@2 T U
>`.pickRestart({
  A: "[a3,c4,e4]@2 ~@4 [a3,c4,e4]@2 ~@8 a2 ~ [a3,c4,e4] ~@5", B: "~@6 [a3,c4,f4]@3 ~@3 [g#3,b3,e4]@3 ~@3 e4@2 ~@4",
  C: "~@6 [a3,c4,e4]@3 ~@7 a2 ~ [a3,c4,e4] ~@5", D: "[a3,c4,f4]@5 ~ [g#3,b3,e4]@5 ~@5 a2@2 [a3,c4,e4]@2 ~@4",
  E: "a3@3 ~ c4@2 e4@4 ~@6 a2 ~ [a3,c4,e4]@2 ~@4", F: "[a3,c4,f4] ~ f3 [a3,c4,f4] ~@2 [g#3,b3,e4] ~ e3 [g#3,b3,e4] ~@2",
  G: "[a3,d4,f4]@8 d3 [a3,d4,f4] ~@2", H: "[d3,c4,d4,f4,a4]@3 ~@3 [d3,c4,d4,f4,a4]@10 a2@2 [d3,c4,d4,f4,a4]@3 ~@3",
  I: "[d3,a3,d4,f4]@3 ~@3 [d3,a3,d4,f4]@10 a2@2 [d3,a3,d4,f4]@3 ~@3", // Dm
  J: "[[f3,a3,c4,f4]@3 ~@3 [f3,a3,c4,f4]@10 c3@2 [f3,a3,c4,f4]@3 ~@3 [b3,d4,e4,g#4]@11 ~ d4@3 ~@9, ~@22 [e3,g#3]@9 ~@17]/2", // F E7 E
  K: "~@2 [a3,c4,f4] ~@3 [g#3,b3,e4] ~", L: "~@6 [a3,c4,f4]@3 ~@7 e3@2 [g#3,b3,e4]@2 ~@4",
  M: "[a3,c4,e4]@4 [a3,c4,e4] ~@5 [a3,c4,e4]@2 ~@4 a2 ~ [a3,c4,e4] ~@5", // Am
  N: "[c4,d4,f4,a4]@3 ~@3 [c4,d4,f4,a4]@11 ~ c4@2 ~@4", O: "[a3,d4,f4]@11 ~ d4@3 ~ d4@2 f4@4 ~@2",
  P: "[a3,d4,f4]@3 ~@3 [a3,d4,f4]@11 ~ d4@2 ~@4", Q: "[c4,d4,f4,a4]@8 d3 [c4,d4,f4,a4] ~@2",
  R: "[[f3,a3,c4,f4]@3 ~@3 [f3,a3,c4,f4]@10 c3@2 [f3,a3,c4,f4]@3 ~@3 [b3,d4,e4,g#4]@3 ~@3 [b3,d4,e4,g#4]@11 ~ d4@2 ~@4, ~@22 [e3,g#3]@21 ~@5]/2", // F E7 E
  S: "[a3,c4,f4]@5 ~ [g#3,b3,e4]@5 ~ [a3,c4,e4]@2 ~@2 a2@2 [a3,c4,e4]@2 ~@4", T: "~@3 [a3,c4,e4] ~@5 [a3,c4,e4] ~@2",
  U: "~@6 a2@4 a3@3 ~@11",
})).s("gm_electric_guitar_clean").gain(0.36)

// drums · kick
const kick = s("bd").struct("<A B A@3 C A D E@7 A@8 C E@7 F A B A@5 G@2 C H>".pickRestart({
  A: "x ~@4 x!2 ~@5", B: "x ~@4 x!2 ~@3 x ~", C: "x ~@4 x!2 ~@4 x", D: "x", E: "x ~@10 x", F: "x ~@4 x ~@6",
  G: "~@7 x!2 ~@3", H: "~@5 x ~@6",
})).gain(0.35)

// drums · rim
const rim = s("rim").struct("<[~ x ~ x]!7 ~@9 [~ x ~ x]!7 [~ x ~@2] ~@8 [~ x ~ x]!7 ~@4>").gain(0.4)

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

// drums · snare · soft notes
const snare_soft = s("sd").struct("<~@7 [~ x ~@2 x ~ x ~@3 x ~] ~@15 [~@5 x] ~@7 [~ x ~@6 x ~ x!2] ~@11>").gain(0.1)

// drums · clap
const clap = s("cp").struct("<[~@3 x]!7 ~ [~@3 x]!7 ~ [~@3 x]!23 ~@2 [~@3 x] ~>").gain(0.25)

// drums · low tom
const low_tom = s("lt").struct("<~@7 A ~@7 B ~@15 C ~@7 D@2 ~ E>".pickRestart({
  A: "~@11 x", B: "~@9 x!3", C: "~@3 x", D: "~@2 x!2 ~@2", E: "~@2 x!2 ~@8",
})).gain(0.4)

// drums · hihat
const hihat = s("hh").struct("<A@4 B@3 ~ A B@2 A@2 B@2 ~ A B@2 A B@3 C A B A B A B A D A@6 B ~@2 A ~>".pickRestart({
  A: "x ~@2 x ~@2 x ~ x!2 ~@2", B: "x!4", C: "x!3 ~", D: "x",
})).gain(0.3)

// drums · hihat · soft notes
const hihat_soft = s("hh").struct(`<
  A B A@2 C A D ~ A E D A E D A ~ A D@6 F A@3 D A@2 D ~ A B A@2 D A D ~@2 A ~
>`.pickRestart({
  A: "~@5 x ~@5 x", B: "~@2 x ~@2 x ~ x ~@4", C: "~@5 x ~@2 x ~@3", D: "~@5 x ~@6", E: "~@2 x ~@2 x ~@5 x",
  F: "~@5 x ~ x ~ x ~@2",
})).gain(0.2)

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

// drums · open hat
const open_hat = s("oh").struct("<~ A ~@2 A ~ B ~@2 C ~@8 B ~ B ~@2 B ~@9 A ~@9>".pickRestart({
  A: "~@11 x", B: "~@8 x ~@2 x", C: "~@2 x",
})).gain(0.3)

// drums · high tom
const high_tom = s("ht").struct("<~@7 [~ x ~@2] ~@7 [x!5 ~@7] ~@23 x!2 ~@2>").gain(0.35)

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

// drums · tambourine
const tambourine = s("tb").struct("<A@7 ~ B@6 C ~ A@8 B C B@3 C B A@8 ~@2 B ~>".pickRestart({
  A: "~ x ~ x", B: "x!2 ~ x", C: "x!4",
})).gain(0.4)

// drums · tambourine · soft notes
const tambourine_soft = s("tb").struct("<~@8 A B C A B@2 C ~@9 A B A B A C B ~@10 A ~>".pickRestart({
  A: "~ x ~@2 x ~", B: "~@2 x ~@5 x ~@2 x", C: "~@2 x ~@2 x ~@2 x ~@2 x",
})).gain(0.2)

stack(
  bass, electric_guitar_clean, kick, rim, snare, snare_soft, clap, low_tom, hihat, hihat_soft, mid_tom, open_hat,
  high_tom, crash, tambourine, tambourine_soft
)

More by The Beatles