Strudelify

Working My Way Back to You

Spinners

KeyG majorTempo130 bpm
0:00/0:00
// Working My Way Back to You — Spinners
// 130 bpm, 4/4, key G major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: duplicate parts dropped: ch 4 "French Horn" french horn (copy of ch 2 "Jazz Gt." electric guitar jazz)
// note: Full arrangement: all 88 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(130/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 · electric guitar jazz · "Jazz Gt."
const electric_guitar_jazz = note(`<
  A@2 B@2 A@2 C@2 D E F G H E F I J@2 K@2 L M N O P Q R S T U V W X Y Z AA D E F G H E F I J@2 K@2 L M N O P Q R S T U V
  W X Y Z AA D E F G H E F I J@2 K@2 D E F G H E F I J@2 K@2
>`.pickRestart({
  A: "[a3,c4,f4]/2", B: "[[g3,b3,e4] ~ [g3,b3,d4]@14]/2", C: "[[g3,b3,e4] ~ [g3,b3,d4]@12 d4 e4]/2",
  D: "f4 e4 d4 [a3,c4] ~ f4@2 e4, [a3,c4]@3 g4@2 ~@3", E: "e4@4 d4@10 c4 d4, [g3,b3]",
  F: "[g3,c4,e4] [c4,f4,a4] [c4,e4,g4] [g3,b3,e4]", G: "d4 c4@5 d4 e4, a3",
  H: "f4 e4 d4 g4@2 f4@2 e4, [a3,c4]@3 [a3,c4]@5", I: "d4@2 c4@4 e4@2 e4@2 d4@4 e4 d4, a3@4 [a3,c4]@3 ~",
  J: "[[b3,d4,g4]@2 [c4,f4,a4]@2 [b3,d4,g4]@3 [c4,f4,a4]@2 [c4,f4,a4] [b3,d4,g4] g3 b3 d4!2 e4]/2", // G F G F G
  K: "[g3@2 [f4,a4,c5]@2 [d4,g4,b4]@3 [f4,a4,c5]@2 [f#4,a#4,c#5] [g4,b4,d5]@6]/2", L: "~ g3 b3 d4 e4 d4 g4@2",
  M: "e4@2 d4 e4@5", N: "~ g3 c4 d4 e4@2 c4@2", O: "b3@2 a3 a3@5", P: "~ g3 b3 d4 e4 d4 g4 d4", Q: "e4@2 f#4 d4@5",
  R: "~ g3 c4 d4 e4@2 c4!2", S: "b3@2 a3 a3@3 e4!2", T: "b4@2 a4 a4@4 e4, [e4,g4]@7 ~",
  U: "b4@2 a4@4 a4@2 [d#4,g4,c5]@3 [d#4,g4,b4]@2 [d#4,g4,a4]@3, [d#4,g4] ~", // Cm D#aug Am7b5 D#
  V: "a4@2 g4@4 g4@2 [b3,d4,g4]@3 [b3,d4,f#4]@2 [b3,d4,g4]@3, [b3,d4] ~", W: "[g3,a#3,c#4,f#4]@3 [g3,a#3,c#4,e4]@5",
  X: "[b3,d4]@2 e4 [c4,e4,g4]@4 b3", Y: "[b3,d4]@2 e4 [c4,e4,g4]@3 e4 ~", Z: "[b3,d4]@2 e4 [c4,e4,g4]@3 [c4,e4,a4] g4",
  AA: "[d4,f4,a#4] [c4,e4,a4]@2 [b3,d4,g4]@3 d4 e4", // A# Am G
})).s("gm_electric_guitar_jazz").gain(0.42).pan(0)

