Strudelify

Conflict

Mike Oldfield

KeyE minorTempo125 bpm
0:00/0:00
// Conflict — Mike Oldfield
// 125 bpm, 3/4, key E minor. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: metre changes (3/4 at bar 1, 2/4 at bar 41, 4/4 at bar 52, 3/4 at bar 73, ...) are rendered on a constant 3/4 grid of one bar per cycle
// note: Full arrangement: all 112 bars on a 24-step grid, each part at one level. Source detail keeps the original performance.
setcpm(125/3)

// 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 · lead 2 sawtooth
const lead_2_sawtooth = note(`<
  ~@2 A B C D E F B G H@3 I H@3 I ~@4 J K L M N@3 O H@3 I J K L M J K L M ~@9 P Q R S T U V W X Y Z AA@2 AB@2 AC@2 AD@2
  AE@2 AF@4 AG@4 AH@8 AI@6 AJ@8 AK AL@4 AM@4 AN
>`.pickRestart({
  A: "~ [a2,a3,e4]@14 ~ [d3,d4,a4]@6 ~@2", B: "[d3,d4,a4]@7 ~ [g3,g4,d5]@3 ~", C: "[g3,g4,d5]@7 ~ [c4,c5,g5]@3 ~",
  D: "[c4,c5,g5]@7 ~ [f2,f5]@3 ~", E: "[e2,e3,b3]@7 ~ [a2,a3,e4]@3 ~", F: "[a2,a3,e4]@7 ~ [d3,d4,a4]@3 ~",
  G: "[g3,g4,d5]@7 ~ [c4,c5]@3 ~", H: "[[e4,g4,b4]@67 ~@5]/3", I: "[d4,f#4,b4]@13 ~@3 [e4,g4,b4]@4 ~@4",
  J: "[e3,a3,c4]@4 [g3,b3,d4] ~", K: "[g3,b3,d4]@4 [c4,e4,g4] ~", L: "[c4,e4,g4]@4 [f4,a4,c5] ~",
  M: "[f4,a4,c5]@4 [a#4,d5,f5] ~", N: "[[e5,g5,b5]@67 ~@5]/3", O: "[d5,f#5,b5]@13 ~@3 [e5,g5,b5]@4 ~@4",
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// Em Bm
  AH: "[~@8 [e5,g5,b5]@3 ~@5 c3@23 ~ d3@24 b3@24 e3@23 ~ c3@23 ~ d3@24 b2@32]/8", // Em
  AI: "[~@16 c3@23 ~ d3@24 f#3@24 e3@23 ~ c3@23 ~ d3@8]/6", AJ: "[~@16 [e2,b2]@46 ~@2 [e2,b2,e3]@127 ~]/8",
  AK: "[e2,b2,e3]@3 ~ [f#2,c#3,f#3]@3 ~ [g2,d3,g3]@3 ~", // E5 F#5 G5
  AL: "[[a2,e3,a3]@6 ~@2 [e5,g5,b5]@67 ~@5 [d5,f#5,b5]@13 ~@3]/4", // A5 Em Bm
  AM: "[[e5,g5,b5]@4 ~@4 [e5,g5,b5]@67 ~@5 [d5,f#5,b5]@13 ~@3]/4", AN: "[e5,g5,b5] ~@5",
})).s("gm_lead_2_sawtooth").gain(0.31).pan(0.6)

// other · overdriven guitar · "Mike"
const overdriven_guitar = note(`<
  ~@10 A B C D A B C D E F G H E F G H A B C D A B C D E F G H E F G H ~@9 I J K L M N O P Q R S T U V W X Y Z AA AB AC
  AD ~@23 AE AF AG AH AI AJ ~ AK AL AM AN AO AL AM AN AP
>`.pickRestart({
  A: "b4@3 d5@2 e5@3 d5@3 b4@2 a4@3 g4@5 g4@3", B: "g4@3 a4@2 b4@3 a4@3 g4@2 e4@3 d4@5 b3@3",
  C: "d4@3 e4@2 g4@3 e4@3 d4@2 b3@3 a3@5 g3@3", D: "a3@3 b3@2 d4@3 b3@3 a3@2 g3@3 e3@7 ~",
  E: "g3@2 ~ a3@2 c4@3 c4@3 d4@2 f4@3 g4@4 ~@4", F: "c4@3 d4@2 f4@3 f4@3 g4@2 a#4@3 c5@4 ~@4",
  G: "f4@3 g4@2 a#4@3 a#4@3 c5@2 d#5@3 f5@4 ~@4", H: "a#4@3 c5@2 d#5@3 d#5@3 f5@2 g#5@3 a#5@4 ~@4",
  I: "~@9 e4@5 f#4@3 g4@2 f#4@3 e4@2", J: "~ f#4@2 g4@3 a4@2 ~ b4@4 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e4@2 d4@3 a4@3 c5@2 a4@3 g4@3 e4@2 d4@3", AG: "e4@3 g4@2 a4@3 g4@2 ~ e4@2 d4@2 ~ e4@3 d4@2 c4@3",
  AH: "d4@3 c4@2 a3@3 e4@2 ~ d4@2 e4@3 g4@3 e4@2 d4@3", AI: "a4@3 c5@2 a4@3 g4@3 e4@2 d4@3 e4@3 d4@2 c4 ~@2",
  AJ: "d4@3 c4@2 a3@3 d4 ~@2 e4@5 e4@8", AK: "~@8 b4@3 d5@2 e5@3 d5@3 b4@2 a4@3",
  AL: "g4@5 g4@3 g4@3 a4@2 b4@3 a4@3 g4@2 e4@3", AM: "d4@5 b3@3 d4@3 e4@2 g4@3 e4@3 d4@2 b3@3",
  AN: "a3@5 g3@3 a3@3 b3@2 d4@3 b3@3 a3@2 g3@3", AO: "e3@7 ~ b4@3 d5@2 e5@3 d5@3 b4@2 a4@3", AP: "e3@7 ~@17",
})).s("gm_overdriven_guitar").gain(0.36).pan(0.7)

