Strudelify
Scream cover art

Scream

Scream

Michael Jackson

KeyE minorTempo106 bpm
0:00/0:00
// Scream — Jackson Michael
// 106 bpm, 4/4, key E minor. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: pitch bends are ignored
// note: sustain pedal (CC 64) lengthens the held notes
// note: duplicate parts dropped: ch 14 "SQUAREWAVE" lead 1 square (copy of ch 13 "+SINE WAVE" lead 1 square)
// note: Full arrangement: all 105 bars on a 32-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(106/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.

// bass · clavinet
const bass = note("<~@4 A@4 ~@2 A@8 ~@2 A@8 ~@8 A@16 ~@10 A@8 ~@6 A@8 ~@10 A@8 ~@3>".pickRestart({
  A: "g2@4 a2@2 ~@2 d2@2 e2 ~ d2 ~ e2@2 ~@2 e2 ~ g2@2 ~@2 a2@3 ~ e2 ~ d2@2",
})).s("gm_clavinet").gain(0.26).pan(1)

// bass · synth brass 1 · "SYNBRASS 1"
const bass_2 = note(`<
  ~@4 A@2 B C ~@2 A@2 B D A@2 B C ~@2 A@2 B D A@2 B E F G H I J K L M A@3 N A@2 O P A@2 B Q A@2 R S ~@2 F G H I J K L M
  T A@2 N A@2 O P ~@5 U A@2 B V A@2 B V F G H I J K L M ~@2 A@3 N A@2 O P W@2 X
>`.pickRestart({
  A: "~@5 a#0@2 a0", B: "~@5 a0 ~ a0", C: "d1 c1 a#0 a0", D: "d1@4 ~@4 c1@5 ~@3 a#0@3 ~ a#0@3 ~ a0 ~ a0 ~ a0@4",
  E: "d1@8 c1@8 e1 ~@3 g1@12", F: "e1@15 ~ b1@2 c#2@2 e2@2 c#2@2 e2@2 f#2@2 e2@2 c#2@2", G: "a1@2 d2 d#2",
  H: "e2@7 ~@7 e2 f#2 g#2@4 f#2@2 e2@2 c#2@2 b1@2 g#1@2 e1@2", I: "a1@7 ~@9 d2@8 c#2@8",
  J: "c2@7 ~@9 e1@2 f#1@2 g1@2 b1@2 d2@2 c2@2 a1@2 f#1@2", K: "b1@5 ~@10 d2 e2@4 d2 ~ b1 ~ e2@4 ~ e2 ~@2, ~@14 d2 ~",
  L: "a0 b0 c1 e1", M: "d1@8 e1@8 g1@4 [g2,g3]@9 ~@3", N: "~@24 e3@7 ~", O: "~@20 a0@3 ~@5 a0@3 ~",
  P: "d1@3 ~@5 c1@3 ~@5 a#0@4 ~@3 e3@7 ~@2", Q: "d1@4 ~@4 c1@5 ~@2 g2 a2@3 ~ b2 ~@3 e3 ~@7",
  R: "~@3 a3@4 ~@13 a0@4 ~@4 a0@4", S: "d1@3 ~@5 c1@4 ~@4 b0@2 ~@2 b0@3 ~ g1@4 d1@2 ~@2", T: "e2@11 ~@9 a#0@8 a0@4",
  U: "~@19 e1@8 d1@3 ~@2", V: "d1@4 ~@4 c1@5 ~@2 g0 a0@3 ~ b0 ~@3 e3 ~@7",
  W: "[c1@8 d1@7 g0@8 f#0@8 e0@8 f0@8 a#0@8 a0@8 ~]/2", X: "e0@31 ~",
})).s("gm_electric_bass_finger").gain(0.28).pan(0.3)

