Strudelify
With Or Without You cover art

1987 · The Joshua Tree

With Or Without You

U2

KeyD majorTempo109 bpm
0:00/0:00
// With Or Without You — U2
// 109 bpm, 4/4, key D major. Source: mcgill + midi.
// Generated by strudelify. One cycle = one bar.
// note: pitch bends are ignored
// note: sustain pedal (CC 64) lengthens the held notes
// note: Full arrangement: all 128 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(109/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 · pad new age · "FANTASIA"
const pad_new_age = note(`<
  ~@26 A@2 B@3 C D ~@2 E F@8 G@2 H@2 I J@8 K@6 L@5 M N O P@8 Q@5 B@3 R B@3 S T@8 U@2 ~@11 V N W X@8 ~@4
>`.pickRestart({
  A: "[a4 b4@3]/2", B: "a4/3", C: "d4 e4@3", D: "d4@13 ~@3", E: "~ b5",
  F: "[~@56 g5@8 f#5@31 ~ f#5@24 e5@8, a5@7 ~@9, ~@2 d5@13 ~]/8", G: "[d5@3 c#5]/2", H: "b4/2", I: "a4",
  J: "[~@4 b4@11 g4@8 f#4@8 g4@8 f#4@8 g4@8 f#4@8 g4]/8", K: "[~@7 f#4@8 g4@8 f#4@8 g4@8 f#4@8 g4]/6",
  L: "[~@6 d5@4 e5@2 f#5@2 f#4@16 ~@32 g4@17 ~, ~@7 d5@13 c#5@4 b4@16, ~@15 g4@8 f#4@8 ~@9]/5", M: "a4, f#4@3 ~",
  N: "d5", O: "f#5@6 ~@2 d5@7 ~", P: "[e5@7 ~ d5@4 a4@50 g4@16 f#4@15 ~ g4@16 f#4@15 ~ g4@2]/8",
  Q: "[~@14 f#4@16 g4@16 f#4@16 g4@8 f#4@9 ~]/5", R: "g4", S: "f#4@8 g4@7 ~",
  T: "[f#4@7 g4@8 f#4@8 g4@8 f#4@8 g4@8 f#4@8 g4@9]/8", U: "[d4@15 ~]/2", V: "~ g5", W: "e4",
  X: "[~@14 g4@15 ~ f#4@15 ~ g4@15 ~ f#4@15 ~ g4@15 ~ f#4@16 g4@16 ~@2, d4 ~@7]/8",
})).s("gm_pad_new_age").gain(0.27).pan(0.4)

// bass · fretless bass · "FRETLESS"
const bass = note(`<
  ~@4 A B C D E B F D G B C D E B F D G B C D E B F D H I F J E B F D G B C D E B F D G B C D E B F D G B C D E B F D K
  L C M E B F D K L C M E B F D K L C M E B F D K L C M E B F D K L C M E B F N O@4 P@2 Q@2 R S@3 T L C M E B F D K L C
  U V@3 ~
>`.pickRestart({
  A: "d2 ~ d2 ~ d2 ~ d2 ~ d2 ~ d2 ~ d2 ~ d2@2", B: "a1 ~ a1 ~ a1 ~ a1 ~ a1 ~ a1 ~ a1 ~ a1@2",
  C: "b1 ~ b1 ~ b1 ~ b1 ~ b1 ~ b1 ~ b1 ~ b1@2", D: "g1 ~ g1 ~ g1 ~ g1 ~ g1 ~ g1 ~ g1 ~ g1 [a1,b1]",
  E: "[c2,d2] ~ d2 ~ d2 ~ d2 ~ d2 ~ d2 ~ d2@2 d2@2", F: "b1 ~ b1 ~ b1 ~ b1 ~ b1 ~ b1@2 b1@2 b1@2",
  G: "[c2,d2] ~ d2 ~ d2 ~ d2 ~ d2 ~ d2 ~ d2 ~ d2@2", H: "[c2,d2] ~ d2 ~ d2 ~ d2 ~ d2@2 d2 ~ d2@2 d2@2",
  I: "a1@2 a1 ~ a1 ~ a1@2 a1 ~ a1@2 a1 ~ a1@2", J: "g1 ~ g1 ~ g1@2 g1@2 g1 ~ g1@2 g1 ~ g1 [a1,b1]",
  K: "[c2,d2] ~ d2 ~ d2@2 d2 ~ d2@2 d2 ~ d2 ~ d2@2", L: "a1 ~ a1 ~ a1 ~ a1 ~ a1 ~ a1@2 a1 ~ a1@2",
  M: "g1 ~ g1 ~ g1@2 g1 ~ g1 ~ g1@2 g1 ~ g1 [a1,b1]", N: "g1 ~ g1 ~ g1 ~ g1 ~ g1 ~ g1 ~ g1 ~ g1@2",
  O: "[d2@2 d1@61 ~]/4", P: "[d2@2 d1@8 d1@8 d1@7 ~ d1@6]/2", Q: "[d2 d1@15]/2", R: "d2 d1@3 d2 d1@3",
  S: "[d2 d1@3 d2 d1@19]/3", T: "d2 ~ d2 ~ d2@2 d2 ~ d2@2 d2 ~ d2 ~ d2@2", U: "g1 ~ g1 ~ g1@2 g1 ~ g1 ~ g1@2 g1 ~ g1@2",
  V: "d1/3",
})).s("gm_fretless_bass").gain(0.49)

