Strudelify

Prelude and Fugue in E minor BWV 855

Johann Sebastian Bach

KeyE♭ majorTempo100 bpm
0:00/0:00
// Prelude and Fugue in E minor BWV 855 — Johann Sebastian Bach
// 100 bpm, 3/4, key Eb major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Transcription provider: pdmx. https://musescore.com/score/4839423; license: https://creativecommons.org/publicdomain/mark/1.0/
// note: Full arrangement: all 43 bars on a 24-step grid, each part at one level. Source detail keeps the original performance.
setcpm(100/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@2 B@4 C D E F G H I J K L M@2 N O P Q K R S O M T U V O M F W F@2 X Y F@3 Z@2>".pickRestart({
  A: "c3@2 ~@2 g3 eb3", B: "c3@2 ~@2 ab3 f3", C: "c3@2 ~@2 eb3 c3", D: "bb2@2 ~@2 eb3 c3", E: "ab2@2 ~@2 eb3 c3",
  F: "g2@2 ~@2 eb3 c3", G: "gb2@2 ~@2 eb3 c3", H: "gb2@2 ~@2 gb3 d3", I: "g2@2 ~@2 d3 bb2", J: "g2@2 ~@2 bb2 g2",
  K: "eb2@2 ~@2 g3 eb3", L: "c3@2 ~@2 c3 a2", M: "d2@2 ~@2 d3 a2", N: "d2@2 ~@2 d3 bb2", O: "d2@2 ~@2 eb3 c3",
  P: "d2@2 ~@2 g3 d3", Q: "d2@2 ~@2 a3 gb3", R: "d2@2 ~@2 gb3 d3", S: "d2@2 ~@2 e3 db3", T: "d2@2 ~@2 db3 bb2",
  U: "d2@2 ~@2 c3 a2", V: "d2@2 ~@2 bb2 g2", W: "g2@2 ~@2 d3 b2", X: "g2@2 ~@2 g3 d3", Y: "g2@2 ~@2 ab3 f3",
  Z: "g2 ~@2",
})).s("gm_piano").gain(0.3)

stack(piano)

More by Johann Sebastian Bach