Strudelify

Nothing Matters

Nine Inch Nails

KeyD majorTempo90 bpm
0:00/0:00
// Nothing Matters — Nine Inch Nails
// 90 bpm, 4/4, key D major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: ch 1 "VibeStrn" named as a mallet, played on vibraphone (its ocarina patch is not one); ch 3 "LoString" named as a string part, played on string ensemble 1 (its electric guitar muted patch is not one)
// note: Full arrangement: all 48 bars on a 16-step grid, each part at one level. Source detail keeps the original performance.
setcpm(90/4)

// Notation: c3@3 lasts 3 steps · ~ is a rest · "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.

// other · vibraphone · "VibeStrn"
const vibraphone = note("<~@8 [d3 ~ d3 ~ d3 ~ d3 ~ d3 ~ d3 ~ d3 ~ d3 ~]!40>").s("gm_vibraphone").gain(0.27)

// other · string ensemble 1 · "LoString"
const string_ensemble_1 = note("<~@23 A@4 B@7 C@6 ~@8>".pickRestart({
  A: "[~@15 c3@16 g2@16 d3@17]/4", B: "[~@31 g2@16 d3@32 a2@16 c3@16 g2, ~@15 c3@18 ~@79]/7",
  C: "[~@15 d3@16 c3@16 g2@16 d3@33]/6",
})).s("gm_string_ensemble_1").gain(0.26)

// drums · pedal hat
const pedal_hat = s("hh").struct(`<
  A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B
>`.pickRestart({
  A: "x!8", B: "x ~ x ~ x ~ x ~ x!2 ~ x!2 ~ x ~",
})).gain(0.32)

// drums · mid tom
const mid_tom = s("mt").struct(`<
  A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B
>`.pickRestart({
  A: "x ~ x!2", B: "x",
})).gain(0.37)

// drums · open hat
const open_hat = s("oh").struct(`<
  ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A
>`.pickRestart({
  A: "~@5 x ~@2",
})).gain(0.32)

stack(vibraphone, string_ensemble_1, pedal_hat, mid_tom, open_hat)

More by Nine Inch Nails