// other · epiano1 · "E.PIANO 1"
const epiano1 = note(`<
  ~@80
  [~ b4 e5 b4 f#5 b4 g5 b4 g5@4 f#5@4]
  [~@2 b4@2 e5@2 b4@2 f#5@2 b4@2 g5@2 b4@2 f#5@8 e5@7 ~]
  [~@4 b4 ~@3 a4@2 g4 ~ b4@2 d5@6 a4@2 d5@6 a4@2 d5@2]
  [~@2 b4 ~ a4 g4 b4 d5 a4@3 g4 e4@4, ~@12 a#4 ~@3 a#4 ~@15]
  ~@21
>`).s("gm_epiano1").gain(0.44)

// chords · drawbar organ · "ORGAN 1"
const drawbar_organ = note("<~@4 A@4 ~@2 A@8 ~@2 A@8 ~@8 A@16 ~@10 A@8 ~@22 B C A@8 D E ~>".pickRestart({
  A: "[a3,c4,e4]@4 d4 ~@15 [g3,c4,e4]@6 d4 ~ [g3,c4,d4,g4]@2 ~@2", B: "[e1,e2] [f1,f2] [f#1,f#2] [g1,g2]",
  C: "[g#1,g#2] [a1,a2] [a#1,a#2] [b1,b2] [c2,c3] [c#2,c#3] [d2,d3] [d#2,d#3]", D: "[c1,c2] [d1,d2] [g0,g1] [f#0,f#1]",
  E: "[e0,e1] [f0,f1] [a#0,a#1] [a0,a1]", // E F A# A
})).s("gm_drawbar_organ").gain(0.26).pan(0.3)

// chords · drawbar organ · "ORGAN 1" · soft notes
const drawbar_organ_soft = note("<~@28 A@2 B@3 C D E ~@18 A@2 B@3 C D E ~@14 F@8 A@2 B@3 C D E ~@13>".pickRestart({
  A: "[[b3,g#4,b5,g#6] [c4,a4,c6,a6], [e4,e6]]/2", // E F E
  B: "[[b3,g#4,b5,g#6]@8 [c4,g4,c6,g6]@7 ~ [e4,e6]@8, [e4,e6]@5 [g3,b3,d4,g5,b5,d6]@3]/3", // E C5 E G
  C: "[b3,d4,f#4,a4,b5,d6,f#6,a6]", D: "[a3,c4,e4,g4,a5,c6,e6,g6]", E: "[c4,e4,a4,c6,e6,a6]",
  F: "[[b3,b4]@3 [c4,c5], [e3,g3,e4,g4]@125 ~@3]/4", // B C Em
})).s("gm_drawbar_organ").gain(0.1).pan(0.3)

// other · orchestra hit · "ORCH.HIT"
const orchestra_hit = note(`<
  ~@4 A B C B ~@2 A B C B A B C B ~@2 A B C B A B C B ~@8 A B C B A B C B A B C B A B C B ~@10 A B C B A B C B ~@22 D E
  F B C B A B C B ~@3
>`.pickRestart({
  A: "e5@3 ~@9 g5@2 ~@2 e5@2 ~@4 c5@5 ~ g5@2 ~@2", B: "e5@2 ~@10 g5@2 ~@2 e5@3 ~@3 c5@4 ~@2 d5@3 ~",
  C: "e5@3 ~@9 g5@2 ~@2 e5@3 ~@3 c5@4 ~@2 g5@2 ~@2", D: "[e2,e3] [f2,f3] [f#2,f#3] [g2,g3]",
  E: "[g#2,g#3]@2 [a2,a3]@2 [a#2,a#3]@2 [b2,b3]@2 [c3,c4]@2 [c#3,c#4]@2 [d3,d4]@2 [d#3,d#4] ~", // G# A A# B C C# D D#
  F: "[e3,e4]@12 g5@2 ~@2 e5@2 ~@4 c5@5 ~ g5@2 ~@2, e5@3 ~@29", // E
})).s("gm_orchestra_hit").gain(0.29).pan(0)