// chords · electric guitar jazz · "JAZZ GTR"
const electric_guitar_jazz = note(`<
  ~@51 A B C D E F G H G F I F I F J K G L ~@3 M@2 N A O E P E D E D E Q R S T@4 U F E V@2 D E F J W@2 ~@13 X Y E Z G AA
  I AB I AC@2 ~@2
>`.pickRestart({
  A: "~@2 g4@2 d5@2 g4 d5 d5@2 g4 d5 d5@2 f#4@2", B: "d3@6 d3 ~ d3@6 g3 ~, f#4@7 ~",
  C: "d3 ~ g4@2 d5@2 g4 d5 d5@2 g4 d5 d5@2 f#4@2, g3", D: "d3@6 d3 ~ d3@6 g3@2, f#4",
  E: "~@2 g4@2 d5@2 g4 d5 d5@2 g4 d5 d5@2 f#4@2, g3", F: "d3@5 ~ d3 ~ d3@6 g3@2, f#4",
  G: "~@2 g4@2 d5@2 g4 d5 d5@2 g4 d5 d5@2 f#4@2, g3@15 ~", H: "d3@6 d3 ~ d3@6 g3 ~, f#4@15 ~",
  I: "~@2 g4@2 d5@2 g4 d5 d5@2 g4 d5 d5@2 f#4 ~, g3@15 ~", J: "~@2 g4@2 d5@2 g4 d5 d5@2 g4 d5 d5@2 f#4 ~, g3",
  K: "d3@6 d3 ~ d3@6 g3 ~, f#4", L: "f#4@3 ~", M: "~@2 [g4,a4,d5]@2 g4 ~ [g4,a4,e5]@10",
  N: "~@2 [g4,a4,d5]@2 g4 ~ [g4,a4,e5]@8 ~@2", O: "d3@3 d3 d3@3 g3, f#4", P: "d3@6 d3 ~ d3@6 g3@2, f#4@13 ~@3",
  Q: "d3@3 d3 d3@2 d3@2, f#4@3 ~", R: "~@3 e4@3 d4@2, g3", S: "d3@6 d3 ~ d3@4 d3@4",
  T: "[~@6 e4@6 ~@4 d3@5 ~ d3@2 d3@4 d3@4 ~@6 e4@6 ~@4 d3@6 d3 ~ d3@4 d3@4, g3 ~ g3 ~, ~@12 d4@21 ~@11 d4@18 ~@2]/4",
  U: "~@2 g4@2 d5@2 g4 d5 d5@2 g4 d5 d5@2 f#4 ~, g3@7 ~",
  V: "[d3@6 d3 ~ d3@6 g3@2 ~@2 g4@2 d5@2 g4 d5 d5@2 g4 d5 d5@2 f#4 ~, f#4@9 ~@7, ~ g3]/2",
  W: "[d3@27 ~@5, d4@5 ~@11]/2", X: "~@4 e4@3 a4", Y: "~@6 d3 ~ d3@6 g3 ~, f#4@3 ~",
  Z: "d3@5 ~ d3 ~ d3@6 g3@2, f#4@7 ~", AA: "d3@5 ~ d3 ~ d3@6 g3 ~, f#4@7 ~", AB: "d3@5 ~ d3 ~ d3@6 g3 ~, f#4@15 ~",
  AC: "[f#4@9 ~@7, d3 ~]/2",
})).s("gm_electric_guitar_jazz").gain(0.44).pan(0.3)

