Strudelify

Roxanne

Sting

KeyG minorTempo136 bpm
0:00/0:00
// Roxanne — Sting
// 136 bpm, 4/4, key G minor. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: pitch bends are ignored
// note: Full arrangement: all 110 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
// note: Guitar parts that double another keep only their own notes (fills, solos): guitar program 30.
setcpm(136/4)

// Notation: c3@3 lasts 3 steps · ~ is a rest · [c3,e3] is a chord · [...]/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 · acoustic bass
const bass = note(`<
  ~@4 A B C D E F@3 A B C D E F@3 A B C D E F@3 E G H@2 E I@2 J@2 K L M N O@2 P@2 Q@3 R S R T A B C D E F@3 A B C D E
  F@3 E G H@2 E I@2 J@2 K L M N J@2 K L M N J@2 K L M N J@2 K L M N J@2 K L M N J@2 K L U
>`.pickRestart({
  A: "g2 ~ g2@2 g2@2 g2 ~ g2 ~ g2 ~ g2 ~ g2 ~", B: "f2 ~ f2@2 f2@2 f2 ~ f2 ~ f2 ~ f2 ~ f2 ~",
  C: "eb2 ~ eb2@2 eb2@2 eb2 ~ eb2 ~ eb2 ~ eb2 ~ eb2 ~", D: "d2 ~ d2@2 d2@2 d2 ~ d2 ~ d2 ~ d2 ~ d2 ~",
  E: "c2 ~ c2@2 c2@2 c2 ~ c2 ~ c2 ~ c2 ~ c2 ~", F: "[f1 ~ f1@2 f1@2 f1 ~ f1 ~ f1 ~ f1@2 g1@34]/3",
  G: "f1 ~ f1@2 f1@2 f1 ~ f1 ~ f1 ~ f1 ~ f1 ~", H: "g1 ~ g1@2 g1@2 g1 ~ g1 ~ g1 ~ g1 ~ g1 ~",
  I: "[f1 ~ f1@2 f1@2 f1 ~ f1 ~ f1 ~ f1@2 g1@6 g1@2 g1@2 g1@2 g1@2 g1@2 g1@2]/2", J: "[g1!5 c2 ~ bb1@2 bb1!7]/2",
  K: "bb1!5 eb2 ~ f2", L: "f2!8", M: "f2@2 f2!2 c2 f1 ~ g1", N: "g1!8", O: "[g1!5 c2 ~ bb1@2 bb1!3 bb1@2 bb1!2]/2",
  P: "[bb1@2 bb1!3 eb2 ~ f2@3 f2!2 f2@2 f2!2]/2", Q: "[f2@2 f2!2 f1!2 ~ g1@15 ~ f1]/3", R: "g1 ~@6 g1", S: "f1 ~@6 f1",
  T: "f1 ~@7", U: "f2@2 f2!2 c2 f1 ~@2",
})).s("gm_acoustic_bass").gain(0.35)

// chords · distortion guitar
const distortion_guitar = note("<~@109 [~@4 f3@2 f3@3 ~ f2@2 ~@2 g2@2]>").s("gm_distortion_guitar").gain(0.08).pan(0.3)

// chords · distortion guitar · soft notes
const distortion_guitar_soft = note(`<
  ~@9 A@2 ~@6 A@2 ~@6 A@2 ~@2 B C@2 ~ D@2 ~@22 A@2 ~@6 A@2 ~@2 B C@2 ~ D@2 ~@35
>`.pickRestart({
  A: "[eb3 ~@3 eb3 ~@3 eb3 ~@3 eb3 ~ f3@18]/2", B: "eb3 ~@3 eb3 ~@3 eb3 ~@3 eb3 ~@3", C: "f3 ~@3 f3 ~@3 f3 ~@3 f3 ~@3",
  D: "[eb3 ~@3 eb3 ~@3 eb3 ~@3 eb3 ~ f3@8 ~@10]/2",
})).s("gm_distortion_guitar").gain(0.05).pan(0.3)

