Strudelify

Bittersweet Me

R.E.M.

KeyE minorTempo107 bpm
0:00/0:00
// Bittersweet Me — R.E.M.
// 107.1 bpm, 3/4, key E minor. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Full arrangement: all 156 bars on a 24-step grid, each part at one level. Source detail keeps the original performance.
setcpm(107.1/3)

// Notation: c3@3 lasts 3 steps · ~ is a rest · [...]/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 · synth bass 2
const bass = note(`<
  ~@5 A@3 B C@3 D A@3 B C@3 D A@3 B E@3 F@2 G@2 H@4 I J K L M@2 N O P Q K L B C@3 D R@8 S@2 T@6 U@4 V W@3 X@6 Y@4 Z@6
  S@2 AA@6 S@2 T@6 S@2 T@6 U@4 V W@3 X@6 Y@4 AB@4 Y@4 AB@4 AC@3 ~@6
>`.pickRestart({
  A: "[~@8 d2@12 d2@12 b1@8 e2@11 ~ e2@11 ~@9]/3", B: "d2!2", C: "[b1@8 e2@11 ~ e2@11 ~@9 d2@12 d2@12 b1@8]/3",
  D: "e2@11 ~ e2@11 ~", E: "[b1@8 e2@11 ~ e2@11 ~@9 f1@12 f1@20]/3", F: "[a#1@12 a#1@15 ~@5 d2@12 ~@4]/2",
  G: "[~@16 c2@13 ~@19]/2", H: "[f1@12 f1@20 a#1@12 a#1@15 ~@5 d2@12 d2@12 ~@8]/4", I: "c2!6", J: "c2!2 a2@2 ~ a2",
  K: "c2@3 c2 g2@2", L: "~@2 e2!2 g2@2", M: "[a2@8 ~@4 a2@4 c2@12 c2@4 g2@9 ~@7]/2", N: "e2!2 g2@2 a2@2",
  O: "~ a2 c2@3 c2", P: "g2@9 ~@7 e2@4 e2@4", Q: "g2@2 a2@2 ~ a2",
  R: "[~@8 d2@12 d2@12 b1@8 e2@11 ~ e2@11 ~@8 d2@12 d2@12 b1@8 e2@11 ~ e2@11 ~@9 d2@12 d2@12 b1@8 e2@11 ~ e2@11 ~@2]/8",
  S: "[~@7 d2@12 d2@12 b1@8 e2@9]/2",
  T: "[~@3 e2@11 ~@9 d2@12 d2@12 b1@8 e2@11 ~ e2@11 ~@9 d2@12 d2@12 b1@8 e2@11 ~ e2@11 ~@2]/6",
  U: "[~@7 f1@12 f1@20 a#1@12 a#1@15 ~@5 d2@12 ~@13]/4", V: "~@7 c2@13 ~@4", W: "[~@15 f1@12 f1@20 a#1@12 a#1@13]/3",
  X: "[~@7 d2@12 d2@12 ~@8 c2@4 c2@4 c2@4 c2@4 c2@4 c2@4 c2@4 c2@4 a2@8 ~@4 a2@4 c2@12 c2@4 g2@9 ~@7 e2@4 e2@4 g2@8 a2@8 ~]/6",
  Y: "[~@3 a2@4 c2@12 c2@4 g2@9 ~@7 e2@4 e2@4 g2@8 a2@8 ~@4 a2@4 c2@12 c2@4 g2@9]/4",
  Z: "[~@7 e2@4 e2@4 g2@8 a2@8 ~@4 a2@4 c2@12 c2@4 g2@9 ~@7 e2@4 e2@4 g2@8 d2@12 d2@12 b1@8 e2@11 ~@14]/6",
  AA: "[~@23 d2@12 d2@12 b1@8 e2@11 ~ e2@11 ~@9 d2@12 d2@12 b1@8 e2@11 ~ e2@11 ~@2]/6",
  AB: "[~@7 e2@4 e2@4 g2@8 a2@8 ~@4 a2@4 c2@12 c2@4 g2@9 ~@7 e2@4 e2@4 g2@8 a2@8 ~]/4",
  AC: "[~@3 a2@4 c2@12 c2@4 g2@9 ~@7 e2@4 e2@4 g2@9 ~@16]/3",
})).s("gm_synth_bass_2").gain(0.51)

