Strudelify
Always on My Mind   In My House cover art

1988 · Introspective

Always on My Mind In My House

Pet Shop Boys

KeyG majorTempo120 bpm
0:00/0:00
// Always on My Mind   In My House — Pet Shop Boys
// 120 bpm, 4/4, key G major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: sustain pedal (CC 64) lengthens the held notes
// note: Full arrangement: all 67 bars on a 32-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(120/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.

// chords · synth brass 1 · "Synth Brass"
const synth_brass_1 = note(`<
  A@6 B@2 C@3 D@2 E F G@6 H@2 I@3 J K L M N@8 O@5 P Q R@5 S@2 T@4 U V W X Y@5 Z AA
>`.pickRestart({
  A: "[[g4,b4,d5]@4 d4@4 [g4,b4,d5]@4 d4@4 [g4,b4,d5]@4 d4@4 [g4,b4,d5]@4 d4@3 [g4,b4,d5]@4 d4@4 [g4,b4,d5]@4 d4@4 [g4,b4,d5]@4 d4@4 [g4,b4,d5]@4 d4@4 g4@4 d4@4 g4@8 b4@4 d4@4 g4@7 [d4,f#4]@8 f#4@4 d4@4 f#4@4 d4@4 f#4@4 c4@4 e4@4 b3@4 e4@8 d4@8 d4@7 [g3,c4]@8 c4@4 g3@4 [g3,c4,e4]@8 [a3,d4,f#4]@8 g4@3]/6", // G D C5 C D
  B: "[~ d4@4 g4@8 b4@4 d4@3 g4@8 [d4,f#4]@8 f#4@4 d4@4 f#4@4 d4@4 f#4@4 c4@4 e4@4]/2", // D
  C: "[b3@4 e4@8 d4@7 d4@8 a3@8 e4@4 a3@4 e4@4 a3@4 e4@4 a3@4 g4@4 e4@4 g4@7 g4@8 g4@8 d4@6]/3",
  D: "[~@2 d4@8 g4@4 d4@4 g4@4 d4@4 g4@4 e4@4 g4@7 g4@8 d4@8 [c4,e4]@7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@4 d4@4 [g4,b4,d5]@4 d4@4 [g4,b4,d5]@4 d4@4 [g4,b4,d5]@4 d4@4 [g4,b4,d5]@4 d4@4 [g4,b4,d5]@4 d4@4 [g4,b4,d5]@4 d4@4 [g4,b4,d5]@3 d4@4 [g4,b4,d5]@4 d4@4 [g4,b4,d5]@4 d4@4 [g4,b4,d5]@4 d4@4 [g4,b4,d5]@4 d4@4 [g4,b4,d5]@4 d4@4 [g4,b4,d5]@4 d4@4 [g4,b4,d5]@4 d4@4 [g4,b4,d5]@3 d4@4 [g4,b4,d5]@3]/5", // C D G
  Z: "~ d4@4 [g4,b4,d5]@4 d4@4 [g4,b4,d5]@4 d4@4 [g4,b4,d5]@4 d4@4 [g4,b4,d5]@3", // G
  AA: "~ d4@4 [g4,b4,d5]@4 d4@4 [g4,b4,d5]@4 d4@3 [g4,b4,d5]@4 d4@4 ~@4", // G
})).s("gm_synth_brass_1").gain(0.25).pan(0.6)