// chords · tubular bells · "+CHURCHBEL"
const tubular_bells = note(`<
  ~@2 A B C D E D F G C D E D E D E D H G C D E D E D E D E D E D E D E D E D E D E D E D E D E D E D E D F I C D E D E
  D E D E D E D E D E D F ~@4 J C D E D E D E D E D E D E D E D K L M N O N O N O N P Q R
>`.pickRestart({
  A: "~@8 c8 g7@2 ~@9 a#7!2 ~@2 b7 [d#7,f#7] ~@5 [g7,g#7]", // D#m G#maj7
  B: "~@6 [d#7,f7] ~@6 [f7,f#7,g7,g#7,a7,a#7] e7 [e7,f7,g7,a#7] [d7,f#7,a7] [f7,f#7,g7,g#7] [e7,f#7,g7,a7] [e7,f7,f#7,g7,g#7,a#7] g#7 [e7,a7] ~@10", // D#sus2 Edim D F#m7 A5
  C: "~@8 [f7,f#7,g7,g#7,a7,a#7] [e7,a#7] [e7,f7,g7,a7] [d7,f#7,g7] [f7,f#7,g#7,a7] [e7,f#7,g7,g#7,a7] [e7,f7,f#7,g7,g#7,a#7] ~ [e7,a7] ~@7 [f7,f#7,g7,g#7,a7,a#7] [e7,a#7] [e7,f7,g7,a7] [d7,f#7,g7] [f7,f#7,g#7,a7] [e7,f#7,g7,g#7,a7] [e7,f7,f#7,g7,g#7,a#7] ~", // Edim Fmaj7 Gmaj7 A5 Edim Fmaj7 Gmaj7
  D: "[e7,a7] ~@7 [f7,f#7,g7,g#7,a7,a#7] [e7,a#7] [e7,f7,g7,a7] [d7,f#7,g7] [f7,f#7,g#7,a7] [e7,f#7,g7,g#7,a7] [e7,f7,f#7,g7,g#7,a#7] ~ [e7,a7] ~@7 [f7,f#7,g7,g#7,a7,a#7] [e7,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7] [f7,f#7,g#7,a7] [e7,f#7,g7,g#7,a7,a#7] [e7,f7,f#7,g7,g#7] ~", // Edim Fmaj7 Gmaj7 A5 Edim Fmaj7 Gmaj7
  P: "[f7,f#7,g7,g#7,a7,a#7] [e7,a#7] [e7,f7,g7,a7] [f#7,g7] [f7,f#7,g#7,a7] [e7,f#7,g7,g#7,a7] [e7,f7,f#7,g7,g#7,a#7] ~ [e7,f7,f#7,g7,g#7,a7,a#7] [e7,a#7] [e7,f7,g7,a7] [f#7,g7] [f7,f#7,g#7,a7] [e7,f#7,g7,g#7,a7,a#7] [e7,f7,f#7,g7,g#7] ~ [e7,f7,f#7,g7,g#7,a7,a#7] [e7,a#7] [e7,f7,g7,a7] [f#7,g7] [f7,f#7,g#7,a7] [e7,f#7,g7,g#7,a7,a#7] [e7,f7,f#7,g7,g#7] a7 [e7,f7,f#7,g7,g#7,a7,a#7] [e7,a#7] [e7,f7,g7,a7] [f#7,g7] [f7,f#7,g#7,a7] [e7,f#7,g7,g#7,a7,a#7] [e7,f7,f#7,g7,g#7] a7", // Edim Fmaj7 Gmaj7 Edim Fmaj7 Gmaj7 Edim Fmaj7 …
  Q: "e7 ~@21 d7 ~@9",
  R: "[c7,c#7,d7,d#7,e7,f7,f#7] [c7,c#7,f#7] [c7,c#7,d#7,f7] [d7,d#7] [c#7,d7,e7,f7] [c7,d7,d#7,e7,f7,f#7] [c7,c#7,d7,d#7,e7,f7] [c#7,d#7] [c7,c#7,f7] [c7,c#7,d7,e7] c#7 [c#7,d7] [c7,d#7,e7,f#7] [d#7,e7,f7] f#7 ~@17", // F# C#maj7 D#maj7 C#sus2 C#maj7 Dmaj7 Cdim
})).s("gm_tubular_bells").gain(0.15)

