Strudelify
Poor Side of Town cover art

All the Best

Poor Side of Town

Johnny Rivers

KeyE majorTempo104 bpm
0:00/0:00
// Poor Side of Town — Johnny Rivers
// 104 bpm, 4/4, key E major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: pitch bends are ignored
// note: sustain pedal (CC 64) lengthens the held notes
// note: duplicate parts dropped: ch 5 "STEEL GTR" acoustic guitar steel (copy of ch 6 "A.PIANO 1" piano)
// note: Full arrangement: all 97 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(104/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, A@4 for four bars: edit a riff to change every repeat.

// bass · acoustic bass · "ACOU BASS"
const bass = note(`<
  ~ A B C D E F C G H I J K L M J N O P Q O R O S T H I J K L M J N O P Q O R O S T U V W X W Y O Z AA H I J K L M J N O
  P Q O R O S T H I J K L M J N O P Q O R O S T AB R J AC AD AE AF AC AD AG AH AC AI@3
>`.pickRestart({
  A: "e1@4 ~@2 e2 ~ e2@5 ~ e2@2", B: "e1@5 ~ e1@2 e2@2 e1@2 e2@2 e1 ~", C: "f#1@4 ~@2 f#2 ~ f#2@6 f#1@2",
  D: "f#2@5 ~ f#2 ~ f#2@2 f#1@2 f#2@3 ~", E: "e1@4 ~@2 e2 ~ e2@5 ~ b1 ~", F: "e1@5 ~ e2 ~ e2@2 e1@2 e2@3 ~",
  G: "f#2@6 f#1@2 f#2@2 f#1@2 f#2@3 ~", H: "e2@4 ~@2 e2 ~ e2@6 ~@2", I: "e2@5 ~ e2 ~ e2@2 b1@2 e2@2 b1@2",
  J: "f#2@4 ~@2 f#2 ~ f#2@5 ~ c#2@2", K: "f#2@5 ~ f#2 ~ f#2@2 c#2@2 f#2@3 ~", L: "e2@4 ~@2 e2 ~ e2@6 b1@2",
  M: "e2@3 b1 e2 b1 e2 b1", N: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f#5@2 a5@2 c#6@3 e6@3 d#6@2, [c#4,e4,a4]@31 ~]/2",
  D: "[e3,g#3,b3,d#4]/2", E: "[[f#3,a3,c#4,e4]@31 ~]/2", F: "[c#4,e4,a4]", G: "[b3,d#4,g#4]",
  H: "[[c#4,f#4]@15 e4@15 ~@2, a3@31 ~]/2", I: "[[g#3,b3] [a3,c#4], e4@31 ~]/2", J: "[e3@31 ~]/2",
  K: "[e3,g#3,b3,d#4,b5]/2", L: "[c#6@10 g#5 a5 b5@2 e6 d#6, [f#3,a3,c#4,e4]@31 ~]/2",
  M: "[c#6@6 e6 d#6, [f#3,a3,c#4,e4]@31 ~]/2", N: "[c#4,e4,a4,c#6]", O: "[b3,d#4,g#4,b5]",
  P: "[a5@12 g#5@3 ~@17 [g#3,b3]@16 [a3,c#4]@16, a3@31 ~@33, [c#4,f#4]@15 e4@15 ~@2 e4@31 ~, ~ e5@3]/4", // G#m A F#5
  Q: "[d4,f#4,a4,d6]", R: "[b5@8 g5@3 a5@2 b5@2 ~ [c5,c6]@16, g4@31 ~, [d4,b4]@15 e4@16 ~]/2",
  S: "b5@8 d6@3 e6@2 f#6@2 ~, [d4,f#4,b4]@15 ~", T: "[e4,g4,c5,g6]", U: "f#6@2 e6 d6, [d4,f#4,b4]@15 ~",
  V: "[c4,e4,a4,e6]", W: "[b3,d4,g4,d6]", X: "[d#4,f#4,b4,d#6]", Y: "[f#3,a3,c#4,e4,c#6]/2", Z: "[c#4,e4,a4,e6]",
  AA: "d#6@6 c#6 b5, [b3,d#4,g#4]", AB: "[[c#4,f#4,c#6]@15 ~ e6@16, a3@31 ~, ~@15 e4@15 ~@2]/2",
  AC: "[[g#3,b3]@2 ~ a5, e4@31 ~, b5@3 ~, ~ [a3,c#4]]/2", AD: "[e4,b4,d#5,g#5,d#6]/2",
})).s("gm_string_ensemble_2").gain(0.21)

