Strudelify

Cliffs of Dover

Eric Johnson

KeyG majorTempo255 bpm
0:00/0:00
// Cliffs of Dover — Eric Johnson
// 255 bpm, 12/8, key G major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: pitch bends are ignored
// note: duplicate parts dropped: ch 3 "doubled guitar" distortion guitar (copy of ch 2 "lead guitar" overdriven guitar)
// note: Full arrangement: all 170 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(255/6)

// Notation: c3@3 lasts 3 steps · ~ is a rest · [c3,e3] is a chord · [...]/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.

// bass · electric bass finger · "bass guitar"
const bass = note(`<
  ~@4 A@2 ~@2 B@2 C D B@2 C D B@2 C D B@2 C E F G H I J K L M N O P Q N R S T U@4 V@2 W X B@2 C D B@2 C D B@2 C D B@2 C
  E F G H I J K L M N O P Q N R S T U@4 V@2 U@16 Y@2 Z@2 AA@2 AB@2 F G H I J K L AC F G H I J K L AD F G H I J K L AD F
  G H I J AE AF AG F G H I J K L M N O P Q N R S T U@4 V@2 AH ~@5
>`.pickRestart({
  A: "[~@4 g2@19 ~@9]/2", B: "g2@2 ~ g2 g2@2 ~ g2 g2@2 ~ g2 g2@2 ~ g2", C: "c3@2 ~ c3 c3@2 ~ c3 c3@2 ~ c3 c3@2 ~ c3",
  D: "d3@2 ~ d3 d3@2 ~ d3 d3@2 ~ d3 d3@2 ~ d3", E: "d3@2 ~ d3 d3@2 ~ d3 d3@8", F: "a2@3 ~ a2@4 a2@3 ~ a2@4",
  G: "d3@3 ~ d3@3 ~ d3@3 ~ d3@3 ~", H: "g2@3 ~ g2@3 ~ g2@3 ~ f#2@3 ~", I: "e2@2 ~@2 e2@3 ~ e2@3 ~ e2@3 ~",
  J: "a2@2 ~@2 a2@3 ~ a2@3 ~ a2@3 ~", K: "d3@3 ~ d3@3 ~ d3@2 ~@2 d3@2 ~@2", L: "g2@3 ~ a2@3 ~ b2@2 ~@2 g2@3 ~",
  M: "e2@3 ~ f#2@4 g2@3 ~ g#2@3 ~", N: "a2@3 ~ a2@3 ~ a2@3 ~ a2@3 ~", O: "d3@3 ~ d3@3 ~ d3@3 ~ d3@2 ~@2",
  P: "g2@2 ~@2 g2@3 ~ g2@3 ~ f#2@3 ~", Q: "e2@2 ~@2 e2@3 ~ e2@2 ~@2 e2@3 ~", R: "d3@2 ~@2 d3@3 ~ d3@3 ~ d3@2 ~@2",
  S: "g2@3 ~ g2@3 ~ g2@2 ~@2 g2@3 ~", T: "e2@3 ~ d3@4", U: "g2/2", V: "g3/2", W: "g2 ~@15", X: "~ e2 f2 f#2", Y: "e2/2",
  Z: "e3/2", AA: "[e2@7 c3@8 c3@8 c3@9]/2", AB: "d3", AC: "e2@3 ~ f#2@4 g2@3 ~ [e2,g#2]@3 e2",
  AD: "e2@3 ~ f#2@4 g2@3 ~ g#2@3 e2", AE: "d#3@3 ~ d#3@3 ~ d#3@2 ~@2 d#3@2 ~@2", AF: "e2!2", AG: "d3!2", AH: "g2 ~@7",
})).s("gm_electric_bass_finger").gain(0.45).pan(0.8)

// bass · electric bass finger · "doubled bass"
const bass_2 = note(`<
  ~@4 A@2 ~@2 B@2 C D B@2 C D B@2 C D B@2 C E F G H I J K L M N O P Q N R S T U@4 V@2 W X B@2 C D B@2 C D B@2 C D B@2 C
  E F G H I J K L M N O P Q N R S T U@4 V@2 U@16 Y@2 Z@2 AA@2 AB@2 F G H I J K L AC F G H I J K L AD F G H I J K L AD F
  G H I J AE AF AG F G H I J K L M N O P Q N R S T U@4 V@2 AH ~@5
>`.pickRestart({
  A: "[~@4 g1@19 ~@9]/2", B: "g1@2 ~ g1 g1@2 ~ g1 g1@2 ~ g1 g1@2 ~ g1", C: "c2@2 ~ c2 c2@2 ~ c2 c2@2 ~ c2 c2@2 ~ c2",
  D: "d2@2 ~ d2 d2@2 ~ d2 d2@2 ~ d2 d2@2 ~ d2", E: "d2@2 ~ d2 d2@2 ~ d2 d2@8", F: "a1@3 ~ a1@4 a1@3 ~ a1@4",
  G: "d2@3 ~ d2@3 ~ d2@3 ~ d2@3 ~", H: "g1@3 ~ g1@3 ~ g1@3 ~ f#1@3 ~", I: "e1@2 ~@2 e1@3 ~ e1@3 ~ e1@3 ~",
  J: "a1@2 ~@2 a1@3 ~ a1@3 ~ a1@3 ~", K: "d2@3 ~ d2@3 ~ d2@2 ~@2 d2@2 ~@2", L: "g1@3 ~ a1@3 ~ b1@2 ~@2 g1@3 ~",
  M: "e1@3 ~ f#1@4 g1@3 ~ g#1@3 ~", N: "a1@3 ~ a1@3 ~ a1@3 ~ a1@3 ~", O: "d2@3 ~ d2@3 ~ d2@3 ~ d2@2 ~@2",
  P: "g1@2 ~@2 g1@3 ~ g1@3 ~ f#1@3 ~", Q: "e1@2 ~@2 e1@3 ~ e1@2 ~@2 e1@3 ~", R: "d2@2 ~@2 d2@3 ~ d2@3 ~ d2@2 ~@2",
  S: "g1@3 ~ g1@3 ~ g1@2 ~@2 g1@3 ~", T: "e1@3 ~ d2@4", U: "g1/2", V: "g2/2", W: "g1 ~@15", X: "~ e1 f1 f#1", Y: "e1/2",
  Z: "e2/2", AA: "[e1@7 c2@8 c2@8 c2@9]/2", AB: "d2", AC: "e1@3 ~ f#1@4 g1@3 ~ [e1,g#1]@3 e1",
  AD: "e1@3 ~ f#1@4 g1@3 ~ g#1@3 e1", AE: "d#2@3 ~ d#2@3 ~ d#2@2 ~@2 d#2@2 ~@2", AF: "e1!2", AG: "d2!2", AH: "g1 ~@7",
})).s("gm_electric_bass_finger").gain(0.45).pan(0.3)