// chords · tubular bells · "+CHURCHBEL" · soft notes
const tubular_bells_soft = note(`<
  ~@3 A B C B C ~ D B C B C B C B C ~ D B C B C B C B C B C B C B C B C B C B C B C B C B C B C B C B C ~ E F C B C B C
  B C B C B C B C B C ~@5 G B C B C B C B C B C B C B C B C ~ D B C B C B C B C H I J
>`.pickRestart({
  A: "~@20 [f7,f#7,g7,a7] ~ f7 ~ g7 ~@7", B: "~@14 a7 [f7,g7] ~ f7 ~ g7 ~@10 a7 [f7,g7]",
  C: "~ f7 ~ g7 ~@10 a7 [f7,g7] ~ f7 ~ g7 ~@10 a7 [f7,g7]", D: "~@25 a7 [f7,g7] ~ f7 ~ g7 ~",
  E: "~@2 g#7 ~ [e7,f7,g7] [f#7,g7,g#7] [d#7,e7,f7,f#7,g7,g#7,a7] [e7,f#7] g#7 e7 ~ f#7 ~@16 c#7 [a6,b6] ~ a6", // Em Esus2 Asus2
  F: "b6 ~@13 a7 [f7,g7] ~ f7 ~ g7 ~@10 a7 [f7,g7]", G: "~@23 g7 a7 [d#7,e7,f7,f#7,g#7] [e7,f#7] ~ e7 f#7 ~@2",
  H: "~@7 [f7,g7,a7] ~ f7 ~@4 a7 [f7,g7] ~ f7 ~@4 a7 [f7,g7] ~ f7 ~@4 a7 [f7,g7]", I: "~ f7 g7 ~@29",
  J: "~@14 f7 [c7,c#7,d7,d#7,f7] [c7,c#7,d#7] [c7,e7,f7] [c7,c#7,d#7,e7,f7,f#7] d7 [c7,d7] ~@11", // Cm Fmaj7 Csus2
})).s("gm_tubular_bells").gain(0.05)

// bass · marimba · "PRG.CHANGE"
const bass_3 = note("<A@2 ~@6 B C ~@95>".pickRestart({
  A: "[~@20 f#1@16 c2@3 f1@11 ~ f#1@3 ~@10]/2", B: "b1@2 ~@4 a1 ~@3 b1 ~@5",
  C: "c2 ~@3 d2 ~@3 c2@2 ~@2 b1@2 ~@2 c2@2 ~@2 b1@2 ~@10",
})).s("gm_electric_bass_finger").gain(0.35)

// other · electric guitar clean · "PRG.CHANGE"
const electric_guitar_clean = note("<~@52 A@2 ~@51>".pickRestart({
  A: "[e2@2 e3 a2 b2 d3@2 e3@3 e3 a2 b2 d3@2 e3]/2",
})).s("gm_electric_guitar_clean").gain(0.24)

// chords · acoustic guitar steel · "PRG.CHANGE"
const acoustic_guitar_steel = note("<~@72 A@2 B@2 ~@29>".pickRestart({
  A: "[~@20 g3@8 ~@8 g3@7 ~@9 e3@12, c2@7 ~ c2@8, ~@4 b3@7 ~ d4@7 ~@9 b3@8 ~@28, ~@8 e3@12 ~@24 d3@7 ~@13, ~ c3 ~ c3]/2",
  B: "[~@5 d3@2 ~@2 g3@2 ~@2 b2@2 d3, a1@28 ~@4 a1@31 ~, ~ d3@2 g3@2 ~@2 e3@2 ~@2 d3@2 ~@3, ~@8 b2@11 ~@45, ~@16 a2@15 ~@17 a2@15 ~]/2",
})).s("gm_acoustic_guitar_steel").gain(0.09)

