Strudelify

Home

Erasure

KeyD majorTempo115 bpm
0:00/0:00
// Home — Erasure
// 115 bpm, 4/4, key D major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Tempo changes preserved in elapsed time; displayed bars use the dominant tempo.
// note: pitch bends are ignored
// note: sustain pedal (CC 64) lengthens the held notes
// note: duplicate parts dropped: ch 11 "Whistle" whistle (copy of ch 9 "Whistle" whistle, 0.167 beats late)
// note: Full arrangement: all 122 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(115/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.

// chords · pad new age · "Pad 1 (new age)"
const pad_new_age = note(`<
  ~@3 A@8 B@2 C@2 B@2 C@2 D@4 E@4 ~@16 A@4 B@2 C@2 B@2 C@2 D@4 E@4 ~@24 D@4 E@4 ~@27
>`.pickRestart({
  A: "[~@2 b3 c#4 ~@6 g3@4 ~@4 a3@2 d4@2 e4@4 f#4@2 e4@2 d4@2, f#3@6 g2@9 ~ d3@16, ~@2 d4@3 ~@2 g4@2 ~@7]/2",
  B: "[~@2 b3 c#4 ~@6 g3@4 ~@4 a3@2 d4@2 e4@4 f#4@2 d4@2 a3@2, f#3@6 g2@9 ~ d3@16, ~@2 d4@3 ~@2 g4@2 ~@7]/2",
  C: "[~@2 e4 b3 ~@6 g3@4 ~@4 a3@2 d4@2 e4@4 f#4@2 e4@2 d4@2, g3@6 g2@9 ~ d3@16, ~@2 e3@3 ~@2 g4@2 ~@7]/2",
  D: "[~ a3 c#4 f#4@2 c#4@2 ~@2 g3 b3 g3@2 b3@2 ~@2 a3 d4 f#4@2 d4@2 ~@2 a3 b3 c#4@2 ~@2 e3, f#3@8 g2@8 d3@8 a2@7 ~, ~@7 a3@2 ~@6 g3@2 ~@6 a3@2 ~@4 d4@3]/4",
  E: "[~ a3 c#4 f#4@2 c#4@2 ~@2 g3 b3 g4@2 b3@2 ~@2 a3 d4 f#4@2 d4@2 ~@2 a3 b3 c#4@2 f#4 e4 d4, f#3 g2 d3 a2, ~@7 a3@2 ~@6 g3@2 ~@6 a3@2 ~@7]/4",
})).s("gm_pad_new_age").gain(0.4)

// other · synth strings 1 · "SynthStrings 1"
const synth_strings_1 = note(`<
  ~@18 A B C ~@2 D E F G ~@6 H I ~@19 A B C ~@2 D E F G J K L M N@2 M J O N O N O N O N ~@7 P B C ~@2 D E F G J K L M
  N@2 M J O N O N O N O N O N Q@4 ~@5
>`.pickRestart({
  A: "~@3 [d4,f#4]@4 g4", B: "a4, c#4@7 ~", C: "[d4,g4]@15 ~", D: "f#4@7 ~ c#5@7 ~", E: "b4@8 g4@7 ~",
  F: "a4@7 ~ f#4@7 ~", G: "e4", H: "a4 g4 f4 a4 g4 f4 a4 f4", I: "a4@7 ~",
  J: "d6 a5 f5 d5 a5 f5 d5 a4 f5 d5 a4 f4 d5 a4 f4 d4", K: "g6 d6 a#5 g5 d6 a#5 g5 d5 a#5 g5 d5 a#4 d5 a#4 g4 d4",
  L: "a#5 g5 d5 a#4 g5 d5 a#4 g4 d5 a#4 g4 d4 a#4 g4 d4 a#3", M: "a5 e5 c5 a4 e5 c5 a4 e4 c5 a4 e4 c4 a4 e4 c4 a3",
  N: "c6 g5 e5 c5 g5 e5 c5 g4 c5 g4 e4 c4 g4 e4 c4 g3", O: "a#5 f5 d5 a#4 f5 d5 a#4 f4 d5 a#4 f4 d4 a#4 f4 d4 a#3",
  P: "~ [d4,a4]", Q: "[g3,c4,c5,g5]/4",
})).s("gm_synth_strings_1").gain(0.43)

// chords · pad sweep · "Pad 8 (sweep)"
const pad_sweep = note("<A@8 ~@114>".pickRestart({
  A: "[~@7 e5@25 d5@32, ~@7 [a4,a5]@57]/8", // A
})).s("gm_pad_sweep").gain(0.29)

