Strudelify

So oft ich meine Tobackspfeife BWV 515(a)

Johann Sebastian Bach BWV 515 Anna Magdalena Bach

KeyF majorTempo120 bpm
0:00/0:00
// So oft ich meine Tobackspfeife BWV 515(a) — Johann Sebastian Bach BWV 515 Anna Magdalena Bach
// 120 bpm, 3/4, key F major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Transcription provider: pdmx. https://musescore.com/score/1378681; license: https://creativecommons.org/publicdomain/mark/1.0/
// note: Full arrangement: all 72 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 · piano
const piano = note(`<
  A B C D E F G H A B C D E F G H I J K L M N O P I J K L M N O P A B C D E F G H I J K L M N O P A B C D E F G H I J K
  L M N O P I J K L M N O P
>`.pickRestart({
  A: "d3@5 d4@5 ~ c4@5", B: "bb3@5 e3@5 ~ f3@5", C: "g3@5 a3@5 ~ a2@5", D: "d3@5 a2@5 ~ f2@5", E: "d2@5 d3@5 ~ bb2@5",
  F: "f3@5 c3@5 ~ d3@5", G: "bb2@5 c3@5 ~ c2@5", H: "f2@15 ~", I: "c4@5 e3@5 ~ g3@5", J: "b3@5 g3@5 ~ c4@5",
  K: "f3@10 ~ g3@5", L: "a3@5 g3@3 f3@3 e3@2 d3@3", M: "db3@3 b2@2 a2@3 b2@3 db3@2 d3@3", N: "e3@5 d3@5 ~ db3@5",
  O: "d3@5 f3@5 ~ a3@5", P: "d3@5 a2@5 ~ d2@5",
})).s("gm_piano").gain(0.5)

stack(piano)