// other · dulcimer · "SANTUR"
const dulcimer = note(`<
  [d5 a4 f#4 d4 d5 a4 f#4 d4 d5 a4 f#4 d4 d5 a4 f#4 d4]!126
  [d5 a4 f#4 d4 d5 a4 f#4 d4 d5 a4 ~@6]
  ~
>`).s("gm_dulcimer").gain(0.15).pan(0.6)

// chords · synth strings 1 · "SYN STR 1"
const synth_strings_1 = note(`<
  ~@7 A B@8 ~@7 C D@5 E@2 ~ F@4 G@4 H@8 I@5 J@8 K@7 L@4 M@8 N@4 O@3 P O@3 Q R@8 S@3 ~@13 T U@4 V@6 ~
>`.pickRestart({
  A: "~ g7", B: "a7/8", C: "~ g6", D: "[f#6@17 ~ f#6@2]/5", E: "[e6@24 d6@7 ~]/2", F: "[f#6,c#7]/4",
  G: "[e6@32 d6@31 ~, a5@63 ~]/4", H: "[[a5,d6,a6]@53 ~@3 [g5,b5,e6]@7 [f#5,a5,d6]@64 ~]/8",
  I: "[a4@24 b4@22 [g4,a4,d5]@15 ~ f#4@16 g4@2, [d5,e5]@23 ~@8 [a4,d5]@9]/5", // Gsus2 Dsus2 D5
  J: "[~@7 f#4@8 g4@8 f#4@8 g4@8 f#4@8 g4@8 f#4@8 g4, ~@14 [a4,d5]@31 ~ [a4,d5]@31 ~ [a4,d5]@31 ~ [a4,d5]@18]/8", // D5
  K: "[~@14 f#4@16 g4@15 ~ f#4@16 g4@16 f#4@16 g4@16 ~@2, ~@14 [a4,d5]@31 ~ [a4,d5]@31 ~ [a4,d5]@32 ~@2]/7", // D5
  L: "[[d5,a5,d6]@63 ~]/4", // D5
  M: "[[d5,a5,d6]@46 g4@15 ~ f#4@15 ~ [g4,a4,d5]@16 [f#4,a4,d5]@15 ~ [g4,a4,d5]@15 ~ [f#4,a4,d5]@2, ~@46 [a4,d5]@31 ~@51]/8", // D5 Gsus2 D Gsus2 D D5
  N: "[~@14 [g4,a4,d5]@15 ~ [f#4,a4,d5]@16 [g4,a4,d5]@8 [f#4,a4,d5]@8 ~@2]/4", O: "[[d4,a4,d5]@47 ~]/3",
  P: "[d4,g4,d5]@15 ~", Q: "f#4 g4, [d4,d5]",
  R: "[[d4,a4,d5]@13 ~ [d4,g4,d5]@15 ~ [d4,a4,d5]@15 ~ [d4,g4,d5]@15 ~ [d4,a4,d5]@15 ~ [d4,g4,d5]@15 ~ [d4,a4,d5]@15 ~ [d4,g4,d5]@18]/8", // D5 G5 D5 G5 D5 G5 D5 G5
  S: "[d4,f#4]/3", T: "[d4,a4]@7 g4, d5", U: "[~@7 a4@8 g4@8 a4@8 g4, ~@14 [d4,d5]@31 ~ [d4,d5]@18]/4",
  V: "[~@14 a4@16 g4@16 [d4,a4,d5]@41 ~@9, ~@7 [d4,d5]@16 ~@25]/6", // D5 D
})).s("gm_synth_strings_1").gain(0.22).pan(0.8)

// other · whistle
const whistle = note("<~@4 A@4 B@8 ~@2 C@2 D@4 E@6 F G H@5 I@5 J@2 K@2 L@2 M@2 ~@55 N O@4 P Q@3 R@2 ~@12>".pickRestart({
  A: "[f#6@7 g6]/4", B: "a6/8", C: "[~ b6@2 a6]/2", D: "[g6@3 f#6@53 g6@8]/4", E: "[f#6@41 ~@7]/6", F: "~@3 f#6",
  G: "g6", H: "[f#6@7 b6@3]/5", I: "d6/5", J: "[f#6@3 e6]/2", K: "[d6@3 c#6]/2", L: "b5/2", M: "[a5@5 ~@3]/2",
  N: "~@7 b6", O: "[b6@6 a6 ~ a6@54 b6@2]/4", P: "b6@7 a6", Q: "[a6@5 g6]/3", R: "[f#6@23 ~@9]/2",
})).s("gm_whistle").gain(0.22).pan(0.2)