// other · kalimba · "Pad 8 (sweep)" · Gsus2
const kalimba = note("<~@43 [[g8,a8]!16] [g8 ~@15] ~@77>").s("gm_kalimba").gain(0.19)

// chords · celesta
const celesta = note("<~@6 A@3 ~@22 B@4 ~@32 B@4 ~@7 C@3 ~@18 D@3 ~@20>".pickRestart({
  A: "[~ a5@2, ~@7 a4@16 ~]/3", B: "[~@11 e5@16 ~@5, c5@7 g5@16 ~@9, ~ d5@8 ~@7, ~@3 e5@7 c5@16 ~@6, ~@3 a5@8 ~@5]/4",
  C: "[~ d6@2, ~@12 [d5,a5]@35 ~, ~@3 c6@8 ~]/3", // D5
  D: "[~@11 e5@13, c5@7 g5@16 ~, ~ d5@8 ~@3, ~@3 e5@7 c5@14, ~@3 a5@8 ~]/3",
})).s("gm_celesta").gain(0.57).pan(0.3)

// other · clarinet
const clarinet = note(`<
  ~@10 A@4 B@4 C D E@3 F G H@2 I@4 ~@2 J K L@8 ~@3 M@8 N D O P@2 Q@2 R@2 I@4 ~@2 J K L@4 S@4 ~@8 D O P@2 F T H@2 I@4 ~@2
  J K L@4 S@4 U@4 ~@7
>`.pickRestart({
  A: "[~@10 a4 ~ a4 ~ a4@6 f#4@2 e4@4 d4 ~ d4@10 ~@4 b3@2 d4@2 e4@12 f#4@2 e4 ~ e4@2]/4",
  B: "[d4@9 ~ a4 ~ a4 ~ a4@6 f#4@2 e4@4 d4@2 f#4@8 ~@6 b3@2 d4@2 e4@14 d4@2 b3@2]/4", C: "a3@11 ~@5",
  D: "~@4 f#4 ~ f#4@4 c#4 ~ c#4 ~ e4@2", E: "[d4@8 ~@4 d4 ~ d4@11 ~ e4@2 f#4@2 e4@12 ~@6]/3",
  F: "~@2 c#5@2 c#5 b4 c#5@2", G: "c#5 c#5@2 d5@4 ~", H: "[d5@4 a4@2 a4@4 a4@2 e5@17 ~@3]/2",
  I: "[~@4 f4@2 e4@4 f4@4 g4@6 f4@2 e4@4 c4@4 d4@10 ~@2 c4@2 d4 ~ a4@4 c5@2 a4@2 g4@4 f4@2 a4@4]/4",
  J: "[f4,a4] [e4,g4] [d4,f4] [e4,g4] [f4,a4] [e4,g4] [d4,f4] [e4,g4]", K: "[f4,a4]@13 ~@3",
  L: "[c5@3 a4@3 f4 c5@4 g4@2 e4@2 c5@10 ~@7]/4",
  M: "[~@10 a4 ~ a4 ~ a4@6 f#4@2 e4@4 d4 ~ d4@10 ~@4 b3@2 d4@2 e4@12 d4@3 ~ d4@8 ~@4 a4 ~ a4 ~ a4@6 f#4@2 e4@4 d4@4 f#4@8 ~@4 b3@2 d4@2 e4@12 f#4@2 e4@2 e4@2]/8",
  N: "~ d4@4 ~@3", O: "d4@4 ~@3 d4", P: "[d4@2 d4 e4@2 f#4 e4@6 ~@4]/2", Q: "[~ c#5!3 c#5@2 c#5 c#5@2 d5@4 ~@3]/2",
  R: "[d5@4 a4@2 a4@4 a4@4 e5@17 ~]/2", S: "[c5@3 a4@3 f4 c5@4 g4@2 e4@2 c5@4 a4@2 f4@2 c5@8 ~]/4",
  T: "c#5@2 c#5@4 d5@7 ~ d5@2", U: "[c5@3 a4@3 f4 c5@4 g4@2 e4@2 c5@16 ~]/4",
})).s("gm_clarinet").gain(0.57)