// bass · electric bass finger · "Oldfield"
const bass = note(`<
  ~@10 A B C D A B C D E F G H E F G H A B C D A B C D E F G H E F G H ~@9 I J K L M N O P Q J R S T U V W X Y Z AA AB
  AC AD AE AF AG AD AE AF AH@8 AI@8 AJ AK AL AM AN AO ~ AP AQ AR AS AT AQ AR AS AU
>`.pickRestart({
  A: "e2@6 ~@2 e2@3 ~@2 e2 ~@2 e2@6 ~@2", B: "e2@7 ~ e2@4 ~ e2 ~@2 e2@6 ~@2", C: "e2@6 ~@2 e2@3 ~@2 e2 ~@2 e2@4 ~@4",
  D: "a2@3 b2@2 d3@2 ~ b2@3 a2@2 g2@3 e2@7 ~", E: "g1 c2 g2", F: "c2 f2 c3", G: "f2 a#2 f3", H: "a#2 d#3 a#3",
  I: "~@8 e2@15 ~", J: "d2@7 ~ e2@7 ~ g2@7 ~", K: "a2@7 ~ e2@12 ~@4", L: "e2@15 ~ d2@8", M: "e2@7 ~ g2@6 ~@2 a2@7 ~",
  N: "e2@11 ~@5 e2@8", O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3 e5@2 g5@3",
  N: "e5@3 d5@2 b4@3 a4@3 ~@2 g4@3 a4@3 b4@2 d5@3", O: "b4@3 a4@2 g4@3 e4@3 ~@5 b5@3 d6@2 e6@3",
  P: "b4@3 a4@2 g4@3 e4@3 ~@13",
})).s("gm_piccolo").gain(0.36)

// other · trumpet · "Rene."
const trumpet = note("<~@80 A@8 B@6 C@3 ~@15>".pickRestart({
  A: "[~@16 e4@23 ~ f#4@3 g4@2 a4@17 ~@2 d4@23 ~ b3@21 ~@3 e4@22 ~@2 d4@11 ~@2 e4@2 ~ d4@7 ~ b3@24 ~@8]/8",
  B: "[~@11 b3@2 d4@3 e4@23 ~ f#4@3 g4@2 a4@18 ~ d4@23 ~ e4@21 ~@3 e4@23 ~ d4@8]/6",
  C: "[~@4 e4@2 ~ f#4@9 e4@40 ~@16]/3",
})).s("gm_trumpet").gain(0.41).pan(0.6)

// chords · piano
const piano = note("<~@80 A B C D E B C D E B C D E B C D F ~@15>".pickRestart({
  A: "~@19 g5@5, ~@16 c5@5 ~@3, ~@17 e5@5 ~@2",
  B: "~@3 c6@5 ~@3 e6@5 ~@3 a5@5, e5@5 ~@4 c6@5 ~@3 f#5@5 ~@2, ~ g5@5 ~@2 g5@5 ~@3 d5@5 ~@3",
  C: "~@3 d6@5 ~@3 f#6@5 ~@3 f#5@5, f#5@5 ~@4 d6@5 ~@3 d5@5 ~@2, ~ a5@5 ~@2 a5@5 ~@3 b4@5 ~@3",
  D: "~@3 b5@5 ~@3 d6@5 ~@3 b5@5, d5@5 ~@4 b5@5 ~@3 g5@5 ~@2, ~ f#5@5 ~@2 f#5@5 ~@3 e5@5 ~@3",
  E: "~@3 d6@5 ~@3 g6@5 ~@3 g5@5, g5@5 ~@4 e6@5 ~@3 e5@5 ~@2, ~ b5@5 ~@2 b5@5 ~@3 c5@5 ~@3",
  F: "~@3 d6@5 ~@3 g6@5 ~@8, g5@5 ~@4 e6@5 ~@10, ~ b5@5 ~@2 b5@5 ~@11",
})).s("gm_piano").gain(0.41)

