Strudelify

Star-Spangled Banner

John Stafford Smith

KeyD majorTempo120 bpm
0:00/0:00
// Star-Spangled Banner — John Stafford Smith
// 120 bpm, 3/4, key D major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: duplicate parts dropped: ch 4 "Viola" viola (copy of ch 1 "Violin" violin)
// note: Transcription provider: pdmx. https://musescore.com/score/1930516; license: https://creativecommons.org/publicdomain/mark/1.0/
// note: Full arrangement: all 33 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 · viola
const viola = note("<A B C D E F G H I B C D E F G H J K L M N F G D O P Q R S T U V W>".pickRestart({
  A: "~@11 a3@4 f#3", B: "d3@5 f#3@5 ~ a3@5", C: "d4@11 f#4@4 e4", D: "d4@5 f#3@5 ~ g#3@5", E: "a3@11 a3@2 a3@3",
  F: "f#4@8 e4@3 d4@5", G: "c#4@11 b3@2 c#4@3", H: "d4@5 d4@5 ~ a3@5", I: "f#3@5 d3@5 ~ a3@4 f#3",
  J: "f#3@5 d3@5 ~ f#3@4 f#3", K: "f#3@5 g3@5 ~ a3@5", L: "a3@11 g3@2 f#3@3", M: "e3@5 f#3@5 ~ g3@5", N: "g3@11 g4@5",
  O: "a3@11 a3@5", P: "d4@5 d4@5 ~ d4@2 c#4@3", Q: "b3@5 b3@5 ~ b3@5", R: "e4@5 g4@3 f#4@3 e4@2 d4@3",
  S: "d4@5 c#4@5 ~ a3@2 a3@3", T: "d4@8 e4@3 f#4@2 g4@3", U: "a4@11 d4@2 e4@3", V: "f#4@8 g4@3 e4@5", W: "d4",
})).s("gm_viola").gain(0.3)

stack(viola)

More by John Stafford Smith