Strudelify

To The Stars

user229811681

KeyD majorTempo66 bpm
0:00/0:00
// To The Stars — user229811681
// 66 bpm, 4/4, key D major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: metre changes (4/4 at bar 1, 2/4 at bar 35, 4/4 at bar 35) are rendered on a constant 4/4 grid of one bar per cycle
// note: Transcription provider: pdmx. https://musescore.com/score/5972060; license: https://creativecommons.org/publicdomain/zero/1.0/
// note: Full arrangement: all 37 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(66/4)

// 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.

// other · tuba · "Euphonium"
const tuba = note("<A B C D E F G H ~@8 I J K ~@5 L M N O P Q ~@7>".pickRestart({
  A: "d4", B: "d3", C: "g3", D: "d3 a3", E: "~ d4@3", F: "~ a3 d4 a3 d4@2 d4@2", G: "d4 b3!2 d4 d4@2 d4 f#4",
  H: "~ d3 g3 b3 d4@4", I: "~ d3 a3@2 a3@2 a3 d3", J: "~ d4 c#4 d4", K: "~ d4 c#4@2", L: "b2 b3@2 b3@2 b3@2 a3",
  M: "b2 g3@2 g3 g3@4", N: "b3 c#4", O: "~ f#3 a3 f#3 a4 g4 f#4 d4", P: "d4 e4 f#4 e4", Q: "d4 e4 c#4@2",
})).s("gm_tuba").gain(0.3)

// other · tuba · "Euphonium" · soft notes
const tuba_soft = note("<~@8 A@2 B C D@2 E F ~@3 G H@2 ~@8 I J I K@4>".pickRestart({
  A: "d3/2", B: "b3@3 b3@5", C: "g3@3 g3 a3@4", D: "b3/2", E: "b3", F: "a2", G: "~ c#4", H: "e4/2", I: "a4", J: "g4",
  K: "[g4@12 ~ a3@15 ~@4]/4",
})).s("gm_tuba").gain(0.2)

// other · tuba · "Euphonium"
const tuba_2 = note("<~@3 A B C D E ~@7 F G H I ~@2 J K L M N O P Q R ~@7>".pickRestart({
  A: "b2 a2", B: "~ a3@7", C: "e3@7 e3", D: "d3 b2!2 d3 d3@2 d3 f#3", E: "g3 a3", F: "~@3 b3", G: "d3",
  H: "d3@4 f#3 f#2@3", I: "g2@3 g3 g3@4", J: "~@3 c#4", K: "~@2 d4!2", L: "e4 ~ e4 f#4", M: "g4 ~ g4 d4",
  N: "a4@2 a4@2 a4 g4 f#4 d4", O: "d4@2 d4 f#3 f#4@4", P: "d4 ~", Q: "a3@2 a3@2 a3@2 a3 f#3", R: "a3 ~ a3@2",
})).s("gm_tuba").gain(0.25)

// other · tuba · "Euphonium" · soft notes
const tuba_soft_2 = note("<A@2 B ~@5 A@2 C@2 D@2 E ~@4 F ~ G ~@8 H@7>".pickRestart({
  A: "a3/2", B: "d3", C: "[g3@3 c#4]/2", D: "e3/2", E: "g3", F: "~ a3", G: "~@2 d4 ~", H: "[d4@36 ~ d3@15 ~@4]/7",
})).s("gm_tuba").gain(0.15)

// bass · tuba · "Euphonium"
const bass = note("<~@2 A B C D E B ~@8 F@2 G H I J K L M N O ~@10>".pickRestart({
  A: "g2", B: "g2 a2", C: "d3", D: "b2@7 a2", E: "f#2", F: "a3/2", G: "g3", H: "a2", I: "d3 d2@2 d3 d2@3 d3",
  J: "d2@3 d3 d2@2 d3!2", K: "a2 g3@2 g3 g3@3 g3", L: "a2 a3@2 a3@2 a3@2 g3", M: "b2 b2@2 b2@2 b2@2 a2",
  N: "g2 g2@2 g2@5", O: "b2 c#3",
})).s("gm_tuba").gain(0.4)

// bass · tuba · "Euphonium" · soft notes
const bass_soft = note("<A@2 ~@6 A@4 B@2 C D ~@11 E F G ~ H I J@4>".pickRestart({
  A: "d3/2", B: "b2/2", C: "~@3 b2", D: "~@3 c#3", E: "d3 ~", F: "f#2 g2", G: "a2", H: "g3", I: "b3@3 a3",
  J: "[g3@12 ~ d2@15 ~@4]/4",
})).s("gm_tuba").gain(0.2)

stack(tuba, tuba_soft, tuba_2, tuba_soft_2, bass, bass_soft)