// other · lead 1 square · "+SINE WAVE"
const lead_1_square = note("<A@2 B@2 ~@4 C D ~@9 E ~@72 F G ~@8 H I J>".pickRestart({
  A: "[~@20 g1@16 c#2@3 f#1@11 ~ g1@3 ~@10]/2", B: "[~@3 a1@29]/2", C: "a#1@3 g#1@2 a#1!2 ~, ~@12 a#1 ~@7 g#1 ~@11",
  D: "b1 [b1,c#2]!2 [a#1,b1]!3 a#1 ~", E: "b1 a#1 a1 g1", F: "e1@8 f1@8 f#1@7 ~ g1@8",
  G: "g#1@2 a1@2 a#1@2 b1@2 c2@2 c#2@2 d2@2 d#2 ~", H: "c2 d2 g1 f#1", I: "e1 f1 a#1 a1", J: "e1@31 ~",
})).s("gm_lead_1_square").gain(0.62)

// other · lead 1 square · "+SINE WAVE" · soft notes
const lead_1_square_soft = note("<~ A@2 ~@67 B@2 ~@33>".pickRestart({
  A: "[~@11 [g1,g#1,f#2,g2]@8 ~@13]/2", B: "[~@31 g#4@27 ~@6]/2",
})).s("gm_lead_1_square").gain(0.31)

// chords · distortion guitar · "+FEEDBCKGT"
const distortion_guitar = note("<A ~@74 B@5 ~@25>".pickRestart({
  A: "[c1,c#1,d1,d#1,e1,f1,f#1,g1,g#1,a1,a#1,b1,c2,c#2,d2,d#2]@2 [c1,c#1,d1,d#1,e1,f1,f#1,g1,g#1,a1,a#1,b1,c2,c#2,d2,d#2]@3 ~@3",
  B: "[~@31 b2@2 e2@2 b2@2 e2@2 d3@4 b2@2 e2@2 b2@2 e2@2 d3@4 b2@2 ~@6 b2@2 e2@2 b2@2 e2@2 d3@4 b2@2 e2@2 b2@2 e2@2 d3@4 b2@3 ~@5 b2@2 e2@2 b2@2 e2@2 d3@4 b2@2 e2@2 b2@2 e2@2 d3@4 b2@3 ~ b2@4 g3@8 g3@8 g3@2 e3@13 ~@2]/5",
})).s("gm_distortion_guitar").gain(0.37)

// other · drawbar organ · "PRG.CHANGE"
const drawbar_organ_2 = note("<A@4 ~@4 B C ~@95>".pickRestart({
  A: "[~@20 c#5@19 [c6,c7]@13 c#5@2 [c6,c7]@16 d#5@57 ~, ~@35 d#4@16 ~@13]/4", B: "e5@3 d5@2 e5 ~@2",
  C: "f5@4 g5@4 f5@4 e5@4 f5@4 e5@3 ~@9",
})).s("gm_drawbar_organ").gain(0.2)

// chords · synth strings 1 · "PRG.CHANGE"
const synth_strings_1 = note("<~@84 A@8 ~@13>".pickRestart({
  A: "[e4@15 e3@16 d4@10 e4@2 d4@2 ~@2 [f#3,a3,c4]@8 ~@8 e4@16 e3@16 [b3,d4]@10 e4@2 d4@2 b3@2 [f#3,a3,c4]@8 ~@8 [c3,b3,d4,e4,g4]@30 ~@2 [b2,a3,b3,d4,f#4]@30 ~@2 a2@32 d3@30 ~@3, [g#3,b3]@31 [a3,b3]@14 b3@17 ~ [g#3,b3]@32 a3@16 ~@80 [a3,c4,e4,g4]@62 ~@3]/8", // F#dim Bm F#dim Cmaj7 Bm7 G#m Asus2 G#m …
})).s("gm_synth_strings_1").gain(0.4)