// other · timpani
const timpani = note("<~@10 A B C D A B C D ~@8 A B C D A B C D ~@69 E F G H E F G I ~>".pickRestart({
  A: "g2 ~@2 [a2,b2] ~ b2 ~ b2 ~@3 b2 ~ b2 ~@2 b2 ~@4 b2 ~@2", // Asus2
  B: "g2 ~@2 b2 ~ b2 a2 ~ b2 ~@2 b2 ~ b2 ~@2 b2@2 ~@3 b2 ~@2", C: "g2 ~@2 b2 ~ b2 ~@2 b2 ~@2 b2 ~ b2 ~@2 b2 ~@4 b2 ~@2",
  D: "g2 ~@2 b2 ~ b2 ~@2 b2 ~ b2 ~@2 b2 ~ e2 ~@8", E: "~@8 g2 ~@2 [a2,b2] ~ b2 ~ b2 ~@3 b2 ~ b2 ~@2",
  F: "b2 ~@4 b2 ~@2 g2 ~@2 b2 ~ b2 a2 ~ b2 ~@2 b2 ~ b2 ~@2", G: "b2@2 ~@3 b2 ~@2 g2 ~@2 b2 ~ b2 ~@2 b2 ~@2 b2 ~ b2 ~@2",
  H: "b2 ~@4 b2 ~@2 g2 ~@2 b2 ~ b2 ~@2 b2 ~ b2 ~@2 b2 ~ e2",
  I: "b2 ~@4 b2 ~@2 g2 ~@2 b2 ~ b2 ~@2 b2 ~ b2 ~@2 b2 ~ [e2,b2]", // E5
})).s("gm_timpani").gain(0.46)

// chords · piano
const piano_2 = note(`<
  A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C
  D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C E
>`.pickRestart({
  A: "[a3,b3] ~ a3 b3 ~ [a3,b3] ~@2 [a3,b3] ~ a3 b3 ~ [a3,b3] ~@2 [f#3,a3] ~ a3 ~@2 a3 ~@2, f3 ~@3 f3 ~@3 f3 ~@3", // Asus2 F#m
  B: "[a3,b3] ~@2 [a3,b3] ~ b3 a3 ~ [a3,b3] ~@2 [a3,b3] ~ b3 a3 ~ [f#3,a3] ~@2 a3 ~ a3 ~@2, f3 ~@3 f3 ~@3 f3 ~@3", // Asus2 F#m
  C: "[a3,b3] ~@2 [a3,b3] ~ b3 a3 ~ [a3,b3] ~@2 [a3,b3] ~ [a3,b3] ~@2 [f#3,a3] ~@2 a3 ~ a3 ~@2, f3 ~@3 f3 ~@3 f3 ~@3", // Asus2 F#m
  D: "[f3,a3,b3] ~@2 [a3,b3] ~ [a3,b3] ~@2 [f3,a3,b3] ~@2 [a3,b3] ~ [a3,b3] ~@2 [f3,f#3,a3] ~@2 a3 ~ a3 ~@2", // Bm7b5 Asus2 Bm7b5 Asus2 F
  E: "[f3,a3,b3] ~@2 [a3,b3] ~ [a3,b3] ~@18", // Bm7b5 Asus2
})).s("gm_piano").gain(0.15).pan(0.4)

// drums · low tom
const low_tom = s("lt").struct("<[x!3]!111 x>").gain(0.26)

// drums · hihat
const hihat = s("hh").struct("<[~@2 x]!111 ~>").gain(0.26)

// drums · mid tom
const mid_tom = s("mt").struct(`<
  A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C
  D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C D A B C E
>`.pickRestart({
  A: "x ~ x!2 ~ x ~@2 x ~ x!2 ~ x ~@2 x ~ x ~@2 x ~@2", B: "x ~@2 x ~ x!2 ~ x ~@2 x ~ x!2 ~ x ~@2 x ~ x ~@2",
  C: "x ~@2 x ~ x!2 ~ x ~@2 x ~ x ~@2 x ~@2 x ~ x ~@2", D: "x ~@2 x ~ x ~@2 x ~@2 x ~ x ~@2 x ~@2 x ~ x ~@2",
  E: "x ~@2 x ~ x ~@18",
})).gain(0.26)

stack(lead_2_sawtooth, overdriven_guitar, bass, piccolo, trumpet, piano, timpani, piano_2, low_tom, hihat, mid_tom)

More by Mike Oldfield