Strudelify

dona nobis pacem

Traditional

KeyD majorTempo120 bpm
0:00/0:00
// dona nobis pacem — Traditional
// 120 bpm, 3/4, key D major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Transcription provider: pdmx. https://musescore.com/score/2425506; license: https://creativecommons.org/publicdomain/zero/1.0/
// note: Full arrangement: all 24 bars on a 16-step grid, each part at one level. Source detail keeps the original performance.
setcpm(120/3)

// 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
const violin = note("<A@2 B C D E F G@2 H I J K L M G N O P Q R S T G>".pickRestart({
  A: "a4", B: "a4@5 g4@5 ~ f#4@5", C: "f#4@5 e4@11", D: "b4@5 b4@11", E: "a4@5 a4@11", F: "a4@3 g4@2 f#4@5 ~ e4@5",
  G: "d4", H: "c#4", I: "d4@8 e4@3 f#4@2 g4@3", J: "a4@5 a3@11", K: "g4@5 g4@11", L: "f#4@5 f#4@11",
  M: "c#4@3 e4@2 a4@5 ~ a3@5", N: "d4@3 a3@2 f#4@11", O: "e4@3 a3@2 g4@11", P: "f#4@5 e4@5 ~ d4@5", Q: "d4@5 c#4@11",
  R: "b4@5 a4@3 g4@3 f#4@2 e4@3", S: "a4@8 g4@3 f#4@5", T: "f#4@3 e4@2 d4@5 ~ c#4@5",
})).s("gm_violin").gain(0.3)

// other · cello · "Violoncello"
const cello = note("<A B C D E F G A H I J K L M N A O P Q R S T U A>".pickRestart({
  A: "d3", B: "c#3", C: "d3@8 e3@3 f#3@2 g3@3", D: "a3@5 a2@11", E: "g3@5 g3@11", F: "f#3@5 f#3@11",
  G: "c#3@3 e3@2 a3@5 ~ a2@5", H: "d3@3 a2@2 f#3@11", I: "e3@3 a2@2 g3@11", J: "f#3@5 e3@5 ~ d3@5", K: "d3@5 c#3@11",
  L: "b3@5 a3@3 g3@3 f#3@2 e3@3", M: "a3@8 g3@3 f#3@5", N: "f#3@3 e3@2 d3@5 ~ c#3@5", O: "f#3", P: "e3",
  Q: "a3@5 g3@5 ~ f#3@5", R: "f#3@5 e3@11", S: "b3@5 b3@11", T: "a3@5 a3@11", U: "a3@3 g3@2 f#3@5 ~ e3@5",
})).s("gm_cello").gain(0.3)

stack(violin, cello)

More by Traditional