// chords · string ensemble 2 · "SLOWSTRING"
const string_ensemble_2 = note("<~@31 A@5 B@8 C@4 D@2 ~@10 E@2 ~@2 F@3 ~@9 G@8 ~@44>".pickRestart({
  A: "[d7@3 c#7@2, [a6,f#7]]/5", B: "[e7@3 d7 [f#6,d7]@4, a6, e6 ~]/8", C: "[[f#6,d7,f#7]@61 ~@3]/4",
  D: "[[a5,d6,e6,a6]@15 ~]/2", E: "[d5,a5,d6,e6]/2", F: "[~ [a5,d6,a6,d7]@32 ~@15]/3",
  G: "[[a5,d6]@61 ~ [a5,d6]@63 ~@3]/8", // D5
})).s("gm_string_ensemble_2").gain(0.08).pan(0.7)

// chords · electric guitar jazz · "JAZZ GTR"
const electric_guitar_jazz_2 = note("<~@112 A@2 B@2 C D E F C D E G ~@4>".pickRestart({
  A: "[~@2 [d5,f#5]@4 [d5,f#5]@3 ~ [d5,f#5]@3 ~ [d5,e5]@4 [d5,e5]@3 ~ [d5,e5]@3 ~ [d5,e5]@3 ~ [d5,f#5]@2]/2", // D Dsus2 D
  B: "[~@2 [d5,f#5]@3 ~ [d5,f#5]@3 ~ [d5,f#5]@3 ~ [d5,g5]@4 [d5,g5]@3 ~ [d5,g5]@4 [d5,g5]@3 ~ [d5,f#5]@2]/2", // D G5 D
  C: "~@2 [d5,f#5]@3 ~ [d5,f#5]@3 ~ [d5,f#5]@3 ~ [d5,e5]@2", D: "~@2 [d5,e5]@3 ~ [d5,e5]@3 ~ [d5,e5]@3 ~ [d5,f#5]@2",
  E: "~@2 [d5,f#5]@3 ~ [d5,f#5]@3 ~ [d5,f#5]@3 ~ [d5,g5]@2", F: "~@2 [d5,g5]@3 ~ [d5,g5]@3 ~ [d5,g5]@3 ~ [d5,f#5]@2",
  G: "~@2 [d5,g5]@3 ~ [d5,g5]@3 ~ [d5,g5]@5 ~", // G5
})).s("gm_electric_guitar_jazz").gain(0.38).pan(0.9)

// drums · kick
const kick = s("bd").struct("<A@31 B C@16 B@8 C B@3 C@8 B@4 C B@3 C@8 D A@14 B C@24 E ~@3>".pickRestart({
  A: "x!2 ~ x!3 ~ x", B: "x!2 ~ x!3 ~@2", C: "x!2 ~@2 x!2 ~@2", D: "x!2 ~@2 x!2 ~ x", E: "x",
})).gain(0.49)

// drums · snare
const snare = s("sd").struct(`<
  ~@48
  [~ x ~ x]!35
  [~@4 x ~@6 x!2 ~ x!2]
  [~ x ~ x]!15
  [~@4 x ~@7 x ~ x!2]
  [~ x ~ x]!24
  ~@4
>`).gain(0.49)

// drums · clap
const clap = s("cp").struct("<[~ x ~ x]!48 ~@80>").gain(0.44)

// drums · low tom
const low_tom = s("lt").struct(`<
  ~@47 A B@36 C D C E C D C F C D C E C D G H ~@3 I ~ I ~ I ~ I ~ I ~ I ~ I ~ I ~ I ~ I ~ I ~@4
>`.pickRestart({
  A: "~@4 x!2 ~@2", B: "x!2 ~ x!3 ~@2", C: "~@8 x!3 ~@5", D: "x!3 ~@5 x!3 ~@5", E: "x!3 ~@5 x!5 ~@3",
  F: "x!5 ~@2 x!6 ~@3", G: "~ x!4 ~@2 x!6 ~@2 x", H: "~ x ~ x ~ x!3 ~ x ~ x ~@4", I: "~@7 x!2 ~ x ~@5",
})).gain(0.38)

// drums · hihat
const hihat = s("hh").struct(`<
  ~@48 A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A C D@3 E D@3 E D@3 E D@3 E ~@4 F ~@7 F ~ F
  ~@3 F ~ F ~ F ~ F ~@3
>`.pickRestart({
  A: "x!4 ~ x!3", B: "~ x!3 ~ x!2 ~", C: "~ x!3 ~ x ~@2", D: "x!8", E: "x!7 ~", F: "x",
})).gain(0.49)

