Strudelify

Aria variata in A minor BWV 989

Johann Sebastian Bach

KeyA majorTempo76 bpm
0:00/0:00
// Aria variata in A minor BWV 989 — Johann Sebastian Bach
// 76 bpm, 4/4, key A major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: sustain pedal (CC 64) lengthens the held notes
// note: Transcription provider: pdmx. https://musescore.com/score/2374611; license: https://creativecommons.org/publicdomain/mark/1.0/
// note: Full arrangement: all 24 bars on a 32-step grid, each part at one level. Source detail keeps the original performance.
setcpm(76/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.

// chords · piano · "Harpsichord"
const piano = note("<A B C@2 A B C@2 D E F@2 G H I@2 D E F@2 G H I@2>".pickRestart({
  A: "a4 g4 a4@2 [b3,g#4]@4 g#4 a4 g#4 a4 [d4,b4]@4 g#4 a4 g#4@6 f#4@4 [d3,e4]@4, [a3,e4]@8 [a2,e4]@8 e3@11 ~@5, c4 ~ c4 ~ [b3,e4]@2 [g#3,b3]@2", // E G Dsus2 A5 E5 G#m
  B: "[c3,a3,e4,a4]@8 a4@4 b4@4 d5 c5@3 b4@2 a4@2 a3@4 b3@4, ~ [g#2,e3,d4] [a2,e3,a3,c4] [c4,e4,a4]", // Am E7 Am
  C: "[f#5 e5 f#5@6 ~@4 b3@2 a3@2 f#5 e5 [d#5,e5] d#5 [a3,b4]@4 d#5@2 e5@2 [b3,g4]@4 f#4 g4 ~@6 f#3@4 g#3@2 ~@3 d#4 ~@2 g#3 [g#3,a3] f#3@2 [e2,g#3,b3]@8, a4@15 ~@9 g3@4 ~@6 f#4@9 ~@3 a3@6 ~@12, c4@11 ~@5 b3@12 ~@4 b3@8 [b2,d#4]@8 e3@8 ~@8, d#4@8 [e4,a5]@8 f#4@8 e4@15 ~@5 e4@4 e4@2 e4@13 ~]/2", // Emaj7 Asus2 Em Amaj7 E B A5
  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