// chords · piano · "Warm Pad"
const piano = note("<A@8 B@8 C@8 D@4 E F G@2 H@2 I J K L M N O P Q@2 R S@7 T@4 U V W X Y@7>".pickRestart({
  A: "[d4@44 d4@2 b3@2 g3 ~@10 d4@2 ~@2 g3@20 ~@4 g3 ~@2 g3@3 ~ [a3,d4,f#4]@15 ~ [a3,d4,f#4]@8 [c4,d#4,f#4,a4]@8 [b3,e4,g4]@15 ~@9 [g3,b3,d4]@7 [g3,c4,e4]@15 ~ [g3,c4,e4]@8 [f#3,a3,d4]@8 g3@20 ~@3 g3 ~@3 g3@3 ~ [a3,d4,f#4]@15 ~ [a3,d4,f#4]@8 [c4,d#4,f#4,a4]@8 b3@4, [g3,b3]@47 ~@4 g3@9 ~@23 g2@11 ~@115 g2@11 ~@36, ~@56 b3@5 ~@2 [b3,d4]@31 ~@95 [b3,d4]@31 ~@36]/8", // D Cdim Em G C D Cdim G …
  B: "[~@4 e4@4 g4@2 ~@10 [g3,b3,d4]@7 a3@23 ~ a3@7 ~ [g3,c4,e4]@19 c3@4 [g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[d4,b4]@2 ~@4 g3@23 ~ g3@7 g3@23 ~ g3@7 ~ g3@23 g3@7 ~@5, a3@14 ~@17 [b3,d4,g4]@30 ~@59 g4 ~@5 [g2,b3,d4,g4]@31 [g2,b3,d4,g4]@31 ~ [g2,b3,d4,g4]@31 ~@4]/7", // D7 G
})).s("gm_piano").gain(0.2)

// other · alto sax
const alto_sax = note("<~@57 A B C D@2 ~@5>".pickRestart({
  A: "~@2 d5@7 b4@4 c5@4 d5@8 d5@7", B: "~ g5@8 e5@8 d5@15", C: "~ c5@15 b4@16",
  D: "[a4@8 a4@4 a4@4 c5@4 c5@4 b4@4 b4@3 g4@31 ~@2]/2",
})).s("gm_alto_sax").gain(0.56).pan(0.3)

// bass · fretless bass
const bass = note(`<
  A B@4 C D E F@5 G H I J@4 K L M N@5 O P Q@4 R S@3 T U V W X@2 Y Z@2 AA@2 AB AC@2 AD AE@3 AF AG AH AI AJ AK@4 AL AM
>`.pickRestart({
  A: "g2@2 g3@2 g2@2 g3@2 g2 g3 ~ g3@2 g2 g3 g1",
  B: "[g2@3 g3@5 g2@3 g3@4 g2@2 g3@2 ~@2 g3@3 ~ g2@2 g3@2 ~@2 g2@4 g3@4 g2@4 g3@4 g2@2 g3@3 ~ g3@3 ~ g2@2 g3@3 d2@4 d3@4 d2@4 d3@4 d2@3 ~ d3@2 d3 ~ d#2@4 d#3@3 ~ e2@4 e3@4 e2@4 e3@4 d2@2 d3@3 ~ d3@3 ~ d2@2 d3@2 ~ c2@3]/4",
  C: "~ c3@4 c2@4 c3@4 c2@4 c3@3 ~ d2@3 ~ d3@2 d3 ~ g2@3",
  D: "~ g3@2 ~@2 g2@4 g3@2 ~@2 g2@2 g3@2 ~ g3@2 ~@2 g2@2 g3@4 d2@4", E: "d3@4 d2@4 d3@4 d2@4 d3@3 ~ d#2@4 d#3@3 ~ e2@4",
  F: "[e3@4 e2@4 e3@4 d2@2 d3@3 ~ d3@3 ~@2 d3@2 ~@3 c#2@3 c#3@4 c#2@4 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
  G: "~@6 [e4,a4,e5,a5]@2 ~@2 [e4,a4,e5,a5]@2 ~@2 [a4,e5]@2 ~@2 a4@2 ~@9 [e4,g4,e5,g5]@3, ~@13 [e4,a5]@2 ~@2 [e4,e5,a5]@2 ~@13", // A5 Em A5
  H: "~@5 [e4,c5,e5,c6]@4 ~@23", // C
})).s("gm_brass_section").gain(0.14).pan(0.6)

