Strudelify
Jailhouse Rock cover art

The Story Unfolds

Jailhouse Rock

Elvis Presley

KeyE majorTempo168 bpm
0:00/0:00
// Jailhouse Rock — Elvis Presley
// 168 bpm, 4/4, key E major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: pitch bends are ignored
// note: Full arrangement: all 100 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(168/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 · "FINGERDBAS"
const bass = note(`<
  A B@10 C D E@2 F@2 G H F I B@6 C D E@2 F@2 G H F I B@6 C D E@2 F@2 G H F@2 E J F K G E F L B@6 C D E@2 F@2 G H F I B@6
  C D E@2 F@2 G H F@8 M
>`.pickRestart({
  A: "~@5 d#2@3", B: "[e2@25 ~ d#2@6]/2", C: "e2@3 ~@13", D: "~ e1 f#1 g#1", E: "a1 c#2 e2 f#2", F: "e1 g#1 b1 c#2",
  G: "b1 d#2 f#2 g#2", H: "a1@4 c#2@4 e2@3 ~ f#2@4", I: "e1@2 g#1@2 b1 d#2@3", J: "g2@4 f#2@4 e2@4 c#2@3 ~",
  K: "d2 c#2 b1 g#1", L: "e2@2 c#2@2 b1 d#2@3", M: "e1 ~@3",
})).s("gm_electric_bass_finger").gain(0.4)

// chords · electric guitar clean · "CLEAN GTR"
const electric_guitar_clean = note(`<
  A B@10 C ~ D@2 E@2 F D E G B@6 C ~ D@2 E@2 F D E G B@6 C ~ D@2 E@2 F D E@2 H I J@3 K L M B@6 C ~ D@2 E@2 F D E G B@6 C
  ~ D@2 E@2 F D E@8 ~
>`.pickRestart({
  A: "~@5 [a#2,d#3,g3,a#3,d#4]@3", B: "[[b2,e3,g#3,b3,e4]@25 ~ [a#2,d#3,g3,a#3,d#4]@6]/2",
  C: "[b2,e3,g#3,b3,e4]@3 ~@13", D: "a2!2 c#3!2 e3!2 f#3 e3", E: "e2!2 g#2!2 b2!2 c#3 b2",
  F: "b2!2 d#3!2 f#3!2 g#3 f#3", G: "e2@2 e2@2 g#2@2 g#2@2 b2 ~ [a#2,d#3,g3,a#3,d#4]@6",
  H: "~@2 [g4,e5] ~ [g4,e5]@2 [g4,e5]@3 ~ [g4,e5] ~ [g4,e5]@2 [g4,e5]@2", // C
  I: "~@2 [g4,e5] ~ [g4,e5]@2 ~ [g4,e5]@3 [g4,e5] ~ [g4,e5]@3 ~", // C
  J: "[~@2 g#4@4 g#4@4 g#4 ~ g#4@2 ~ g#4@3 g#4 ~ g#4@2 ~ g#4@3 g#4 ~ g#4@2 [d#4,a4,b4]@4 d#4@2 [d#4,a4]@3 [d#4,a4]@3 [b3,d#4,a4]@2 [b3,d#4,a4,b4]@2 [b3,d#4,a4,b4]@2, ~@5 b3 b3 ~, ~@34 b4@4 ~ b4@5 ~@4, ~@34 a4 ~@13]/3", // B7 D#dim B7
  K: "[c#4,g4,a4]@2 c#4@2 [c#4,g4]@3 [c#4,g4]@3 [a3,c#4,g4]@2 [a3,c#4,g4,a4]@2 [a3,c#4,g4,a4]@2, a3@2 a3@3 ~@3, ~@2 a4@4 ~ a4@5 ~@4, ~@2 g4 ~@13", // A7 C#dim A7
  L: "[g#3,e4,g#4]@3 e3 a3@2 a3 ~ [e3,g#3]@2 [e3,g#3]@2 [e3,a3,c#4,a4]@2 ~ e3, e3 ~ [e3,c#4,a4]@2 [e4,g#4]@2 ~ [a3,c#4]", // C#m E A E A
  M: "[g#3,e4]@2 [g#3,e4] ~ [e3,g#3,e4,g#4]@2 [e3,g#3,e4,g#4]@4 [a#2,d#3,g3,a#3,d#4]@6, [e3,g#4] ~@3", // C#m E D# E
})).s("gm_electric_guitar_clean").gain(0.26).pan(0.7)

// chords · piano · "A.PIANO 1"
const piano = note(`<
  A B@2 C@4 D@4 E F G H I J@2 K L M C@2 D@4 E F N@3 O P Q R S C@2 D@4 E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@8 [g#6,b6]@6 ~ [g3,a3,b3,c#4]@10 ~@7]/2", // A G#m A B7 G F#m Em B7 …
  AN: "~@2 f#5 g5 [g#5,b5]@2 c#6@2 b5@2 f#5 ~ [g#5,b5]@3 c#6, [e3,g#3,b3,c#4]@7 ~@5 g5 ~@3", // G#m C#m7
  AO: "b5@3 ~ [g#5,b5]@3 ~ b5@2 [a#3,d#4,g4]@5 ~, ~@4 g5 ~@2 c#6@2 ~@7", AP: "[b3,e4,g#4]", AQ: "~@11 [a#3,d#4,g4]@5",
  AR: "[[b3,e4,g#4]@24 ~@3 [a#3,d#4]@5, ~@26 g4@5 ~]/2", AS: "[[b3,e4,g#4]@23 ~@4 [a#3,d#4,g4]@5]/2",
  AT: "[b3,e4,g#4]@5 ~@11", // E
})).s("gm_piano").gain(0.3).pan(0.4)

// drums · kick
const kick = s("bd").struct("<~@11 A ~ B@8 ~@6 A ~ B@8 ~@6 A ~ B@7 C B@8 ~@6 A ~ B@8 ~@6 A ~ B@15>".pickRestart({
  A: "x", B: "x!2", C: "x ~ x!2",
})).gain(0.62)

// drums · snare
const snare = s("sd").struct(`<
  A B@10 C D E@7 F G@6 C D E@7 F G@6 C D E@7 H E@7 F G@6 C D E@7 F G@6 C D E@14 I
>`.pickRestart({
  A: "~@5 x ~@2", B: "x ~@4 x ~@2", C: "x", D: "~@11 x!2 ~@3", E: "~ x ~ x", F: "~@4 x ~@6 x!2 ~@2 x", G: "x ~@4 x!2 ~",
  H: "~@2 x ~@4 x!2 ~@7", I: "~ x ~@2",
})).gain(0.55)

// drums · snare · soft notes
const snare_soft = s("sd").struct("<~@21 A@6 ~@10 A@6 ~@18 A@6 ~@10 A@6 ~@17>".pickRestart({
  A: "~@15 x",
})).gain(0.21)

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

// drums · open hat
const open_hat = s("oh").struct("<~@52 [~ x ~@2] ~@47>").gain(0.41)

// drums · crash
const crash = s("cr").struct("<~@52 [~@3 x] x ~@46>").gain(0.28)

// drums · ride
const ride = s("rd").struct("<~@53 [~ x!7] [x!8]!6 [x!5 ~ x ~] ~@39>").gain(0.35)

stack(bass, electric_guitar_clean, piano, kick, snare, snare_soft, hihat, open_hat, crash, ride)

More by Elvis Presley