// bass · fretless bass · "Fretless Bs."
const bass = note(`<
  A@2 B@2 A@2 B C D E F G D E F H I@2 J@2 I K L M I K N M O@2 I P Q R Q S D E F G D E F H I@2 J@2 I K L M I K N M O@2 I
  P Q R Q S D E F G D E F H I@2 J@2 D E F G D E T ~@5
>`.pickRestart({
  A: "f2 c2 d2 f2 ~ c2 d2 f2", B: "g2 d2 e2 g2 ~ d2 e2 g2", C: "g2 d2 e2 g2@5", D: "[f2,c3]!2", E: "[g2,d3]!2",
  F: "c3 f3 e3 b2", G: "a2 g2, e3", H: "[a2,e3] [d3,f#3]", I: "g2 d3 g2 d3 g2 d3 g2 d3",
  J: "[g2 d3 g2 d3 g2 d3 g2 f2@2 f#2 g2 d3 g2 d3 g2 d3]/2", K: "f#2 d3 f#2 d3 f#2 d3 f#2 d3",
  L: "e2 c3 e2 c3 e2 c3 e2 c3", M: "d2 a2 d2 a2 d2 a2 d2 a2", N: "e2 c3 d2 c3 e2 c3 e2 c3",
  O: "c2 c3 c2 c3 c2 c3 c2 c3", P: "e2 e3 e2 e3 e2 e3 e2 e3", Q: "g2 d3 g2 c3@2 c2 c3@2", R: "g2 d3 g2 c3@2 d2 c3@2",
  S: "g2 c3@2 g2@2 d3 g2@2", T: "c3 f3 ~@2",
})).s("gm_fretless_bass").gain(0.4)

// bass · fretless bass · "Fretless Bs." · soft notes
const bass_soft = note("<~@82 A B C@2 D@2>".pickRestart({
  A: "~@2 e3 b2", B: "[a2,e3] [d3,f#3]", C: "g2 d3 g2 d3 g2 d3 g2 d3",
  D: "[g2 d3 g2 d3 g2 d3 g2 f2@2 f#2 g2 d3 g2 d3 g2 d3]/2",
})).s("gm_fretless_bass").gain(0.2)

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

// drums · kick · soft notes
const kick_soft = s("bd").struct("<~@35 [~@3 x ~@4] ~@44 [~@7 x] [x!2 ~ x!3 ~ x]!7>").gain(0.2)

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

// drums · snare · soft notes
const snare_soft = s("sd").struct("<~@35 [~@3 x ~@4] ~@44 [~ x ~ x]!8>").gain(0.2)

// drums · low tom
const low_tom = s("lt").struct("<~@35 [~@2 x!6] ~@19 [~@3 x] ~@32>").gain(0.32)

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

// drums · hihat · soft notes
const hihat_soft = s("hh").struct(`<
  [~ x ~ x ~ x ~ x]!20
  ~@16
  [~ x ~ x ~ x ~ x]!20
  ~@15
  [~ x ~ x ~ x ~ x]!5
  ~@6
  [~@3 x!5]
  [x!8]!5
>`).gain(0.2)

// drums · mid tom
const mid_tom = s("mt").struct("<~@55 [~@3 x ~@2 x ~] ~@32>").gain(0.32)

// drums · open hat
const open_hat = s("oh").struct(`<
  A B A@2 B A@2 C A D A@3 B A@5 C A@5 D B A B A B A D A@4 B D@3 A@4 B@2 A D A D A B A B A@3 B A D A@3 D B@2 D A@2 B C D
  A B A B D B D B@2 E ~@5
>`.pickRestart({
  A: "x!4", B: "x ~ x!3 ~ x ~", C: "x ~ x ~ x ~ x!2", D: "x ~@3 x ~@3 x ~@3 x ~@2 x", E: "x!2 ~@2",
})).gain(0.32)

// drums · open hat · soft notes
const open_hat_soft = s("oh").struct("<~@82 [~@2 x!2] [x!4]!2 [x ~@3 x ~@3 x ~@3 x ~@2 x]!3>").gain(0.16)

// drums · high tom
const high_tom = s("ht").struct("<~@55 x ~@32>").gain(0.36)

// drums · ride
const ride = s("rd").struct("<A ~@7 A ~@11 A ~@15 A ~@7 A ~@11 A ~@16 A ~@14>".pickRestart({
  A: "x",
})).gain(0.32)

// drums · tambourine
const tambourine = s("tb").struct("<[x!4]!20 [x!8]!16 [x!4]!20 [x!8]!15 [x!4]!17>").gain(0.32)

stack(
  electric_guitar_jazz, bass, bass_soft, kick, kick_soft, snare, snare_soft, low_tom, hihat, hihat_soft, mid_tom,
  open_hat, open_hat_soft, high_tom, ride, tambourine
)

More by Spinners