Strudelify

How Sweet It Is (To Be Loved By You)

James Taylor

KeyG majorTempo104 bpm
0:00/0:00
// How Sweet It Is (To Be Loved By You) — James Taylor
// 104 bpm, 4/4, key G major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Tempo changes preserved in elapsed time; displayed bars use the dominant tempo.
// note: pitch bends are ignored
// note: Full arrangement: all 96 bars on a 16-step grid, each part at one level. 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: edit a riff to change every repeat.

// chords · piano · "Bright Acoustic Piano Right"
const piano = note(`<
  A@2 B C A@2 B C D E F ~ G H F I J K L M N O P Q A@2 B C A@2 B R S T U ~ V ~ W ~ X ~ Y ~ B ~ Z Q A@2 B C A@2 B C D E F
  ~ G H F I J K L M N O P Q A@2 B C A@2 B C A@2 B C A@2 B C A@2 B C AA@2 AB@2
>`.pickRestart({
  A: "[~@4 g4@2 ~ [g4,b4]@2 ~@3 g4@2 a4@2]/2", B: "g4 ~@3", C: "~@2 a4@2 g4 ~@3",
  D: "~@2 g4@2 [b4,e5] d5 ~ b4 d5@2 e5@4 d5@2, ~ g4 [g4,b4]@2", E: "g4 a4@2 g4@5, b4@3 ~@5",
  F: "[f#4,a4]!2 ~@2 [f#4,b4]@2 g4@2", G: "~@2 g4@2 [b4,e5] d5 ~ b4 b4@2 a4@2 a4@2 g4@2, ~@2 g4@2 g4@3 ~",
  H: "g4 a4 b4 g4 ~@4", I: "~ g4@7", J: "[g4,b4]@2 c5 ~ e5@2 d5 e5, ~ [g4,b4]", K: "a4 g4@7",
  L: "~@3 c5 e5 d5 ~ g4, ~@2 [g4,b4]@2 g4@3 ~, ~@2 b4!2", M: "a4 g4 a#4@3 ~ g4 ~", N: "[g4,b4]@2 ~@3 g4 b4 a4",
  O: "a4 ~@3 a#4 c5 d5 c5", P: "[g4,b4]@4 [b4,d5,g5] ~@5 g4@2 b4@2 a4@2", Q: "b4 ~@2 b4 a4 ~@2 a4 g4 ~@2 g4 ~@4",
  R: "f#4@2 g4!2", S: "~@4 [b4,e5] d5 ~ b4 [g4,b4]@8, ~ g4 ~@2", T: "g4 ~@7", U: "[f#4,a4]!2 ~@2 f#4@2 g4@2",
  V: "~@4 b4 d5 ~ b4 g4@6 ~@2, ~ g4 ~@2", W: "[f#4,a4]!2 ~@2 f#4@2 ~@2", X: "g4@2 c5 ~ [g4,b4]@4, b4 ~@7",
  Y: "~@3 c5 [g4,b4]@4, ~ [g4,b4] ~@2", Z: "g4@4 [b4,d5,g5] ~@5 g4@2 ~@4", AA: "[~@8 g4@4 ~@3 [g4,b4]@5 ~@7 g4@5]/2",
  AB: "[a4@5 g4@21 ~@6]/2",
})).s("gm_piano").gain(0.48).pan(0.6)

// chords · piano · "Bright Acoustic"
const piano_2 = note(`<
  A@2 B C A@2 B C ~ D E F G H E I ~ I ~ J K L M N A@2 B C A@2 B O ~ D E P G Q E I ~ I ~ R K S M N A@2 B C A@2 B C ~ D E
  F G H E I ~ I ~ J K L M N A@2 B C A@2 B C A@2 B C A@2 B C A@2 B C T@2 U@2
>`.pickRestart({
  A: "[~@2 [g3,b3,e4]@2 [b3,e4]@2 e4 [c4,e4]@2 e4 [c4,e4]@2 [c4,e4]@2 [c4,e4]@2]/2", // Em E5 C
  B: "[b3,d4] [g3,c4,e4] [g3,b3,d4] [g3,c4,e4]", C: "[g3,b3,d4]@2 [c4,f4]@2 [b3,e4] [a3,d4,f4]@3", D: "e4@3 [b3,e4]@5",
  E: "c4!2 ~@2 c4@2 ~@2", F: "[g3,a#3,e4]@2 [a3,c4,f4] [g3,a#3,e4] [g3,a#3,d4]@4", G: "~@4 d4@3 ~",
  H: "[b3,e4]@4 e4 d4@3, ~ [g3,b3]", I: "[a#3,e4]", J: "[a#3,e4]@5 e4 ~ e4", K: "d4@4 [c4,e4] g3 ~ [d4,f4]@3 ~@6",
  L: "e4 e4@3 ~@4, a#3 ~", M: "d4 ~@3", N: "~ d4 ~@3 c4 ~@3 b3 ~@2 f4 a3 ~ f4", O: "[b3,d4]@2 [b3,e4]!2",
  P: "[g3,a#3]@2 [a3,c4] [g3,a#3] [g3,a#3,d4]@4", Q: "[b3,e4] [g3,b3]", R: "[a#3,e4]@5 ~@3", S: "a#3 ~, e4 ~@7",
  T: "[~@4 [g3,b3,e4]@4 [b3,e4]@4 ~ e4@2 [c4,e4]@4 e4@2 ~ [c4,e4]@5 [c4,e4]@5]/2", U: "[[c4,e4]@5 [b3,d4]@21 ~@6]/2",
})).s("gm_piano").gain(0.48).pan(0.3)

