Strudelify

the british grenadiers

Supporting violin created

KeyD majorTempo180 bpm
0:00/0:00
// the british grenadiers — Supporting violin created
// 180 bpm, 2/2, key D major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Transcription provider: pdmx. https://musescore.com/score/1315946; license: https://creativecommons.org/publicdomain/mark/1.0/
// note: Full arrangement: all 59 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(180/4)

// Notation: c3@3 lasts 3 steps · ~ is a rest.
// A part's distinct bars are riffs (A, B, C...) played in order: edit a riff to change every repeat.

// other · violin · "Violin, Violin"
const violin = note(`<
  ~@3 A B C D E B C D F G H I J B C D K ~@4 L M N ~ O M P Q R S T A U V W ~@3 A B C D E B C D F G H I J B C D K
>`.pickRestart({
  A: "~@3 a3", B: "d4 a3 d4 e4", C: "f#4@4 e4@2 f#4 g4", D: "a4@2 d4@2 f#4 e4 d4 c#4", E: "d4@3 a3", F: "d4@6 f#4 g4",
  G: "a4@3 b4 a4@2 g4@2", H: "f#4@3 g4 a4@2 a4@2", I: "b4@2 b4@2 a4 g4 f#4 e4", J: "d4@4 c#4@2 a3!2", K: "d4",
  L: "~@4 a4@2 a4 b4", M: "a4@3 a4", N: "a4@2 f#4@2 a4 g4 ~@2", O: "f#4@2 ~@2 a4@2 a4 b4", P: "a4@2 d5@4 d5 c#5",
  Q: "d5@6 c#5 d5", R: "d5@3 c5", S: "b4@2 b4@2 a4 b4 c#5 d5", T: "d5 a4 e5@2", U: "a4@2 f#4@2 f#4 e4 f#4 g4",
  V: "f#4 g4 a4 b4 a4@2 d5 c#5", W: "d5 a4 d5 ~",
})).s("gm_violin").gain(0.4)

// other · violin · "Violin, Violin" · soft notes
const violin_soft = note("<~@22 A B C ~ D E F ~@30>".pickRestart({
  A: "~@3 a3", B: "d4 a3 d4 e4", C: "f#4 d4 ~@2", D: "~@6 f#4 e4", E: "d4@3 a3", F: "~ d4 ~@2",
})).s("gm_violin").gain(0.25)

stack(violin, violin_soft)