// drums · kick
const kick = s("bd").struct(`<
  A B C D E F G H I J K L M N O P Q R S T U V W X Y Z AA AB AC AD AE AF AG AH AI AJ AK AL AM AN AO AP AQ AR AS AT AU AV
  AW AX AY AZ BA BB BC BD BE BF BG BH A B C D E F BI
>`.pickRestart({
  A: "x ~@7 x ~@5 x ~ x ~@7 x ~ x ~ x ~ x!2", B: "~@7 x ~@5 x ~ x ~@7 x ~ x ~ x ~ x ~ x",
  C: "~@7 x ~@5 x ~ x ~@7 x ~ x!2 ~ x ~ x ~", D: "~@3 x ~@2 x!2 ~@3 x!5", E: "~@6 x ~@5 x ~ x ~@7 x!2 ~ x ~ x ~ x ~@2",
  F: "~@5 x ~@5 x ~ x ~@7 x ~ x ~ x ~ x ~ x ~@2", G: "~@5 x ~@5 x ~ x ~@6 x ~ x ~ x ~ x ~ x ~@3",
  H: "~@2 x ~@2 x!2 ~@3 x!5 ~", I: "~@4 x ~@5 x ~ x ~@6 x ~ x ~ x ~ x ~ x ~@4",
  J: "~@3 x ~@5 x ~ x ~@7 x ~ x ~ x ~ x ~ x ~@4", K: "~@3 x ~@5 x!2 ~@7 x ~ x ~ x ~ x ~ x ~@5",
  L: "~ x ~@2 x!2 ~@3 x!5 ~@2", M: "~@2 x ~@4 x ~ x ~@7 x ~ x ~ x ~ x ~ x ~@6",
  N: "~ x ~@5 x ~ x ~@7 x ~ x ~ x ~ x ~ x ~@6", O: "~ x ~@4 x ~ x ~@7 x ~ x ~ x ~ x ~ x ~@7",
  P: "x ~@5 x ~ x ~@7 x ~ x ~ x ~ x ~ x ~@6 x", Q: "~@5 x ~ x ~@7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 x ~@5",
  AP: "~ x!5 ~@3 x ~@2 x!2 ~@2", AQ: "~@2 x ~ x ~ x!2 ~ x ~@7 x ~@5 x ~ x ~@6",
  AR: "~ x ~ x ~ x ~ x ~ x ~@7 x ~@5 x ~ x ~@6", AS: "~ x!2 ~ x ~ x ~ x ~@7 x ~@5 x ~ x ~@7",
  AT: "x ~ x ~ x ~ x ~ x ~@7 x ~@5 x ~ x ~@6 x", AU: "~ x ~ x ~ x ~ x ~@7 x ~@5 x ~ x ~@7 x",
  AV: "~ x ~ x ~ x ~ x ~@7 x ~@5 x ~ x ~@6 x ~", AW: "x!4 ~@3 x ~@2 x!2 ~@3 x",
  AX: "x ~ x ~ x ~ x ~@7 x ~@5 x ~ x ~@6 x ~ x", AY: "~ x ~ x ~ x ~@7 x ~@5 x ~ x ~@7 x ~ x",
  AZ: "~ x ~ x ~ x ~@7 x ~@4 x ~ x ~@7 x ~ x ~", BA: "x!3 ~@3 x ~@2 x!2 ~@3 x!2",
  BB: "x ~ x ~ x ~@7 x ~@4 x ~ x ~@7 x ~ x ~ x", BC: "~ x ~ x ~@7 x ~@5 x ~ x ~@7 x ~ x ~ x",
  BD: "~ x ~ x ~@6 x ~@5 x ~ x ~@7 x ~ x ~ x ~", BE: "x!2 ~@3 x ~@2 x!2 ~@3 x!3",
  BF: "x ~ x ~@6 x ~@5 x ~ x ~@7 x ~ x ~ x ~ x", BG: "~ x ~@7 x ~@5 x ~ x ~@7 x ~ x ~ x ~ x",
  BH: "~ x ~@6 x ~@5 x ~ x ~@7 x ~ x ~ x ~ x ~", BI: "~@5 x ~@5 x ~ x ~@6 x ~ x ~ x ~ x ~@5",
})).gain(0.6)

