Strudelify

Soda Pop

Britney Spears

KeyE♭ majorTempo92 bpm
0:00/0:00
// Soda Pop — Britney Spears
// 92 bpm, 4/4, key D# major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Full arrangement: all 76 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(92/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 · acoustic guitar steel · "Staff-2"
const acoustic_guitar_steel = note(`<
  A@6 B C B C D E F@2 G H I@2 B C B C D E F@2 G H I@2 B C B C A C A C J K J L M N O P A Q A Q D E F@2 G H I@2 B C B C A
  C A C B C B C B C B R S ~
>`.pickRestart({
  A: "[eb4,g4,bb4]@3 [eb4,g4,bb4]@3 [eb4,g4,bb4]@3 [eb4,g4,bb4]@3 [eb4,g4,bb4]!2 ~@2", // Eb
  B: "[eb4,g4,bb4]@3 [eb4,g4,bb4]@3 [eb4,g4,bb4]@5 ~ [eb4,g4,bb4]@3 ~", // Eb
  C: "[c4,eb4,ab4]@3 [c4,eb4,ab4]@3 [c4,eb4,ab4]@5 ~ [eb4,g4,bb4]@3 ~", D: "[bb3,eb4] g4 f4 eb4 f4 eb4 f4 eb4",
  E: "[bb3,eb4,g4]@2 f4@2 eb4@2 f4@2 eb4@3 ~ [bb3,eb4,g4]@3 ~", // Eb
  F: "[[c4,eb4,ab4]@7 eb4!3 eb4@2 gb4@2 eb4 eb4@4 ~@13]/2", G: "~ g4 f4 eb4 f4 eb4 f4 eb4", H: "g4 f4 eb4 f4@2 eb4 ~@2",
  I: "[~@7 eb4 gb4!2 eb4@2 gb4@2 eb4 eb4@3 g4@2 ~@6 eb4@3 c4 bb3@2]/2",
  J: "g4 f4!2 eb4 [ab3,c4,g4] f4!2 bb3, [ab3,c4]@7 ~@9", K: "[g3,c4]@2 d4@2 eb4@2 [bb3,d4,g4]@9 ~",
  L: "[g3,c4]@2 d4@2 eb4@2 [f3,bb3,d4]@3 c4 bb3@5 ~", M: "[ab3,c4] d4 eb4 [bb3,d4,f4] g4 f4 ~ bb3",
  N: "[ab3,c4]@2 d4@2 eb4@2 [bb3,d4,g4]@4 f4@3 ~ bb3@2", // Ab Gm
  O: "bb4!4 g4@2 bb3@2 bb4!2 bb4@2 g4@2 bb3@2, [c4,eb4]@5 ~@3 [c4,eb4]@5 ~@3", // Cm
  P: "[bb3,d4,g4]@2 f4@2 f4@2 g4@2 [bb3,d4,ab4]@2 [bb3,d4,ab4] [bb3,d4,ab4]@2 [bb3,d4,ab4] [bb3,d4,ab4]@2", // Gm Bb7
  Q: "[c4,eb4,ab4]@3 [c4,eb4,ab4]@3 [c4,eb4,ab4]@3 [eb4,g4,bb4]@3 [eb4,g4,bb4]@3 ~", // Ab Eb
  R: "[c4,eb4,ab4]@3 [c4,eb4,ab4]@3 [c4,eb4,ab4]@5 ~ [eb4,g4,bb4]@2 [c4,eb4,ab4]@2", S: "[bb3,eb4,g4]@15 ~",
})).s("gm_acoustic_guitar_steel").gain(0.48)

// chords · harpsichord · "Staff-3"
const harpsichord = note(`<
  A@6 B C B C A@2 C A@3 C A B C B C A@2 C A@3 C A B C B C A C A C ~@4 C@2 ~ D A E A E A@2 C A@3 C A B C B C A C A C B C
  B C B C B F G ~
>`.pickRestart({
  A: "[eb4,g4,bb4]@3 [eb4,g4,bb4]@3 [eb4,g4,bb4]@3 [eb4,g4,bb4]@3 [eb4,g4,bb4]!2 ~@2", // Eb
  B: "[eb4,g4,bb4]@3 [eb4,g4,bb4]@3 [eb4,g4,bb4]@5 ~ [eb4,g4,bb4]@3 ~", // Eb
  C: "[c4,eb4,ab4]@3 [c4,eb4,ab4]@3 [c4,eb4,ab4]@5 ~ [eb4,g4,bb4]@3 ~", D: "~@12 [eb4,g4,bb4]@3 ~",
  E: "[c4,eb4,ab4]@3 [c4,eb4,ab4]@3 [c4,eb4,ab4]@3 [eb4,g4,bb4]@3 [eb4,g4,bb4]@3 ~", // Ab Eb
  F: "[c4,eb4,ab4]@3 [c4,eb4,ab4]@3 [c4,eb4,ab4]@5 ~ [eb4,g4,bb4]@2 [c4,eb4,ab4]@2", G: "[bb3,eb4,g4]@15 ~",
})).s("gm_harpsichord").gain(0.48)

// chords · harpsichord · "Staff-3" · soft notes · Ab Eb Ab Eb Ab
const harpsichord_soft = note(`<
  ~@38
  [[c4,eb4,ab4]@3 [c4,eb4,ab4]@3 [c4,eb4,ab4]@5 ~ [eb4,g4,bb4]@3 ~]!4
  ~@2
  [[c4,eb4,ab4]@3 [c4,eb4,ab4]@3 [c4,eb4,ab4]@5 ~ [eb4,g4,bb4]@3 ~]
  [[c4,eb4,ab4]@3 [c4,eb4,ab4]@3 [c4,eb4,ab4]@5 ~@5]
  ~@30
>`).s("gm_harpsichord").gain(0.32)

// bass · electric guitar jazz · "Staff-4"
const bass = note("<A@6 B@32 C D C D E@2 F G H@4 B@24 ~@2>".pickRestart({
  A: "eb2@9 eb2 eb2@5 ~", B: "eb2@2 eb2@2 ~@3 ab2 bb2@2 eb2@2 ~ eb2 eb2@2", C: "f2@9 f2 f2@2 f2@3 ~",
  D: "c2@5 ~ bb1@3 bb1 bb1@2 bb1@3 ~", E: "ab2@5 ~ bb2@9 ~", F: "ab2@9 ab2 ab2@2 ab2@3 ~",
  G: "bb2@10 bb2 bb2@2 bb2 bb2@2", H: "eb2@2 eb2@5 ~@2 eb2 eb2@5 ~",
})).s("gm_electric_guitar_jazz").gain(0.48)

// drums · kick
const kick = s("bd").struct("<[x ~@2 x ~@3 x ~@2 x ~@5]!74 ~@2>").gain(0.4)

// drums · snare
const snare = s("sd").struct("<[~ x ~ x]!74 ~@2>").gain(0.4)

// drums · hihat
const hihat = s("hh").struct("<[~ x!6 ~ x!8]!74 ~@2>").gain(0.4)

// drums · open hat
const open_hat = s("oh").struct("<[x ~@6 x ~@8]!74 ~@2>").gain(0.4)

stack(acoustic_guitar_steel, harpsichord, harpsichord_soft, bass, kick, snare, hihat, open_hat)

More by Britney Spears