Strudelify

Jesu! Rex admirabilis

attr. G.Pierluigi da Palestrina

KeyA minorTempo120 bpm
0:00/0:00
// Jesu! Rex admirabilis — attr. G.Pierluigi da Palestrina
// 120 bpm, 4/4, key A minor. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: metre changes (6/4 at bar 1, 4/4 at bar 3, 6/4 at bar 7, 4/4 at bar 10, ...) are rendered on a constant 4/4 grid of one bar per cycle
// note: Transcription provider: pdmx. https://musescore.com/score/1717796; license: https://creativecommons.org/publicdomain/zero/1.0/
// note: Full arrangement: all 27 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.
// A part's distinct bars are riffs (A, B, C...) played in order: edit a riff to change every repeat.

// other · flute · "Kazoo"
const flute = 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>".pickRestart({
  A: "~ d5", B: "c5 b4 a4 g4", C: "f4@3 f4 f4@2 f4@2", D: "c5 f4 g4!2", E: "a4@3 a4 a4@4", F: "~ a4", G: "e4!2",
  H: "a4@2 a4@2 c5@3 c4", I: "c4 c5!2 b4", J: "a4@3 a4 a4@2 g4@2", K: "f4!3 e4", L: "d4 c4", M: "d4 e4 f4 g4 a4@3 a4",
  N: "d4 ~", O: "d5@2 c5 b4", P: "a4@2 g4@2 f4@3 f4", Q: "f4!2 c5 f4", R: "g4@2 g4@2 a4@3 a4", S: "a4 ~", T: "a4 e4",
  U: "e4@2 a4!2", V: "c5@3 c4 c4@2 c5@2", W: "c5@2 b4@2 a4@3 a4", X: "a4 g4 f4!2", Y: "f4 e4 d4@2",
  Z: "c4@4 d4 e4 f4 g4", AA: "a4@3 a4 d4@4",
})).s("gm_flute").gain(0.3)

stack(flute)