// drums · rim
const rim = s("rim").struct(`<
  A B C D E F G H I B J D K F L A B C D E F G H I B J D K F L A B C D E F G H I B J D K F L A B C D E F G H I B J D K F
  L A B C D E F M
>`.pickRestart({
  A: "x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@2 x", B: "~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x",
  C: "~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@2 x ~@3 x ~", D: "~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x",
  E: "~@2 x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@2 x ~@3 x ~@2", F: "~ x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@2",
  G: "~ x ~@3 x ~@3 x ~@3 x ~@3 x ~@2 x ~@3 x ~@3 x ~@3", H: "x!8",
  I: "x ~@3 x ~@3 x ~@3 x ~@2 x ~@3 x ~@3 x ~@3 x ~@3 x", J: "~@3 x ~@3 x ~@2 x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~",
  K: "~@2 x ~@3 x ~@2 x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@2", L: "~ x ~@2 x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@3",
  M: "~ x ~@3 x ~@3 x ~@3 x ~@3 x ~@2 x ~@3 x ~@7",
})).gain(0.36)

// drums · rim · soft notes
const rim_soft = s("rim").struct(`<
  A B C D E F G A H B I D J F A@2 B C D E F G A H B I D J F A@2 B C D E F G A H B I D J F A@2 B C D E F G A H B I D J F
  A@2 B C D E F K
>`.pickRestart({
  A: "~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x", B: "~ x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@2",
  C: "~ x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@2 x ~@3", D: "x!8",
  E: "x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@2 x ~@3 x ~@3 x", F: "~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x",
  G: "~@3 x ~@3 x ~@3 x ~@3 x ~@2 x ~@3 x ~@3 x ~@3 x ~", H: "~@2 x ~@3 x ~@3 x ~@3 x ~@2 x ~@3 x ~@3 x ~@3 x ~@2",
  I: "~ x ~@3 x ~@3 x ~@2 x ~@3 x ~@3 x ~@3 x ~@3 x ~@3", J: "x ~@3 x ~@2 x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x",
  K: "~@3 x ~@3 x ~@3 x ~@3 x ~@2 x ~@3 x ~@3 x ~@5",
})).gain(0.24)

// drums · snare
const snare = s("sd").struct(`<
  A B C D@2 E F G H I J K L M N O P Q R S T U V W X Y@2 Z@2 AA@2 C AB AC D E F G H I J AD AE M N O AF AG R S T U V W X
  Y@2 AH Z AA@2 C@2 D@2 E F
>`.pickRestart({
  A: "~@8 x ~@15 x ~@6 x", B: "~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x ~@2", C: "~@7 x ~@15 x ~@8",
  D: "~@3 x ~@7 x ~@4", E: "~@5 x ~@15 x ~@10", F: "~@5 x ~@14 x ~@11", G: "~ x ~@3 x ~@2", H: "~@4 x ~@14 x ~@12",
  I: "~@3 x ~@15 x ~@12", J: "~@3 x ~@14 x ~@13", K: "~ x ~@7 x ~@6", L: "~@2 x ~@14 x ~@14", M: "~ x ~@15 x ~@14",
  N: "~ x ~@14 x ~@15", O: "x ~@15 x ~@14 x", P: "~@15 x ~@7 x ~ x ~ x ~ x ~ x",
  Q: "~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x ~@8 x ~", R: "~@7 x ~@7 x", S: "~@14 x ~@14 x ~@2",
  T: "~@13 x ~@15 x ~@2", U: "~@13 x ~@14 x ~@3", V: "~@3 x ~@3 x", W: "~@12 x ~@14 x ~@4", X: "~@11 x ~@15 x ~@4",
  Y: "~@5 x ~@7 x ~@2", Z: "~@9 x ~@15 x ~@6", AA: "~ x ~ x", AB: "~@7 x ~@7 x ~ x ~ x ~ x ~ x ~ x!2 ~ x ~ x ~",
  AC: "x!7 ~@4 x ~@4", AD: "~ x ~@3 x!11", AE: "x ~ x ~ x ~ x!2 ~@9 x ~@14", AF: "~@15 x ~@15 x", AG: "~@15 x ~@14 x ~",
  AH: "~@2 x ~ x ~ x!2 ~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x",
})).gain(0.6)
// … 94 more lines

More by Pet Shop Boys