// other · distortion guitar
const distortion_guitar = note(`<
  ~@26 A@2 B ~@8 C D@2 E@4 F@2 D@2 ~@21 G@3 ~@7 H@6 I@6 ~@26 G@3 ~@7 H@6 J@16 ~@7
>`.pickRestart({
  A: "[~@16 f4@31 ~]/2", B: "a#4@23 ~", C: "~ a4@2", D: "[c4@16 g4@27 ~@5]/2",
  E: "[a4@16 c4@16 g4@27 ~@5 a4@16 c4@16]/4", F: "[g4@27 ~@5 a4@16]/2", G: "[~@7 f4@31 ~ a#4@23 ~@10]/3",
  H: "[~@23 a4@16 c4@16 g4@27 ~@5 a4@16 c4@16 g4@25]/6", I: "[~@7 a4@16 c4@16 g4@27 ~@5 a4@16 c4@16 g4@27 ~@14]/6",
  J: "[~@7 a4@16 c4@16 g4@27 ~@5 a4@16 c4@16 g4@27 ~@5 a4@16 c4@16 g4@25]/8",
})).s("gm_distortion_guitar").gain(0.36)

// other · cello
const cello = note("<~@90 A@3 B@3 ~@60>".pickRestart({
  A: "[~@15 d4@12 b4@9 ~@3 a4@8 g4@12 ~@13]/3", B: "[~@7 d4@12 b4@9 ~@3 g4@8 e4@14 ~@19]/3",
})).s("gm_cello").gain(0.26)

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

// drums · snare
const snare = s("sd").struct(`<
  ~@5 A B A B A B A B A B A B A B A B A B A B A C A B A B D B A B A B E B F B A G A H I B J B A B A B A B K L M L M L M
  L M L M L M L N L M L M O M L M L P L Q R M L S L T L M U M V ~ W X L M L M L M L M L M L M L M L M L M L M L N L M L
  M O M L M L P L Q R M L S L T L M Y M Z N L P L Q R M L AA ~@6
>`.pickRestart({
  A: "x ~ x", B: "~ x ~", C: "~@2 x!2 ~@2", D: "x ~@7 x ~ x!2", E: "x!4 ~@4 x ~@3", F: "x ~ x ~@2 x", G: "~@4 x!4 ~@4",
  H: "~ x!2", I: "~ x ~@2 x ~", J: "x ~@7 x!4", K: "x ~@4 x ~@2", L: "~@7 x ~@15 x", M: "~@5 x ~@2", N: "~ x ~@3 x ~@2",
  O: "~@7 x ~@3 x ~ x ~@9 x", P: "~@15 x ~ x ~ x ~ x ~@2", Q: "~@15 x ~@7 x", R: "~@11 x ~@11 x",
  S: "~ x ~ x ~ x ~@9 x ~@8", T: "~@7 x ~@11 x ~@4", U: "~@7 x ~ x ~ x ~ x ~@10", V: "~@23 x", W: "~@7 x ~@16",
  X: "~@19 x ~@4", Y: "~@7 x ~ x ~ x ~ x ~@9 x", Z: "~@7 x ~@7 x ~@8", AA: "~ x ~ x ~ x ~@18",
})).gain(0.51)

// drums · china
const china = s("cr").struct(`<
  ~@5 A B C B C B C B C B C B C B C B C B C B C D C B C B E B C B C B A B F B C G C B H B E B C B C B C B I J K J K J K
  J K J K J K L M J K J K N K J K J O J K P K J M J Q J K R ~@4 S J K J K J K J K J K J K J K J K J K J K L M J K J K N
  K J K J O J K P K J M J Q J K N K T K J O J K P K J ~@7
>`.pickRestart({
  A: "~@2 x!2 ~ x", B: "x!2 ~ x!3", C: "~ x!3 ~ x", D: "x ~@3 x!2", E: "~ x!3 ~@2", F: "~ x!5", G: "x!2 ~@2 x!2",
  H: "x!4 ~ x", I: "~@4 x ~@3 x ~@3 x ~@6 x ~@3 x", J: "~@3 x ~@7 x ~@3 x ~@3 x ~@4",
  K: "~@3 x ~@3 x ~@3 x ~@7 x ~@3 x", L: "~@3 x ~@7 x ~@3 x ~@8", M: "~@7 x ~@3 x ~@7 x ~@3 x",
  N: "~@3 x ~@11 x ~@3 x ~@4", O: "~@3 x ~@3 x ~@3 x ~@11 x", P: "~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@4",
  Q: "~@3 x ~@3 x ~@3 x ~@3 x ~@3 x ~@3 x", R: "~ x ~@6", S: "~@23 x", T: "~@3 x ~@7 x ~@3 x ~@3 x ~@3 x",
})).gain(0.51)

stack(bass, distortion_guitar, cello, kick, snare, china)

More by R.E.M.