// chords · epiano2 · "E.PIANO 2"
const epiano2 = note(`<
  ~ A@2 B C D@2 E F G@2 H@2 I@2 J K L M N L O L P@2 G@2 H@2 I@2 J K L M N L O L P@2 Q R@2 S T U V W X G@2 H@2 I@2 J K L
  M N L O L P@2 G@2 H@2 I@2 J K L M N L O L P@2 A@2 B C D@2 E F A@2 B Y Z@3
>`.pickRestart({
  A: "[[d#4,g#4,b4]@6 [f#4,b4]@9 ~ [b3,d#4,g#4]@16, [e3,b3]@15 [e3,g#3]@17]/2", // G#m B5 G#m E5 E
  B: "a4@3 a4@3 ~ b4, [c#3,f#3,a3,c#4,f#4], ~@3 e4@5, ~@3 a4", C: "c#5 d#5 ~ f#5, ~ e5",
  D: "[[d#4,g#4,b4]@3 [f#4,b4]@7 b4@2 ~@2 e4@2, [e3,b3]@5 [e3,b3,g#4]@3, ~@5 e4@2 ~, ~@3 [f#4,b4]]/2", // G#m B5 E5 E B5
  E: "c#4@3 [c#4,f#4]@5, [a3,e4], a2 ~@15", F: "e4@6 [a3,c#4,e4]@9 ~",
  G: "[e2@9 ~@3 d#4@4, d#4@3 ~, b3@11 b3@5, g#3@5 g#3@3, ~@9 e2@7]/2",
  H: "[a3@11 ~@3 c#4@2, f#2, c#4@7 ~, e4@3 e4, ~@11 a3@5]/2",
  I: "[e2@11 ~@3 d#4@2, d#4@7 ~, b3@13 b3@3, g#3@3 g#3, ~@11 e2@5]/2", J: "[f#2,a3,c#4,e4]",
  K: "[c#4,e4] [c#4,e4,a4], [f#2,a3]", L: "[a2,a3,c#4,e4]", M: "[g#2,g#3,b3,d#4]@5 ~ g#3@2, ~@5 g#2@3",
  N: "[f#2,f#3,a3,c#4]", O: "[e2,g#3,b3,e4]", P: "[e2,e3,g#3,b3]@15 ~", Q: "[d3,f#3,a3,d5]",
  R: "[b4@8 g4@3 a4@2 b4@2 ~ [c4,c5]@16, g3@31 ~, [d3,b3]@15 e3@16 ~]/2", S: "b4@8 d5@3 e5@2 f#5@2 ~, [d3,f#3,b3]@15 ~",
  T: "[e3,g3,c4,g5]", U: "f#5@2 e5 d5, [d3,f#3,b3]@15 ~", V: "[c3,e3,a3,e5]", W: "[b2,d3,g3,d5]", X: "[d#3,f#3,b3,d#5]",
  Y: "[f#3,a3,c#4,e4] ~@2 [f#3,a3,c#4,e4] ~ [f#3,a3,c#4,e4] ~@2 [f#3,a3,c#4,e4] ~@2 [f#3,a3,c#4,e4] ~ [f#3,a3,c#4,e4] ~@2", // F#m7
  Z: "[[e2,e3,g#3,b3,d#4]@11 ~@5]/3", // Emaj7
})).s("gm_epiano2").gain(0.53)

// chords · piano · "A.PIANO 1"
const piano = note(`<
  ~ A B C ~ A B C ~@15 D@2 E@2 F@2 G@2 H I J K L J M J D@2 N O@2 P Q R S T U V@2 F@2 G@2 H I J K L J M J D@2 W X Y@2 W Z
  AA AB J K L J M J D@2 A B C ~ A B C ~ A B C AC AD@3
>`.pickRestart({
  A: "~@4 [d#4,d#5]@2 ~@2 [d#4,d#5]@2 [b3,b4]@3 ~ [b3,b4]@2", B: "[g#3,g#4]@9 ~@3 [g#3,g#4]@2 [e3,e4]@2",
  C: "[f#3,f#4] [f#3,f#4]@6 ~", // F#
  D: "[~@2 e4 ~@7 e4 ~@2 b3 g#3@2, e2@13 ~@3 e2@11 ~@5, ~@6 e4@6 ~@10 e4@5 ~@5, ~@8 b3@2 b3@5 ~@9 b3 c#4@2 ~@5, ~@9 c#4@3 g#3@15 ~@5]/2",
  E: "[e2@9 ~@3 d#4@4, d#4@3 ~, b3@11 b3@5, g#3@2 ~@7 e2@7, ~@5 g#3@3]/2",
  F: "[a3@11 ~@3 c#4@2, f#2, c#4@7 ~, e4@3 e4, ~@11 a3@5]/2",
  G: "[e2@11 ~@3 d#4@2, d#4@7 ~, b3@13 b3@3, g#3@3 g#3, ~@11 e2@5]/2", H: "[f#2,a3,c#4,e4]",
  I: "[c#4,e4] [c#4,e4,a4], [f#2,a3]", J: "[a2,a3,c#4,e4]", K: "[g#2,g#3,b3,d#4]@5 ~ g#3@2, ~@5 g#2@3",
  L: "[f#2,f#3,a3,c#4]", M: "[e2,g#3,b3,e4]", N: "[d3,f#3,a3,d5]",
  O: "[b4@8 g4@3 a4@2 b4@2 ~ [c4,c5]@16, g3@31 ~, [d3,b3]@15 e3@16 ~]/2", P: "b4@8 d5@3 e5@2 f#5@2 ~, [d3,f#3,b3]@15 ~",
  Q: "[e3,g3,c4,g5]", R: "f#5@2 e5 d5, [d3,f#3,b3]@15 ~", S: "[c3,e3,a3,e5]", T: "[b2,d3,g3,d5]", U: "[d#3,f#3,b3,d#5]",
  V: "[e2@9 ~@3 d#4@4, d#4@3 ~, b3@11 b3@5, g#3@5 g#3@3, ~@9 e2@7]/2", W: "~@6 [g#4,g#5] ~ [g#4,g#5]@3 ~ [g#4,g#5]@3 ~",
  X: "[g#4,g#5]@9 ~ [g#4,g#5]@3 ~ [g#4,g#5]@2", Y: "[[f#4,f#5]@5 ~@3]/2", Z: "[g#4,g#5]@11 ~ [g#4,g#5]@4",
  AA: "[f#4,f#5]@3 ~", AB: "[f#2,a3,c#4,e4] ~@7 [c#4,e4,a4] ~@7",
  AC: "[f#3,a3,c#4,e4] ~@2 [f#3,a3,c#4,e4] ~ [f#3,a3,c#4,e4] ~@2 [f#3,a3,c#4,e4] ~@2 [f#3,a3,c#4,e4] ~ [f#3,a3,c#4,e4] ~@2", // F#m7
  AD: "[[e2,e3,g#3,b3,d#4]@11 ~@5]/3", // Emaj7
})).s("gm_piano").gain(0.52)