// drums · rim
const rim = s("rim").struct("<~@24 A ~@15 A ~@7 A ~@15 A ~@15 A ~@25 B ~ A ~@33 A ~@15 A ~@11>".pickRestart({
  A: "x", B: "x ~@14 x",
})).gain(0.25)

// drums · kick
const kick = s("bd").struct(`<
  ~@4 A ~@3 B@31 C D ~ D ~ D ~ D ~ B@32 D ~ D ~ D ~ E@10 F E@9 G H D@2 B@47 C D ~ D ~ D ~ D ~@4 D
>`.pickRestart({
  A: "~ x ~@2", B: "x ~@2 x ~@3 x ~@3 x ~@4", C: "x!2", D: "x", E: "x ~@6 x!2 ~@7", F: "x ~@6 x ~@8",
  G: "x ~@6 x ~@7 x", H: "~@7 x ~@8",
})).gain(0.2)

// drums · snare
const snare = s("sd").struct("<~@6 A B C@32 ~@8 C@32 ~@6 D@20 E F G@2 C@48 ~@12>".pickRestart({
  A: "~@3 x!2 ~@2 x ~@3 x!2 ~@2 x", B: "~@3 x!2 ~@2 x ~@3 x ~@4", C: "~ x ~ x", D: "~ x", E: "~@3 x!2 ~@11",
  F: "~@2 x ~ x ~@6 x!2 ~@3", G: "~@3 x!2 ~@6 x!2 ~@3",
})).gain(0.45)

// drums · low tom
const low_tom = s("lt").struct("<~@7 [~@15 x] ~@72 [~ x ~ x]!6 ~@84>").gain(0.2)

// drums · hihat
const hihat = s("hh").struct("<~@8 A@16 ~@16 B@6 ~@2 A@16 ~@23 C ~@14 A@4 ~@52 B@6 ~@6>".pickRestart({
  A: "x!4", B: "~ x ~ x", C: "x!2 ~@2",
})).gain(0.35)

// drums · hihat · soft notes
const hihat_soft = s("hh").struct("<~@86 [x!4] [~@2 x!2] [x!4]!14 ~@68>").gain(0.2)

// drums · mid tom
const mid_tom = s("mt").struct("<~@7 [~@12 x!2 ~@2] ~@162>").gain(0.35)

// drums · high tom
const high_tom = s("ht").struct("<~@7 [~ x] ~@162>").gain(0.35)

// drums · crash
const crash = s("cr").struct(`<
  ~@4 A ~@3 B ~@30 C ~@2 B ~ B ~ B ~@33 B ~ B ~ B ~ B ~@3 B ~@3 B ~@3 B ~@3 B ~@3 D@2 ~ B@2 ~@15 B ~@30 C ~@2 B ~ B ~ B
  ~@4 B
>`.pickRestart({
  A: "~ x ~@2", B: "x", C: "x!2", D: "~@7 x ~@8",
})).gain(0.25)

// drums · ride
const ride = s("rd").struct(`<
  ~@24 A B C D A B E B C A B F C B G H ~@24 A B C D A B E B C A B F C B G H ~@30 A B C D A B E B C A B F C B G H C B C D
  A B E B C A B F C B G H C B C D A B E B C A B F C B G H ~@12
>`.pickRestart({
  A: "x!4", B: "x ~@3 x ~@3 x ~@3 x ~@2 x", C: "~ x!3", D: "x ~ x ~ x!3 ~", E: "~@4 x ~@2 x!2 ~@3 x ~@3",
  F: "~@4 x ~@3 x ~@3 x ~@2 x", G: "~@4 x ~@2 x ~@4 x ~@3", H: "x ~@3 x ~@2 x!2 ~@3 x ~@2 x",
})).gain(0.2)

stack(bass, bass_2, rim, kick, snare, low_tom, hihat, hihat_soft, mid_tom, high_tom, crash, ride)