// chords · synth strings 1 · "PRG.CHANGE" · soft notes
const synth_strings_1_soft = note("<~@70 A@6 ~@29>".pickRestart({
  A: "[c3@128 a2@63 ~, [e3,g3,b3,d4]@95 ~]/6", // Em7
})).s("gm_synth_strings_1").gain(0.2)

// drums · kick
const kick = s("bd").struct("<~@4 A@4 ~@2 A@8 B C A@32 ~@2 A@16 ~@6 A@16 D C A@8 D C B>".pickRestart({
  A: "x ~@4 x ~ x", B: "x", C: "x ~@7 x ~@7 x ~@2 x ~@4 x ~@7", D: "x!4",
})).gain(0.71)

// drums · kick · soft notes
const kick_soft = s("bd").struct("<~@19 A ~@72 B A ~@8 B A ~>".pickRestart({
  A: "~@7 x ~@7 x ~@7 x ~@3 x!2 ~@2 x", B: "~@31 x",
})).gain(0.29)

// drums · rim
const rim = s("rim").struct("<~@53 [~@3 x] ~@51>").gain(0.71)

// drums · snare
const snare = s("sd").struct(`<
  ~@4 A@4 ~@2 A@8 ~ B A@7 C A@15 D A@7 C ~@2 A@15 D E ~@5 A@15 F ~ B A@7 D G H ~
>`.pickRestart({
  A: "~ x ~ x", B: "x!2 ~@6 x!2 ~@2 x!2 ~ x!3 ~ x!3 ~ x!3 ~ x!3 ~ x", C: "~@8 x ~@14 x!2 ~@7", D: "~@4 x ~@6 x!2 ~@3",
  E: "x", F: "~ x!3 ~@2 x ~", G: "~ x ~ x ~ x ~@2", H: "x!2 ~@5 x!3 ~ x!3 ~ x!3 ~ x!3 ~ x!3 ~ x!3 ~ x",
})).gain(0.57)

// drums · snare · soft notes
const snare_soft = s("sd").struct("<~@19 A ~@32 B C ~@39 A ~@9 D ~>".pickRestart({
  A: "~@3 x!3 ~ x ~@3 x ~@7 x ~@12", B: "~@31 x", C: "x", D: "~@3 x!3 ~ x ~@3 x ~@20",
})).gain(0.36)

// drums · clap
const clap = s("cp").struct("<~@4 A@4 ~@2 A@17 B A@15 C A@7 B D E A@15 C E ~@5 A@15 F G A@8 C G ~@2>".pickRestart({
  A: "~ x ~ x", B: "~@8 x ~@14 x!2 ~@7", C: "~@4 x ~@6 x!2 ~@3", D: "~@31 x", E: "x", F: "~ x!3 ~@2 x ~",
  G: "x ~@6 x!2 ~@6 x!2 ~@6 x!2 ~@6 x",
})).gain(0.57)

// drums · pedal hat
const pedal_hat = s("hh").struct("<~@4 A@4 ~@2 A@42 ~@2 A@16 ~@6 A@28 ~>".pickRestart({
  A: "x!8",
})).gain(0.71)

// drums · crash
const crash = s("cr").struct(`<
  ~@4 A B ~@4 A B ~@2 A B ~@2 A ~ A B ~@2 A B ~@2 A ~@7 A B ~@2 A B ~@2 A B ~@2 A B ~@4 A ~@7 A B ~@2 A B ~@8 A B ~@2 A
  B ~@2 A ~@7 A ~ A B ~@2 A B ~@2 A ~@2
>`.pickRestart({
// … 54 more lines

More by Michael Jackson