// drums · mid tom
const mid_tom = s("mt").struct(`<
  ~@49 A ~ A ~ A ~ A@3 ~ A ~ A ~ A ~@3 A ~ A ~ A@3 ~ A ~ A ~ A ~@3 A B C B C B C B D B C B C B C E F ~@3 A ~ A ~ A ~ A ~
  A ~ A ~ A ~ A ~ A ~ A ~ A ~@4
>`.pickRestart({
  A: "~@9 x ~@6", B: "~@7 x ~@7 x", C: "~@7 x ~@8", D: "~@3 x ~@4", E: "x ~@2 x ~@3 x", F: "~@2 x ~@2 x!2 ~",
})).gain(0.44)

// drums · open hat
const open_hat = s("oh").struct(`<
  ~@47 A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~@3 A ~@3 A ~@3 A ~@3 A ~@3 A ~@7 A ~ A
  ~ A ~ A ~ A ~ A ~ B ~@4
>`.pickRestart({
  A: "~@7 x", B: "~ x",
})).gain(0.49)

// drums · crash
const crash = s("cr").struct("<~@100 x ~@27>").gain(0.38)

// drums · tambourine
const tambourine = s("tb").struct("<~@2 A@74 B C@6 D E F G H I J K J I J L J@6 ~@7 A@8 M J@7 ~@4>".pickRestart({
  A: "~ x ~ x", B: "x ~ x ~ x!4", C: "x!8", D: "x ~ x!6", E: "x ~@2 x!3 ~ x!3 ~ x!5", F: "x ~ x!14",
  G: "x!2 ~ x!3 ~ x!7 ~ x", H: "x!2 ~ x!13", I: "x!10 ~ x!5", J: "x!16", K: "x!6 ~ x!7 ~ x", L: "x!14 ~ x",
  M: "x!2 ~ x!7 ~ x!5",
})).gain(0.33)

// drums · tambourine · soft notes
const tambourine_soft = s("tb").struct("<~@76 A ~@6 B C D E B F ~ G ~ F ~ H ~@6 I@3 ~@12 J ~@11>".pickRestart({
  A: "~ x ~ x ~@4", B: "~ x ~@6", C: "~ x!2 ~@3 x ~@3 x ~@5", D: "~ x ~@14", E: "~ x ~ x ~@3 x", F: "~@5 x ~@2",
  G: "~@3 x ~@3 x", H: "~@7 x", I: "x!16", J: "~ x ~@3 x ~@2",
})).gain(0.11)

// drums · bongos
const bongos = s("bongo:18").struct(`<
  ~@31 A B C@3 D C B E F@7 G E@36 C E@15 H I J@2 K L M N J M K@2 O K N P Q N@7 ~@4
>`.pickRestart({
  A: "~@5 x!3", B: "~ x!3 ~@2 x!2", C: "~@2 x!2 ~@2 x!2", D: "~@2 x!2 ~ x!3", E: "~ x!3 ~ x!3", F: "~@2 x ~@3 x!2",
  G: "~@2 x ~@2 x!3", H: "~ x", I: "x!2 ~@2 x ~@3", J: "x ~@3 x!2 ~@2", K: "x!2 ~@2 x!2 ~@2", L: "x!2 ~ x!2 ~@3",
  M: "x!2 ~@2 x!2 ~ x", N: "x!2 ~ x!3 ~ x", O: "~ x ~@2 x!2 ~ x", P: "x!2 ~ x!3 ~@2", Q: "~ x ~ x!3 ~ x",
})).gain(1.01)

// drums · bongos · soft notes
const bongos_soft = s("bongo:18").struct(`<
  ~@32 A B@3 C B A ~@4 A@2 ~@39 B ~@15 D@2 E@2 F G H ~ E H F@2 I F ~ J ~@12
>`.pickRestart({
  A: "~@5 x ~@2", B: "~ x ~@3 x ~@2", C: "~ x ~@6", D: "~@3 x ~ x ~ x", E: "~ x ~ x ~@3 x", F: "~@3 x ~@3 x",
  G: "~@5 x ~ x", H: "~@3 x ~@4", I: "x ~@2 x ~@4", J: "~@7 x",
})).gain(0.58)

// drums · cabasa
const cabasa = s("cabasa:4").struct("<~@116 [~ x ~ x ~ x ~ x]!8 ~@4>").gain(1.94)

stack(
// … 4 more lines

More by U2