// other · whistle
const whistle = note(`<
  ~@27 A B C D E@2 D A F E F E F E F E G H ~@18 A B C D E@2 D A F E F E F E F E ~@2 I J ~@2 I J ~@8 A B C D E@2 D A F E
  F E F E F E F E ~@9
>`.pickRestart({
  A: "d7 a6 f6 d6 a6 f6 d6 a5 f6 d6 a5 f5 ~@4", B: "g7 d7 a#6 g6 d7 a#6 g6 d6 a#6 g6 d6 a#5 ~@4",
  C: "a#6 g6 d6 a#5 g6 d6 a#5 g5 d6 a#5 g5 d5 ~@4", D: "a6 e6 c6 a5 e6 c6 a5 e5 c6 a5 e5 c5 ~@4",
  E: "c7 g6 e6 c6 g6 e6 c6 g5 c6 g5 e5 c5 ~@4", F: "a#6 f6 d6 a#5 f6 d6 a#5 f5 d6 a#5 f5 d5 ~@4", G: "~@14 a6 a5",
  H: "a6 a5 a6 a5 a6 a5 a6 a5 a6 a5 a6 a5 a6 a5 a6 ~", I: "~@14 d7 d6",
  J: "d7 d6 d7 d6 d7 d6 d7 d6 d7 d6 d7 d6 d7 d6 d7 ~",
})).s("gm_whistle").gain(0.25).pan(0)

// other · whistle · soft notes
const whistle_soft = note(`<
  ~@27 A B C D E@2 D A F E F E F E F E G H ~@18 A B C D E@2 D A F E F E F E F E ~@2 I J ~@2 I J ~@8 A B C D E@2 D A F E
  F E F E F E F E ~@9
>`.pickRestart({
  A: "~@12 d6 a5 f5 d5", B: "~@12 d6 a#5 g5 d5", C: "~@12 a#5 g5 d5 a#4", D: "~@12 a5 e5 c5 a4", E: "~@12 g5 e5 c5 g4",
  F: "~@12 a#5 f5 d5 a#4", G: "~@12 a6 a5 ~@2", H: "~@15 a5", I: "~@12 d7 d6 ~@2", J: "~@15 d6",
})).s("gm_whistle").gain(0.13).pan(0)

// other · pad poly · "Pad 3 (polysynth)"
const pad_poly = note(`<
  ~@28 A ~ B ~ C ~ D ~ C ~ C ~ C ~ C ~@21 A ~ B ~ C ~ D ~ C ~ C ~ C ~ C ~@17 A ~ B ~ C ~ D ~ C ~ C ~ C ~ C ~ C ~ E@8
>`.pickRestart({
  A: "g1", B: "a1", C: "c2", D: "d2", E: "c2/8",
})).s("gm_pad_poly").gain(0.41)

// other · synth bass 1 · "Pad 3 (polysynth)"
const synth_bass_1 = note("<~@83 A@3 B ~@35>".pickRestart({
  A: "[~@11 d5@2 d6@2 ~@6 d6@3, ~@4 d5@12 d4@10 ~@4 d4@11 ~@7, ~@5 d6@6 ~@7 d5@6]/3", B: "~@3 d5@2 d6@2 d4, d4 ~",
})).s("gm_lead_8_bass_lead").gain(0.57).pan(0.3)

// bass · electric bass pick · "Electric Bass (pick)"
const bass = note(`<
  ~@39
  [a#1@2 a#1 ~ a#1@2 a#1 ~ a#1@2 a#1 ~ a#1@2 a#1 ~]
  [c2@2 c2 ~ c2@2 c2 ~ c2@2 c2 ~ c2@2 c2 ~]
  [a#1@2 a#1 ~ a#1@2 a#1 ~ a#1@2 a#1 ~ a#1@2 a#1 ~]
  [c2@2 c2 ~ c2@2 c2 ~ c2@2 c2 ~ c2@2 c2 ~]
  ~@79
>`).s("gm_electric_bass_pick").gain(0.45)

// bass · fretless bass · "Electric Bass (pick)"
const bass_2 = note(`<
  ~@47 A B A B A B A B C D B E C D B E B D@2 E F@2 E B G F G F G F G F B@8 C D B E C D B E B D@2 E F@2 E B G F G F G F G
  F G F H@2 ~@7
>`.pickRestart({
  A: "b1 ~ b1 ~ b1 ~ b1 ~ g1 ~ g1 ~ g1 ~ g1 ~", B: "d2 ~ d2 ~ d2 ~ d2 ~ d2 ~ d2 ~ d2 ~ d2 ~",
  C: "f#1 ~ f#1 ~ f#1 ~ f#1 ~ f#1 ~ f#1 ~ f#1 ~ f#1 ~", D: "g1 ~ g1 ~ g1 ~ g1 ~ g1 ~ g1 ~ g1 ~ g1 ~",
  E: "a1 ~ a1 ~ a1 ~ a1 ~ a1 ~ a1 ~ a1 ~ a1 ~", F: "c2 ~ c2 ~ c2 ~ c2 ~ c2 ~ c2 ~ c2 ~ c2 ~",
  G: "a#1 ~ a#1 ~ a#1 ~ a#1 ~ a#1 ~ a#1 ~ a#1 ~ a#1 ~", H: "c2/2",
})).s("gm_fretless_bass").gain(0.45)

