Strudelify

Flute Sonata in B minor, BWV 1030: I. Andante

Bach Johann Sebastian

KeyD majorTempo130 bpm
0:00/0:00
// Flute Sonata in B minor, BWV 1030: I. Andante — Bach Johann Sebastian
// 130 bpm, 4/4, key D major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: pitch bends are ignored
// note: Full arrangement: all 39 bars on a 16-step grid, each part at one level. Source detail keeps the original performance.
setcpm(130/4)

// Notation: c3@3 lasts 3 steps · ~ is a rest · [c3,e3] is a chord · "a, b" plays two voices at once · [...]/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 · piano · "A.PIANO 1"
const piano = note("<~ A@2 B A C D A@2 B E F G H I J K L M N@2 O P Q R S T U V ~ W X Y ~ Z AA AB AC AD>".pickRestart({
  A: "g2 ~ g3@2 b3@2 g3 ~ g2 ~ g3@2 b3@2 g3 ~", B: "g2 ~ g3@2 c4@2 g3 ~ g2 ~ g3@2 c4@2 g3 ~",
  C: "d2 ~ d3@2 g3@2 d3 ~ d2 ~ d3@2 f#3@2 d3 ~", D: "g2 ~@7", E: "g2 ~ g3 ~ b3@2 g3 ~ g2 ~ g3@2 b3@2 g3 ~",
  F: "a3@3 ~ f#3@3 ~ g3@3 ~ c#3@3 ~", G: "~@2 d2 ~ d3@2 c3@2 b2@2 a2@2 b2@2 g2 ~", H: "a2@3 ~ f#2@3 ~ g2@3 ~ c#2@2 ~@2",
  I: "~ d2 e2 f#2 g2 a2 b2 c#3 d3 e3 f#3 g3 a3 f#3 e3 d3", J: "a3@3 ~ c#3@3 ~ d3@3 ~ e3@2 ~@2",
  K: "f#3@3 ~ c#3@3 ~ d3@2 ~@2 b2@2 ~@2", L: "a2@2 ~@2 c#3@3 ~ d3@3 ~ e3@3 ~", M: "f#3@3 ~ c#3@3 ~ d3@3 ~ b2 ~@3",
  N: "[~@4 f#3@3 ~ g3@4 e3@3 ~ c#3@4 d3@4 b2@4 c#3@3 ~, a2@7 ~ a2@22 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