// other · piano · "Bright Acoustic Piano Left"
const piano_3 = note(`<
  A@2 B C A@2 B C ~@16 A@2 B C A@2 B D ~@16 A@2 B C A@2 B D ~@16 A@2 B C A@2 B D A@2 B C A@2 B C A@2 B C E@2 F@2
>`.pickRestart({
  A: "[c2@6 g2@2 c3@2 ~@4 a2@6 b2 c3 ~ c#3 d3@4 d3@4, ~@3 b2 ~@4]/2", B: "g2@3 a2 b2 d3 e3 d3",
  C: "e2@3 a2 b2 d3 e3 d3", D: "g2@3 g2 a2@2 d3@2",
  E: "[c2@6 g2@2 c3@2 ~@5 a2@7 ~ c3@2 c#3@2 d3@5, ~@13 b2@4 ~@5 b2@2 ~@8]/2", F: "[d3@5 g2@21 ~@6]/2",
})).s("gm_piano").gain(0.31).pan(0.4)

// bass · acoustic bass
const bass = note(`<
  A B C D A B C D E F G H E F G H I J K L M N O P A B C D A B C D E F G H E F G H I J K L M N O P A B C D A B C D E F G
  H E F G H I J K L M N O P A B C D A B C D A B C D A B C D A B C D Q@2 R@2
>`.pickRestart({
  A: "c2@3 g2 c2@3 b1", B: "a1@3 c2 d2@2 d2@2", C: "g2 b1", D: "d2@4 b1 d2 e2 d2", E: "g2@2 g2 f#2", F: "e2@2 e2 b1",
  G: "d2@2 d2 c#2", H: "c2!2 e2 f#2", I: "g2@2 d2 b1", J: "c2@2 e2 f#2", K: "e2@2 e2 d2", L: "c2 c#2", M: "g2!2 e2 d2",
  N: "c2 e2 f2 f#2", O: "g2@4 g2 ~@11", P: "g2 f2 e2 d2", Q: "[c2@6 g2@2 c2@7 b1@2 a1@7 c2@2 ~ d2@5]/2",
  R: "[d2@5 g2@21 ~@6]/2",
})).s("gm_acoustic_bass").gain(0.39)

// chords · string ensemble 1
const string_ensemble_1 = note("<~@72 A@2 B@2 A@2 B@2 A@2 B@2 A@2 B@2 A@2 B@2 C@4>".pickRestart({
  A: "[e5 a4, c5]/2", B: "[g4,b4]/2", C: "[e5@17 a4@20 [g4,b4]@16 ~@11, c5@37 ~@27]/4",
})).s("gm_string_ensemble_1").gain(0.23).pan(0.3)

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

// drums · rim
const rim = s("rim").struct("<A@3 B A@3 B A@12 C D B ~@9 A@12 C D B ~@9 A@12 C D B ~@25>".pickRestart({
  A: "~ x ~ x", B: "~ x ~@2", C: "~@2 x!5 ~", D: "~@2 x ~@3 x!2",
})).gain(0.39)

// drums · snare
const snare = s("sd").struct(`<
  ~@23 A B@3 C B@3 C ~@15 A B@3 C B@3 C ~@15 D B@3 C B@3 C B@3 C B@3 C B@3 C E F G ~
>`.pickRestart({
  A: "~@13 x ~ x", B: "~ x ~ x", C: "~ x ~@2", D: "~@12 x!2 ~ x", E: "~@4 x ~@8 x ~@2", F: "~@3 x ~@4", G: "x",
})).gain(0.43)

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

// drums · low tom
const low_tom = s("lt").struct(`<
  ~@23 A ~@3 B ~@3 B ~@15 A ~@3 B ~@3 B ~@15 C ~@3 B ~@3 B ~@3 B ~@3 B ~@3 B ~@4
>`.pickRestart({
  A: "~@4 x!3 ~", B: "~@7 x", C: "~@8 x!2 ~ x ~@4",
})).gain(0.39)

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

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

// drums · high tom
const high_tom = s("ht").struct(`<
  ~@3 A ~@3 A ~@15 B ~@3 A ~@3 A ~@15 B ~@3 A ~@3 A ~@15 C ~@3 A ~@3 A ~@3 A ~@3 A ~@3 A ~@4
>`.pickRestart({
  A: "~ x", B: "x!2 ~@6", C: "x!2 ~ x ~@12",
})).gain(0.3)

// drums · crash
const crash = s("cr").struct("<~@4 A ~@3 A ~@19 A ~@3 A ~@19 A ~@3 A ~@19 A ~@17 B ~>".pickRestart({
  A: "x", B: "~@5 x ~@10",
})).gain(0.34)

stack(
  piano, piano_2, piano_3, bass, string_ensemble_1, kick, rim, snare, hihat, low_tom, open_hat, mid_tom, high_tom, crash
)

More by James Taylor