// chords · electric guitar clean
const electric_guitar_clean = note(`<
  ~@2 A@3 B C D E F@3 A B C D E F@3 A B C D E F@3 E G H@2 E I@2 J@2 K@2 L@2 M@2 K@2 N@2 ~ A@5 B C D E F@3 A B C D E F@3
  E G H@2 E I@2 J@2 K@2 L@2 M@2 K@2 L@2 M@2 K@2 L@2 M@2 K@2 L@2 M@2 K@2 L@2 M@2 K@2 O
>`.pickRestart({
  A: "[bb3,d4,g4] ~@3 [bb3,d4,g4] ~@3 [bb3,d4,g4] ~@3 [bb3,d4,g4] ~@3", // Gm
  B: "[a3,d4,f4] ~@3 [a3,d4,f4] ~@3 [a3,d4,f4] ~@3 [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d3]@2 [g2,d3]@2]/2", // F5 G5
  M: "[[g2,d3]@2 [g2,d3]!2 ~ [c3,g3] ~ [bb2,f3]@3 [bb2,f3]!2 [bb2,f3]@2 [bb2,f3]!2]/2", // G5 C5 Bb5
  N: "[[f3,c4]@2 [f3,c4]!2 ~ [f3,bb3,c4] ~ [g3,c4,d4]@9]/2", O: "[f3,c4] ~@3",
})).s("gm_electric_guitar_clean").gain(0.3).pan(0.7)

// chords · percussive organ
const percussive_organ = note("<~@35 A@2 B@8 ~@30 C@8 D@8 E@8 F@8 G@3>".pickRestart({
  A: "[~@5 [c5,eb5] ~ [d5,f5]@9]/2", // Cm Dm
  B: "[~@2 c5@2 ~ [d5,eb5] ~ [c5,f5]@13 ~ [c5,bb5] ~ [d5,g5]@13 ~ [c5,a5] ~ [d5,f5]@13 ~ [eb5,bb5] ~ [c5,a5]@9]/8", // Ebmaj7 F5 C7 G5 F Dm Eb5 F
  C: "[~@5 [c5,eb5] ~ [d5,f5]@13 ~ [d5,bb5] ~ [c5,a5]@13 ~ [c5,bb5] ~ [d5,g5]@13 ~ [eb5,bb5] ~ [d5,f5]@9]/8", // Cm Dm Gm F C7 G5 Eb5 Dm
  D: "[~@5 [eb5,bb5] ~ [c5,a5]@13 ~ [c5,bb5] ~ [d5,g5]@13 ~ [eb5,bb5] ~ [d5,f5]@13 ~ [d5,bb5] ~ [c5,a5]@9]/8", // Eb5 F C7 G5 Eb5 Dm Gm F
  E: "[~@5 [c5,bb5] ~ [d5,g5]@13 ~ [eb5,bb5] ~ [d5,f5]@13 ~ [d5,bb5] ~ [c5,a5]@13 ~ [c5,bb5] ~ [d5,g5]@9]/8", // C7 G5 Eb5 Dm Gm F C7 G5
  F: "[~@5 [eb5,bb5] ~ [d5,f5]@13 ~ [eb5,bb5] ~ [c5,a5]@13 ~ [c5,bb5] ~ [d5,g5]@13 ~ [c5,eb5] ~ [d5,f5]@9]/8", // Eb5 Dm Eb5 F C7 G5 Cm Dm
  G: "[~@5 [d5,bb5] ~ [c5,a5]@13 ~ [c5,bb5] ~ [d5,g5]]/3", // Gm F C7 G5
})).s("gm_percussive_organ").gain(0.19)

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

// drums · snare
const snare = s("sd").struct(`<
  ~@4 A@5 B ~@2 B@5 C ~@2 B@5 A ~@2 A@6 ~ D B@12 A@4 B@5 A ~@2 B@5 A ~@2 A@6 ~ D B@19 E F@2 B@5 A B@6
>`.pickRestart({
  A: "~ x ~@2", B: "~ x ~ x", C: "~@2 x ~@2 x ~@2", D: "~ x", E: "~ x!3", F: "x!4",
})).gain(0.6)

// drums · hihat
const hihat = s("hh").struct(`<
  A@9 B ~ C A@5 B ~@2 A@3 D A B ~@10 E A F A G A G H I H J K A@9 B ~ C A@4 L B ~@10 E A F A G H I M F A G H I N@6 ~@15
>`.pickRestart({
  A: "x!4", B: "x!3 ~", C: "~@15 x", D: "x ~@3 x ~@3 x ~@3 x!4", E: "x!8", F: "~@2 x ~ x!4", G: "~ x!2 ~ x!4",
  H: "x ~ x!2", I: "~ x!7", J: "x ~ x ~ x ~ x!2", K: "x ~@3 x ~@3 x ~@3 x ~ x!2", L: "x!3 ~ x ~ x ~",
  M: "x ~ x ~ x ~@2 x", N: "~ x ~ x",
})).gain(0.3)