// drums · kick
const kick = s("bd").struct("<A B@21 C D E B@13 C D E B@22 C D E B@13 C D E B@3 F B@3 F B@3 F D ~@2>".pickRestart({
  A: "~@7 x", B: "x ~@2 x!2 ~@3", C: "x ~@2 x!2 ~@2 x", D: "x", E: "x ~@6 x", F: "x!2",
})).gain(0.58)

// drums · rim
const rim = s("rim").struct("<~@9 A@14 ~@2 A@14 ~@11 A@14 ~@2 A@14 ~@17>".pickRestart({
  A: "~ x ~ x",
})).gain(0.46)

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

// drums · snare · soft notes
const snare_soft = s("sd").struct("<~@42 A ~ A ~@4 B ~@35 C ~@3 C ~@3 C ~@3>".pickRestart({
  A: "~ x", B: "~ x!3 ~@4", C: "x",
})).gain(0.17)

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

// drums · hihat
const hihat = s("hh").struct("<~ A@22 B@2 A@14 B@2 A@23 B@2 A@14 B@2 A@12 ~@3>".pickRestart({
  A: "x!4", B: "~ x ~ x",
})).gain(0.58)

// drums · hihat · soft notes
const hihat_soft = s("hh").struct(`<
  ~ A@9 B A B A B A B A B A B A B ~@2 A B A B A B A B A B A B A B ~@2 A B A B A B A B A@2 B A B A B A B A B A B A B ~@2
  A B A B A B A B A B A B A B ~@2 A B A B A B A B A B A B ~@3
>`.pickRestart({
  A: "~ x ~ x ~ x ~ x", B: "~ x ~ x ~ x ~@2",
})).gain(0.17)

// drums · mid tom
const mid_tom = s("mt").struct(`<
  A ~@3 B ~@3 C ~@13 D ~ E ~@13 D ~ E ~ F ~ F ~@4 G ~@13 D ~ E ~@13 D ~ E ~@3 F ~@3 F ~@3 F ~@3
>`.pickRestart({
  A: "~@3 x", B: "~@10 x ~ x!2 ~@2", C: "~@10 x ~@2 x ~@2", D: "~@10 x!2 ~@4", E: "~@8 x ~@2 x!3 ~@2", F: "~ x",
  G: "~@5 x ~@2",
})).gain(0.58)

// drums · open hat
const open_hat = s("oh").struct(`<
  ~@10 A ~ A ~ A ~ A ~ A ~ A ~ A B@2 ~ A ~ A ~ A ~ A ~ A ~ A ~ A B@2 ~ A ~ A ~ A ~ A ~@2 A ~ A ~ A ~ A ~ A ~ A ~ A B@2 ~
  A ~ A ~ A ~ A ~ A ~ A ~ A B@2 ~ A ~ A ~ A ~ A ~ A ~ A B ~@2
>`.pickRestart({
  A: "~@7 x", B: "x",
})).gain(0.58)

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

// drums · ride
const ride = s("rd").struct("<~ A@8 ~@8 A@6 B@2 ~@8 A@6 B@2 A@9 ~@8 A@6 B@2 A@14 B@2 A@12 B ~@2>".pickRestart({
  A: "x!4", B: "x",
})).gain(0.58)

stack(
  bass, string_ensemble_2, epiano2, piano, kick, rim, snare, snare_soft, low_tom, hihat, hihat_soft, mid_tom, open_hat,
  high_tom, ride
)

More by Johnny Rivers