Strudelify

October

U2

KeyG majorTempo120 bpm
0:00/0:00
// October — U2
// 120 bpm, 4/4, key G major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Full arrangement: all 48 bars on a 16-step grid, each part at one level. Source detail keeps the original performance.
setcpm(120/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
const piano = note("<A@2 B@2 A C D@3 A@2 B@2 A C D@3 E@2 F@8 G@2 H@2 A@2 I J@6 K@7>".pickRestart({
  A: "[a2,a3]@3 ~ [a2,a3]@11 ~", B: "[g2,g3]@3 ~ [g2,g3]@11 ~", C: "[a2,a3]@5 ~ [a2,a3]@9 ~",
  D: "[[g2,g3]@3 ~ [g2,g3]@9 ~ [d3,d4]@33 ~]/3", E: "[g2,g3]@7 [g2,g3]",
  F: "[[g2,g3]@14 ~@18 [f2,f3]@31 ~ [f2,f3]@31 ~ [c2,c3]@3 ~ [c2,c3]@27 ~, ~@7 [g2,g3]@57]/8", // G F C G
  G: "[[c2,c3]@3 ~ [c2,c3]@27 ~]/2", H: "[[f2,f3]@3 ~ [f2,f3]@27 ~]/2", I: "c3@3 ~@3 d3@4 ~@2 d3@3 ~, ~@2 g3@3 g3@3",
  J: "[[g2,g3]@4 ~@12 [a2,a3]@3 ~ [a2,a3]@6 e2@2 ~@2 e2@2 [a2,a3]@5 ~ [a2,a3]@9 ~ [c2,c3]@3 ~@3 [d2,d3]@9 ~ [d2,d3]@31 ~, ~ g3@23, ~ g2@6 g2@6 g2@11]/6", // G A C D
  K: "[[g2,g3]@14 [g2,g3]@16 ~@32 [d2,d3]@16 [d2,d3]@16 d3@17 ~, ~@30 [g2,g3]@81 ~]/7", // G D G
})).s("gm_piano").gain(0.72)

// other · piano · "Unnamed-001"
const piano_2 = note("<~@31 A B C D E F G H I J K ~@6>".pickRestart({
  A: "~@12 c4@3 ~", B: "c5@2 b4@9 ~@3 c4!2", C: "c5@2 c5@2 d5@2 b4@5 ~@3 b4@2", D: "b4@2 a4@3 ~ a4@5 ~@5",
  E: "g4@2 g4@3 ~ a4@4 b4@3 ~ d4@2", F: "c5@5 ~ b4@5 ~@3 c4@2", G: "c5@2 d5@3 ~ b4@5 ~@3 d4@2",
  H: "b4@2 a4@3 ~ a4@5 ~@3 a4@2", I: "g4@2 g4@3 ~ a4@5 ~@5", J: "~@12 g5@3 ~", K: "g5@15 ~",
})).s("gm_piano").gain(0.72)

stack(piano, piano_2)

More by U2