// drums · hihat · soft notes
const hihat_soft = s("hh").struct(`<
  ~@2 A@4 B A@3 ~ C A@2 B A@3 ~@2 A@6 ~@9 D ~ E@3 F E F E ~ E A@4 B G A@2 B A G A ~@2 A H I@2 J E ~@9 D ~ E@3 F E ~ E@3
  F E ~@22
>`.pickRestart({
  A: "~ x ~ x ~ x ~@2", B: "~ x ~@3 x ~@2", C: "~@7 x", D: "~@3 x", E: "~ x ~ x ~@4", F: "~@3 x ~@4",
  G: "~@3 x ~ x ~@2", H: "~ x ~@6", I: "~ x ~ x ~ x ~ x", J: "~@3 x ~ x ~ x",
})).gain(0.12)

// drums · low tom
const low_tom = s("lt").struct("<~@29 A ~@4 B C ~@21 D ~@11 A ~@4 E C ~@34>".pickRestart({
  A: "~@6 x!2", B: "~@5 x!3", C: "x!4 ~@4", D: "~@3 x", E: "~@2 x!6",
})).gain(0.3)

// drums · mid tom
const mid_tom = s("mt").struct(`<
  ~@17 A ~@7 B ~@2 C ~ C@3 B ~ D ~@21 E ~@7 B ~@2 C ~ C@3 B F G ~@7 H ~@14 I@5 J I@6
>`.pickRestart({
  A: "~@3 x", B: "~@5 x!2 ~", C: "~@7 x", D: "~ x!3 ~@4", E: "~@11 x ~@4", F: "~@6 x!2", G: "x!4 ~@4", H: "~@5 x ~@2",
  I: "x!2", J: "x ~ x!2",
})).gain(0.36)

// drums · mid tom · soft notes
const mid_tom_soft = s("mt").struct("<~@28 A ~ A@3 ~ B C ~@21 D ~@10 A ~ A@3 ~ E ~@35>".pickRestart({
  A: "~@3 x", B: "~@5 x!3", C: "x", D: "~@5 x ~@2", E: "~@2 x!4 ~@2",
})).gain(0.18)

// drums · open hat
const open_hat = s("oh").struct(`<
  ~ A@8 ~@3 A@4 B ~@2 A@4 ~ A ~@10 C ~ D ~ D ~ D ~ D ~@4 A@3 B A@4 B ~@3 A D ~@13 C ~ D ~ D ~ D ~@3 D ~ D ~ E F E F@2 G
  H ~@14
>`.pickRestart({
  A: "~@7 x", B: "~ x ~@5 x", C: "~@5 x ~@2", D: "~@5 x ~ x", E: "x ~@2 x!2 ~@3", F: "x ~@2 x!2 ~@2 x",
  G: "~ x ~ x!2 ~@2 x", H: "x ~ x!3 ~@3",
})).gain(0.3)

// drums · crash
const crash = s("cr").struct(`<
  ~@9 A ~@7 A ~@7 A ~@7 A ~ A ~@2 B ~ B ~ B C B D ~@11 A ~@7 A ~@7 A ~ A ~@2 B ~ B C B E B ~ B C B A ~ F ~@2 B G H@2 B
  ~@4 F ~ F ~ F ~ I
>`.pickRestart({
  A: "~@7 x", B: "x", C: "~ x ~@2", D: "~@2 x ~@2 x ~ x", E: "~@5 x!2 ~", F: "~@5 x ~ x", G: "~@3 x", H: "x!4",
  I: "~@5 x ~@2",
})).gain(0.42)

// drums · crash · soft notes
const crash_soft = s("cr").struct("<~@95 [~@7 x] [~ x ~ x ~ x ~ x]!2 ~@12>").gain(0.12)

// drums · ride
const ride = s("rd").struct("<~@27 A B@5 C ~@33 A B@5 C ~@24 D B@4 E B E B E B E>".pickRestart({
  A: "~@7 x", B: "x!8", C: "x!6 ~@2", D: "~ x!7", E: "x!5 ~ x ~",
})).gain(0.3)

stack(
  bass, distortion_guitar, distortion_guitar_soft, electric_guitar_clean, percussive_organ, kick, snare, hihat,
  hihat_soft, low_tom, mid_tom, mid_tom_soft, open_hat, crash, crash_soft, ride
)

More by Sting