Strudelify

Moonlight Shadow

Mike Oldfield

KeyB majorTempo129 bpm
0:00/0:00
// Moonlight Shadow — Mike Oldfield
// 129 bpm, 4/4, key B major. 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 9 acoustic guitar steel (copy of ch 8 acoustic guitar steel)
// note: Full arrangement: all 110 bars on a 24-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
// note: Guitar parts that double another keep only their own notes (fills, solos): guitar program 25.
setcpm(129/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 · electric guitar muted
const electric_guitar_muted = note("<A B C D ~@63 E@2 F G H I J K@2 L M N O P Q R S ~@15 T@2 U@2 V@4 W@3>".pickRestart({
  A: "~@3 b3@3 e4@3 f#4 ~@2 g#4@3 f#4@3 e4@2 ~ c#4 ~@2", B: "b3@3 c#4@3 d#4@2 ~ f#3@7 ~@3 c#4@2 d#4 ~@2, ~@9 b3 ~@2",
  C: "e4 ~@2 e4 ~@2 d#4@2 ~ d#4@2 ~ c#4@3 d#4@3 e4@3 f#4@3", D: "~ b3@3 ~@4",
  E: "[~@21 g#3@6 c#4@2 ~ e4@3 g#4@6 e4@3 c#4@3 b3@2 ~]/2", F: "a3@3 c#4@3 e4@3 c#5@4 ~@2 c#5 ~@2 d#5@5 ~",
  G: "[d#5,f#5]@2 ~ [d#5,f#5]@2 ~ f#5@5 ~ d#5@2 ~ f#4@3 b4@3 d#5@2 ~, ~@3 d#5 ~@8", // D#m
  H: "e4@2 ~ g#4@2 ~ b4@4 e4 ~ d#4@2 ~ f#4@3 b4@3 d#4 ~@2", I: "c#4@3 e4@3 g#4@9 e4@3 c#4@2 ~ b3@2 ~",
  J: "a3@2 ~ c#4@3 e4@3 c#5@6 c#5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4]@11 ~@4", // B E5 B
  T: "[~@21 g#3@5 c#4@2 ~ e4@3 ~ g#4@5 e4@3 ~ c#4@2 b3@2 ~@2]/2",
  U: "[a3@2 c#4@3 ~ e4@3 c#5@4 ~@2 c#5 ~ d#5@5 ~ [d#5,f#5]@2 ~ [d#5,f#5]@2 ~ f#5@5 ~ d#5@3 ~ f#4@2 b4@3 d#5@2 ~@2, ~@29 d#5@2 ~@17]/2", // D#m
  V: "[e4@2 g#4@2 ~ b4@4 ~ e4 ~ d#4@2 ~ f#4@2 b4@3 ~ d#4 ~ c#4@3 e4@3 g#4@9 e4@2 ~ c#4@2 ~ b3@2 ~ a3@2 ~ c#4@3 e4@3 c#5@6 c#5 ~@2 d#5@5 ~ [d#5,f#5]@2 ~ [d#5,f#5]@2 ~ f#5@5 ~ d#5@3 f#4@2 ~ [f#4,b4]@7, ~@77 d#5@2 ~@17]/4", // D#m B5
  W: "[e4@2 g#4@2 ~ b4@4 ~ e4 d#4@2 ~ f#4@3 b4@3 d#4 ~@2 e4@3 b3@3 g#3 ~@2 [g#3,e4]@2 ~@11 b3@10 ~@17, ~@22 [g#3,e4]@5 ~@9]/3", // C#m
})).s("gm_electric_guitar_muted").gain(0.55).pan(0.6)

// bass · fretless bass
const bass = note(`<
  A B C D E F G H I F J K L M N O A P N D Q R S T U V W X Y Z AA AB AC AD N AE AF AG AH AI AJ AK AL AM AN V AO AP AN AQ
  AO AR L AS N AT A AU AV AW AF AX AH AY AJ AK AL AZ U BA BB BC E BA BD BE BF BG C BH Y M AA BI Q BJ BK BL Q BM BN@8
  BO@4 BP@8
>`.pickRestart({
  A: "e2@7 ~@2 e2 ~@2 e2@7 ~@5", B: "b1@7 ~@2 b1 ~@2 b1@7 ~@5", C: "c#2@7 ~@2 c#2 ~@2 a1@7 ~@5",
  D: "b1@7 ~@2 b1 ~@2 b1@7 ~@2 b1 ~@2", E: "c#2@7 ~@2 c#2 ~@2 c#2@6 ~@6", F: "a1@6 ~@3 a1 ~@2 a1@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1@7 ~@5 b1@5 ~ d#2@5 ~ f#2@5 ~ b1@5 ~ e2@5 ~ g#2@5 ~ f#2@5 ~ b1@2 ~ c2@3 e2@2 ~ b1@3 g#1 ~@2 e2@3 ~@9 e1@10 ~@18]/8",
})).s("gm_fretless_bass").gain(0.32)

// chords · synth strings 1
const synth_strings_1 = note(`<
  A B C B D E B F D E B F A B C B A B C B D E B F D E B G@2 B C B A H@2 I@3 J K@5 D L@4 E M@8 N@2 O P@4 Q@6 R@7 S@4 T@5
  R@7 S@4 T@5 U@7
>`.pickRestart({
  A: "[g#3,b3,e4]@23 ~", B: "[f#3,b3,d#4]@23 ~", C: "[g#3,c#4,e4]@11 ~ [a3,c#4,e4]@11 ~", D: "[g#3,c#4,e4]@23 ~",
  E: "[a3,c#4,e4]@23 ~", F: "[g#3,b3,e4]@11 ~ [f#3,b3,d#4]@11 ~",
  G: "[[g#3,b3,e4]@11 ~ [f#3,b3,d#4]@11 ~ [g#3,e4]@23 ~, ~@23 b3@23 ~@2]/2", // E B C#m
  H: "[[f#3,b3,d#4]@23 ~ [g#3,c#4]@11 ~ [a3,c#4,e4]@11 ~, ~@23 e4@11 ~@14]/2", // B C#5 A
  I: "[[f#3,b3,d#4]@5 [g#3,b3,e4] [f#3,b3,d#4]@3 [g#3,b3,e4] [f#3,b3,d#4]@2]/3", // B E B E B
  J: "[g#3,b3,e4]@11 ~ c#4@11 ~, ~@11 [a3,e4]@11 ~@2", // E A5
  K: "[[f#3,b3,d#4]@29 ~ g#3@6 [f#3,b3,d#4]@17 [g#3,b3,e4]@6 ~ f#3@11 ~ e4@11 ~ [a3,c#4,e4]@11 ~ f#3@23 ~, ~@29 [b3,e4]@6 ~@24 [b3,d#4]@12 [g#3,b3]@11 ~@13 [b3,d#4]@23 ~@2]/5", // B E A E5 B G#m B
  L: "[[a3,c#4,e4]@23 ~ f#3@23 ~ g#3@11 ~ [f#3,b3,d#4]@11 ~ c#4@23 ~, ~@23 [b3,d#4]@23 ~ [b3,e4]@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]]/5", // A B C#m A B E
  U: "[~@11 [f#3,b3,d#4]@11 ~ [g#3,c#4,e4]@23 ~ [a3,c#4,e4]@23 ~ [f#3,b3,d#4]@23 ~ [g#3,b3,e4]@11 ~ [f#3,b3,d#4]@11 ~ [g#3,b3,e4]@14 ~@7 [g#3,b3,e4]@10 ~@18]/7", // B C#m A B E B E
})).s("gm_synth_strings_1").gain(0.1)

// other · overdriven guitar
const overdriven_guitar = note("<~@83 A B C@2 D E F G H I J K L ~@2 M N@2 ~@9>".pickRestart({
  A: "~@15 g#5@6 b5@2 ~", B: "g#5@3 b5@2 ~ g#5@4 f#5@2 e5@2 ~ c#5@3 g#5@3 b5@2 ~",
  C: "[g#5@3 b5@2 ~ g#5@3 ~ f#5@2 c#5@5 ~ e5@2 ~ f#5@6 b5@3 f#5@3 b5@3 f#5 d#5@2 c#5 ~@2 e5@3 f#5@2 ~]/2",
  D: "f#5@3 a5@2 ~ f#5@3 a5@3 g#5@2 ~ f#5@3 e5@2 ~ f#5 ~@2", E: "f#5@6 c#5@3 ~ b4 ~ c#5@3 g#4@3 f#4@3 e4@2 ~",
  F: "f#4@3 c#4@2 ~ c#4@3 b3@3 c#4@3 c#4@3 d#4@3 e4@3", G: "f#4@2 ~ f#4@2 ~ g#4@3 ~@3 f#4@4 ~@2 g#4@3 f#5@3",
  H: "g#5@2 ~ b5@3 g#5@2 ~ b5@3 g#5@3 f#5@3 e5@2 ~ f#5@3", I: "g#5", J: "~@21 b3 c#4@2",
  K: "e4 f#4 ~ g#4 b4 ~@2 f#4@2 ~ c#4 ~@2 c#4@2 e4 c#4 ~ e4 f#4@2 a4 b4@2, ~@6 g#4@2 ~ e4@2 ~ e4@2 ~@10",
  L: "f#5 d#5 f#5 d#5 f#5@4", M: "~@21 g#5 a#5 ~", N: "[b5@7 ~@2 g#5 a#5@2 b5@3 f#6@29 ~@4]/2",
})).s("gm_overdriven_guitar").gain(0.39).pan(0.4)

// chords · overdriven guitar
const overdriven_guitar_2 = note("<~@90 A B C ~ D A C ~@2 E ~@10>".pickRestart({
  A: "[b2,f#3]@11 ~", B: "[b2,e3]@3 ~ [b2,f#3]@3 ~", C: "[b2,e3]@11 ~", D: "[c#3,g#3]@4 ~@2 [a2,e3]@5 ~", E: "[b2,f#3]",
})).s("gm_overdriven_guitar").gain(0.25).pan(0.7)

// chords · acoustic guitar steel
const acoustic_guitar_steel = note("<~@36 A ~@3 B ~@19 B ~@3 C@2 ~@44>".pickRestart({
  A: "~@11 [f#3,b3,d#4,f#4]", B: "~@22 [f#3,b3,d#4,f#4] ~",
  C: "[~@20 f#3 ~ [f#3,b3,d#4,f#4] [f#3,b3]@3 [f#3,b3]@5 ~@17]/2", // B B5
})).s("gm_acoustic_guitar_steel").gain(0.16).pan(0.3)

// chords · acoustic guitar steel
const acoustic_guitar_steel_2 = note(`<
  A B C D E F G H E F G H A G C G A G C I E F G J@2 K G L A M C G A G C N O@2 P N Q O P R E F G S@2 T G H A U C G V G C
  W O@2 X N Q O Y R Z AA AB@4 AC@3 AD AE AF@2 AG@2 AH@3 AI@4 AJ@5 AK@7 AL@8
>`.pickRestart({
  A: "[g#3,b3,e4]@3 [g#3,b3,e4]@3 [g#3,b3,e4] ~@2 [g#3,b3,e4]@3 [g#3,b3,e4]@3 [g#3,b3,e4]@3 [g#3,b3,e4]@3 [g#3,b3,e4] ~@2", // E
  B: "[b3,d#4,f#4]@3 [b3,d#4,f#4]@2 ~ [b3,d#4,f#4] ~@2 [b3,d#4,f#4]@3 [b3,d#4,f#4]@3 [b3,d#4,f#4]@3 [b3,d#4,f#4]@3 [b3,d#4,f#4] ~@2", // B
  C: "[g#3,c#4,e4]@3 [g#3,c#4,e4]@3 [g#3,c#4,e4]@3 [g#3,c#4,e4] ~@2 [a3,c#4,e4]@3 [a3,c#4,e4]@3 [a3,c#4,e4]@3 [a3,c#4,e4] ~@2", // C#m A
  D: "[b3,d#4,f#4]@3 [b3,d#4,f#4]@2 ~ [b3,d#4,f#4] ~@2 [b3,d#4,f#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3@3 ~@3 [g#3,b3]@6 g#3@3 ~@3 b3@6 ~@6 g#3@3 [g#3,c#4]@3 ~@3 [g#3,c#4]@3 [g#3,c#4]@3 [g#3,c#4]@3 [g#3,c#4]@3 ~@3 [a3,c#4]@3 [a3,c#4]@3 ~@3 [a3,c#4]@3 [a3,c#4]@3 [a3,c#4]@3 [a3,c#4]@3 ~@3 b3@3 b3@3 ~@3 b3@3 b3@3 b3@3 b3@3 ~@6 [g#3,b3]@3 [g#3,b3]@3 ~@3 b3@3 b3@3 b3@3 ~@3 g#3@3 [g#3,b3]@3 ~@3 [g#3,b3]@3 ~@9 g#3@10 ~@18]/8", // B D#m B D#m B D#m E5 G#m …
})).s("gm_acoustic_guitar_steel").gain(0.08).pan(0.9)

// drums · kick
const kick = s("bd").struct(`<
  A@3 B A@11 C A@3 D A@7 D A@7 E F@7 G A@7 H A@7 D F@7 I A@7 H A@7 J A@7 H A@7 K A@3 H L M@3 N ~
>`.pickRestart({
  A: "x ~@2 x!2 ~@3", B: "x!4", C: "x ~@2 x!3 ~@2", D: "x ~@2 x!3 ~ x", E: "x!2 ~ x!3 ~ x", F: "x!2 ~@2 x!2 ~@2",
  G: "x!2 ~@2 x ~ x!2", H: "x ~@2 x!2 ~@2 x", I: "x!3 ~ x!2 ~ x", J: "x ~@2 x!2 ~ x ~", K: "x ~ x ~@4 x",
  L: "x ~@7 x ~@2 x ~@11 x", M: "~@8 x ~@2 x ~@11 x", N: "~@8 x ~@8 x ~@2 x ~@3",
})).gain(0.45)

// drums · snare
const snare = s("sd").struct(`<
  ~@4 A@31 B A@7 C A@7 D A@7 E A@3 F A@3 G A@7 H A@7 I A@3 J A@7 H A@3 K A@3 L M N A O ~@2
>`.pickRestart({
  A: "~ x ~ x", B: "~@6 x!2 ~@10 x ~@5", C: "~ x!2 ~ x ~@3", D: "~ x ~@2", E: "~ x ~ x!4 ~", F: "~ x!3",
  G: "~@17 x!2 ~@5", H: "~@2 x ~@2 x!2 ~", I: "~ x ~ x!5", J: "~@2 x ~@2 x!3", K: "~ x!3 ~ x!2 ~",
  L: "~@6 x ~@8 x!2 ~ x ~@5", M: "~@6 x ~@10 x ~@6", N: "~@5 x ~@11 x ~@6", O: "~ x ~ x ~@3 x ~ x ~@2",
})).gain(0.45)

// drums · low tom
const low_tom = s("lt").struct("<~@3 A ~@15 B ~@7 B ~@7 C ~@3 D ~@23 D ~@19 E ~@7 D ~@11 D ~@4 F ~>".pickRestart({
  A: "~@5 x!3", B: "~@5 x ~@2", C: "~@3 x!3 ~@2", D: "~@7 x", E: "~@5 x!2 ~", F: "~ x ~ x",
})).gain(0.35)

// drums · pedal hat
const pedal_hat = s("hh").struct("<A@3 B ~@31 C D@8 ~@15 C D@8 ~@42>".pickRestart({
  A: "~ x ~ x", B: "~ x ~@2", C: "~@3 x", D: "x!4",
})).gain(0.35)

// drums · mid tom
const mid_tom = s("mt").struct(`<
  ~@3 A ~@32 B@3 C B@3 D ~@7 E ~@7 F B@3 C B@3 G ~@15 H ~@7 I ~@7 J ~@7 K L ~
>`.pickRestart({
  A: "~ x!7", B: "x ~ x!3 ~ x!2", C: "x ~ x!3 ~ x ~", D: "x ~ x ~ x ~ x!2", E: "~@5 x!3", F: "~ x ~ x!4 ~",
  G: "x ~@2 x ~@2 x!2 ~ x ~@2 x!2 ~ x ~@8", H: "~ x ~ x!2 ~@3", I: "~@5 x ~@2", J: "~ x!3 ~ x!2 ~", K: "~@7 x",
  L: "~@3 x ~@11 x!2 ~@7",
})).gain(0.3)

// … 30 more lines

More by Mike Oldfield