Strudelify
KeyD minorTempo100 bpm
0:00/0:00
// Pretty — The Cranberries
// 100 bpm, 4/4, key D minor. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: metre changes (2/4 at bar 1, 4/4 at bar 2) are rendered on a constant 4/4 grid of one bar per cycle
// note: duplicate parts dropped: ch 3 pad poly (copy of ch 2 "Dolores" pan flute)
// note: Full arrangement: all 54 bars on a 16-step grid, each part at one level. Source detail keeps the original performance.
setcpm(100/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.

// other · acoustic guitar nylon
const acoustic_guitar_nylon = note(`<
  A B A B C D C D C D C D C D C D C E C D C E C D F@4 C D C D C D C D C E C D C E C D G@6 H I C J
>`.pickRestart({
  A: "f4@5 ~ d4@5 ~@5", B: "bb3@5 ~ a3@5 ~@5", C: "f4@5 ~ d4@8 ~@2", D: "bb3@5 ~ a3@8 ~@2",
  E: "bb3@5 ~ a3@4 [a3,c4,f4]@2 [a3,c4,f4]@2 ~@2", // F
  F: "[~@2 a3@2 c4@6 a3@2 c4@6 a3@2 c4@6 f3@2 c4@6 a3@2 e4@2 c4@4 a3@2 bb3@2 c4@4 a4@2 e4@6 [c4,e4,a4]@2 [c4,e4,a4]@3 ~]/4", // Am
  G: "[~@2 a3@2 c4@6 a3@2 bb3@2 c4@4 a3@2 c4@6 a3@2 c4@6 a3@2 c4@6 a3@2 bb3@2 c4@4 f3@2 c4@6 a3@2 c4@6 a3@2 c4@6 a3@2 c4@6 a3@2 c4@6 [c4,e4,a4]@2 [c4,e4,a4]@3 ~]/6", // Am
  H: "c4@2 bb3@3 ~ a3@4 a3@2 bb3@3 ~", I: "bb3@5 ~ c4@4 [c4,e4,a4]@2 [c4,e4,a4]@3 ~",
  J: "bb3@5 ~ a3@4 [c4,e4,a4]@2 [c4,e4,a4]@2 ~@2", // Am
})).s("gm_acoustic_guitar_nylon").gain(0.48)

// bass · acoustic bass
const bass = note(`<
  ~@4 A B A C A B A C A B A C A B A C A B A C D E D F A B A C A B A C A B A C A B A C D E D F G E G H G I
>`.pickRestart({
  A: "a2 d2 ~ c2@4 ~", B: "g2 c2 ~ d2@4 ~", C: "g2@2 c2@2 ~@2 d2@4 a2@2 d2@3 ~", D: "a2 d2 ~ c2@5", E: "g2 c2 ~ d2@5",
  F: "g2@2 c2@2 ~@2 d2@4 a1@2 d2@3 ~", G: "a2 d2 ~ c2@3 ~@2", H: "g2@2 c2@2 ~@2 d2@4 d2@2 d2@3 ~",
  I: "g2 c2 ~ d2@2 d2!2 ~",
})).s("gm_acoustic_bass").gain(0.48)

// drums · kick
const kick = s("bd").struct("<~@3 A B@13 C B@3 C B@15 C B@3 C B@7 C B C B C>".pickRestart({
  A: "~@5 x!2 ~", B: "~ x ~@2", C: "~@2 x ~@2 x!2 ~",
})).gain(0.19)

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

// drums · hihat
const hihat = s("hh").struct("<[~ x ~ x]!3 [~@2 x ~@2 x!3] [x!8]!49 [x!7 ~]>").gain(0.19)

// drums · mid tom
const mid_tom = s("mt").struct("<~@3 [~@5 x!2 ~] ~@50>").gain(0.19)

// drums · tambourine
const tambourine = s("tb").struct("<A@3 B C@13 D C@3 D C@15 D C@3 D C@7 E C E C E>".pickRestart({
  A: "~ x ~ x", B: "~@2 x ~@2 x!2 ~", C: "~@6 x!2", D: "~@5 x!2 ~", E: "~@5 x!3",
})).gain(0.19)

// drums · ride
const ride = s("rd").struct("<[~ x ~ x]!3 [~@2 x ~@3 x!2] [x!4]!50>").gain(0.19)

// drums · cabasa
const cabasa = s("cabasa:4").struct("<~@4 [x!8]!49 [x!7 ~]>").gain(0.94)

stack(acoustic_guitar_nylon, bass, kick, snare, hihat, mid_tom, tambourine, ride, cabasa)

More by The Cranberries