Strudelify

A Million Pieces

KYUHYUN

KeyE majorTempo67 bpm
0:00/0:00
// A Million Pieces — KYUHYUN
// 67 bpm, 4/4, key E major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: sustain pedal (CC 64) lengthens the held notes
// note: Transcription provider: pdmx. https://musescore.com/score/5638357; license: https://creativecommons.org/publicdomain/zero/1.0/
// note: Full arrangement: all 29 bars on a 16-step grid, each part at one level. Source detail keeps the original performance.
setcpm(67/4)

// Notation: c3@3 lasts 3 steps · ~ is a rest · [c3,e3] is a chord · "a, b" plays two voices at once.
// A part's distinct bars are riffs (A, B, C...) played in order: edit a riff to change every repeat.

// chords · piano
const piano = note("<A B C D E F G H E F G I J K L M J K L N E O P Q E O P R D>".pickRestart({
  A: "~@3 b3, e2 g#3, ~ b2@7, ~ b3@2 f#3@5, ~ e3@3", B: "~@3 e3, e2, ~ e3@5 ~@2, ~ a3@3, ~@3 b3@5",
  C: "~@3 e3, e2, ~ b2@7, ~ e3 g#3@2, ~@3 f#3@5", D: "[e2,e3]", E: "~@3 b3, e2, ~ b2@3 b2@4, ~ e3@3, ~@5 f#3@3",
  F: "~@3 g#3, c#3, ~ g#3@4 d#3@3, ~ c#4@3, ~ g#2", G: "~@3 e3, a2, ~ e3@4 b2@3, ~ a3@3, ~ e2",
  H: "~@3 b3, f#2, ~ c#3@7, ~@2 f#3@3 f#3@3, ~ b2", I: "~@3 e3, f#2@5 b2@3, ~ c#3@7, ~ f#3@3, ~ e2",
  J: "~@3 b3, c#3@5 f#3@3, ~ g#3@7, ~ c#4@3, ~ b2", K: "~@3 e3, a2, ~ e3@2 e3@2 b2@3, ~ a3@3, ~ e2",
  L: "~ f#3 ~ c#3, f#2, ~ c#3@5 ~@2, ~ f#3", M: "~@3 b2, b2@3 ~, ~ f#3@4 f#3@3, ~ b3@3",
  N: "~ f#3, b2, ~ f#3@3 ~@4, ~ b3@3", O: "~@3 c#4, c3, ~ g#3@4 g#3@3, ~ c4@3, ~ c#3",
  P: "~@3 g#3, f#2@5 d#3@3, ~ c#3@7, ~ f#3@3, ~ g#2", Q: "~@3 b3, a2@5 f#3@3, ~ e3@7, ~ a3@3, ~ b2",
  R: "~ e3 ~@4 b3@2, a2, ~ [e3,a3]@3, ~ b2, ~@5 f#3@3", // A5
})).s("gm_piano").gain(0.3)

stack(piano)