Strudelify

the rains of castamere

The National

KeyF majorTempo85 bpm
0:00/0:00
// the rains of castamere — The National
// 85 bpm, 4/4, key F major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: metre changes (1/4 at bar 1, 4/4 at bar 1) are rendered on a constant 4/4 grid of one bar per cycle
// note: Transcription provider: pdmx. https://musescore.com/score/2791806; license: https://creativecommons.org/publicdomain/zero/1.0/
// note: Full arrangement: all 49 bars on a 16-step grid, each part at one level. Source detail keeps the original performance.
setcpm(85/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 · violin
const violin = note(`<
  ~ A@3 B C@2 D B A@3 B E F G H I J I K L M N O P@3 Q R S T U P@2 V W X@2 Y Z AA AB AC B AD AE AF AG
>`.pickRestart({
  A: "d4/3", B: "c4", C: "f4/2", D: "d4", E: "f4 c4 e4 c4", F: "f4 c4 e4 f4", G: "g4", H: "a4", I: "~@3 a3 d4 ~@3",
  J: "~@3 c4 e4 ~@3", K: "~@3 c4 g4 ~@3", L: "~@3 a3 d4 ~ f4@2", M: "f4 e4 bb3 e4", N: "d4 e4", O: "f4@3 ~",
  P: "d4 f4 a4 f4 d4 f4 a4 f4", Q: "e4 g4 c5 g4 e4 g4 c5 g4", R: "c4 f4 a4 bb4 g4 e4 c4 e4",
  S: "a4 f4 bb4 f4 g4 c4 g4 a4", T: "d4!8", U: "c4!8", V: "d4@2 d4 f4 a4 d5 f5 a5", W: "c6 g5 e5 c5 g4 e4 c4 g3",
  X: "f4 c4 f4 c4 e4 c4 e4 c4", Y: "g4 e4 c4 a4", Z: "a4@3 a3", AA: "f4@3 a3 e4@3 a3", AB: "f4@2 g4@2 e4@3 a3",
  AC: "g4 f4 e4 d4", AD: "f5@3 g5", AE: "a5 g5 d5 g5", AF: "f5 g5", AG: "a5 ~",
})).s("gm_violin").gain(0.3)

// other · violin
const violin_2 = note(`<
  ~ A@3 B C@2 D E F@2 G H I@2 J K G J G J L M N O A@3 B C@2 D E F@2 G H I@2 J K G H G J L P Q R
>`.pickRestart({
  A: "a3/3", B: "g3", C: "c4/2", D: "bb3", E: "a3", F: "f4/2", G: "f4", H: "g4", I: "c4", J: "e4", K: "f4@3 ~",
  L: "f4@3 d4", M: "d4 c4 g3 c4", N: "a4 g4", O: "a4 ~", P: "f4 e4 bb3 e4", Q: "a4!2", R: "d5 ~",
})).s("gm_violin").gain(0.3)

stack(violin, violin_2)