// other · orchestral harp
const orchestral_harp = note("<~@35 A B A B A B A C ~@28 A B A B A B A B ~@24 A B A B A B A B A B ~@9>".pickRestart({
  A: "[g7,a#7] [f7,a7] [e7,g7] [d7,f7] [c7,e7] [a#6,d7] [a6,c7] [g6,a#6] [f6,a6] [e6,g6] [d6,f6] [c6,e6] [a#5,d6] [a5,c6] [g5,a#5] [f5,a5]", // Gm F Em Dm C A# Am Gm …
  B: "[e5,g5] [d5,f5] [c5,e5] [a#4,d5] [a4,c5] [g4,a#4] [f4,a4] [e4,g4] [d4,f4] [c4,e4] [a#3,d4] [a3,c4] [g3,a#3] [f3,a3] [e3,g3] [d3,f3]", // Em Dm C A# Am Gm F Em …
  C: "[e5,g5] [d5,f5] [c5,e5] [a#4,d5] [a4,c5] [g4,a#4] [f4,a4] [e4,g4] [d4,f4] [c4,e4] [a#3,d4] [a3,c4] [g3,a#3] [f3,a3] [e3,g3] f3", // Em Dm C A# Am Gm F Em …
})).s("gm_orchestral_harp").gain(0.19)

// other · clavinet
const clavinet = note(`<
  ~@43 A@21 B@2 A C@2 A@2 D C D C D C D C E@2 F@2 G@2 H@2 A@9 B@2 A C@2 A@2 D C D C D C D C D C ~@9
>`.pickRestart({
  A: "a4 ~@7 a4 ~ a4 ~@5", B: "g4 ~@7 g4 ~ g4 ~@5", C: "c5 ~@7 c5 ~ c5 ~@5", D: "a#4 ~@7 a#4 ~ a#4 ~@5",
  E: "[~@4 d3@7 ~ d3@7 ~ d3@5 ~@7]/2", F: "[~@4 d3@7 ~ d3@6 ~@2 d3@8 ~@4]/2",
  G: "[~@6 d3@3 ~@5 d3@2, d4@6 ~@3 d4@3 ~@4, ~ d3@2 ~@2 d3@2 ~, ~@6 d5@12 ~@6 d5@7 ~]/2",
  H: "[~@6 d3@3 d4@3 ~@2 d3@2, d4@3 ~@5, ~ d3@2 ~@5, ~@6 d5@12 ~@6 d5@7 ~]/2",
})).s("gm_clavinet").gain(0.27).pan(0.8)

// drums · kick
const kick = s("bd").struct("<~@43 [x!4]!3 [x ~ x ~ x ~ x!2] [x!4]!66 ~@9>").gain(0.5)

// drums · snare
const snare = s("sd").struct("<~@31 A B ~@14 C@21 D C@31 D C@12 ~@9>".pickRestart({
  A: "x ~@3 x!2 ~@2", B: "x ~@3 x ~ x!2", C: "~ x ~ x", D: "~@2 x ~@3 x!2",
})).gain(0.5)

// drums · low tom
const low_tom = s("lt").struct("<~@26 [~@11 x!2 ~ x ~] ~@35 [~@8 x ~@2 x!2 ~ x ~] ~@31 [~@8 x ~@2 x!2 ~ x ~] ~@27>")
  .gain(0.5)

// drums · tambourine
const tambourine = s("tb").struct("<~@28 A ~ A ~ A ~ A ~ A ~ A ~ A ~ A B@4 C@66 ~@9>".pickRestart({
  A: "~@3 x", B: "x!3 ~ x!3 ~ x!3 ~ x!3 ~", C: "x!8",
})).gain(0.4)

// drums · splash
const splash = s("cr").struct("<~@43 x ~@78>").gain(0.5)

// drums · vibraslap
const vibraslap = s("vibraslap:0").struct("<~@27 x ~@15 x ~@78>").gain(5.83)

stack(
  pad_new_age, synth_strings_1, pad_sweep, kalimba, celesta, clarinet, whistle, whistle_soft, pad_poly, synth_bass_1,
  bass, bass_2, orchestral_harp, clavinet, kick, snare, low_tom, tambourine, splash, vibraslap
)

More by Erasure