Strudelify

how high the moon

Morgan Lewis

KeyG majorTempo120 bpm
0:00/0:00
// how high the moon — Morgan Lewis
// 120 bpm, 4/4, key G major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Tempo changes preserved in elapsed time; displayed bars use the dominant tempo.
// note: Transcription provider: pdmx. https://musescore.com/score/5366910; license: https://creativecommons.org/publicdomain/zero/1.0/
// note: Full arrangement: all 55 bars on a 16-step grid, each part at one level. Source detail keeps the original performance.
setcpm(120/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 · piano
const piano = note("<~ A B C@2 D E F G H I J K L M N ~ O@2 P@2 Q R S ~ T U V W X@2 ~@24>".pickRestart({
  A: "~@8 [d4,g4,b4]@3 [e4,a4,c5]@2 [g4,b4,d5]@3", B: "~@6 [d4,g4]@2 g4@3 a4@3 ~@2",
  C: "[~ [e3,g4] [g3,a4]@2 [g3,a#4]@2 [g3,g4,a#4] [e3,g4]@2 ~@4 [a#2,d#4,g4]@3]/2", D: "~@3 [e4,a4]@2 [e4,a#4]@2 g3",
  E: "[a3,e4,c5]@2 ~ [e4,a4]@2 ~@3", F: "~@2 [a2,d4,f4]@2 [a2,d4,g4] [a2,d4,f4] ~@2", G: "~ [d4,g#4]@2 ~",
  H: "~ [a#2,a#3,d#4]@3 [a#2,a#3,g4]@2 ~@2", I: "~ [c4,d#4,g4] ~@6", J: "~ [c#4,f#4,g4]@4 ~@3", K: "d3@11 ~@5",
  L: "~@2 [b3,f#4]@11 ~@3", M: "[g3,d4]@3 [g3,b3,d4] ~@4", N: "~@3 [g3,e4,a4]@2 ~ [g3,e4,a4] [g3,e4,b4]",
  O: "[~@4 [f#4,b4] [a4,c5]@2 [f#4,b4]@2 ~@7]/2", P: "[~@4 [f4,a#4,c5] [e4,g4,c5]@2 [d4,f4,a#4]@2 ~@7]/2",
  Q: "~@6 [e4,a4]@2 [e4,a#4]@3 [e4,c5]@2 [f4,a#4]@3", R: "[e4,c5]@3 ~ [f2,e3,c4,a4]@4",
  S: "~ [f4,g#4] [g3,g4,a#4]@2 [d#3,g#4,c5]@2 [d#4,f#4] [d4,a#4], ~@3 f#3", T: "~ [a#3,d4,g4] ~@2",
  U: "~ [d3,a3,c4,d#4] [d#3,a3,c4,d#4] ~", V: "~ [g2,b3,f#4]@2 ~", W: "[a2,a3,c4,a4]@3 [a2,a3,c4] ~ [a2,a3,c4]@3",
  X: "[[b3,d4,f#4,b4]@2 [b3,d4,f#4,b4]@2 [b3,d4,e4,g#4]@3 [g3,c4,e4,a4]@3 ~@6]/2", // Bm E7 Am7
})).s("gm_piano").gain(0.3)

// bass · acoustic bass
const bass = note("<A B C D E F G H I J K L M N O P Q R S T U V W X Y Z AA AB AC AD AE AF ~@23>".pickRestart({
  A: "~@3 d2", B: "g2 d2", C: "g1@2 d2 a#1", D: "g1@4 g1 g1@2 d2", E: "c2@3 a#1 c2@2 a#1@2", F: "f1@4 a1@3 f2",
  G: "f2@2 c2 e2", H: "f2@3 g2 g#2@2 a2@2", I: "a#2@3 f2 a#1@3 e2", J: "d#2@2 a#2 d#2", K: "d2@6 d#3 e3 f3@6 f3 ~",
  L: "e3@8 g2@6 a#2 c3", M: "d3 a#2 ~ g2 c2@6 c3@2 f#2@4", N: "b1@8 b1@7 d2", O: "e1@2 b1 e1", P: "a1@8 a1@3 e3@2 f3@3",
  Q: "f#3@2 ~ d2", R: "g2@6 a2 a#2 b2@3 c3@2 c#3@3", S: "d3@4 ~@2 g3 a3 b3@3 ~@5", T: "g2@8 d2@6 a#2 c3",
  U: "d3 a#2 ~ g2 c2@4 d3 a#2 ~ g2 c2@3 a#2", V: "f2@3 e2 d2@3 e2", W: "c2@3 c2 d2 c2 e2 c2", X: "f2@2 f2 c2",
  Y: "d2 g#1 a#1 g#1 c2 g#1 d2 g#1", Z: "d#2@6 f#2 g2 g#2@4 a#2@4", AA: "a2@6 b2 c3 d3@3 a2 d2@4",
  AB: "g2@3 d2 b1@2 b1@2", AC: "c2@3 g2 f#2 ~ d2@2", AD: "b1!2 a#1@2", AE: "a1 ~ d2@2", AF: "g2 ~@3",
})).s("gm_acoustic_bass").gain(0.3)

stack(piano, bass)