Strudelify
Endless Sleep cover art

Fire of Love

Endless Sleep

Jody Reynolds

KeyA majorTempo108 bpm
0:00/0:00
// Endless Sleep — Jody Reynolds
// 108 bpm, 4/4, key A major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: pitch bends are ignored
// note: Full arrangement: all 86 bars on a 24-step grid, each part at one level. Source detail keeps the original performance.
setcpm(108/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, A@4 for four bars: edit a riff to change every repeat.

// chords · acoustic guitar steel · "STEEL GTR"
const acoustic_guitar_steel = note(`<
  A B@6 C@2 B@2 D E B@2 D F G H D I G J K L B@2 M@2 B@2 D L B@2 D N O P Q R S T U V W@4 X@2 B@2 D L B@2 D N O P Q Y S T
  U Z U AA U V B@8 AB@2 AC@2 AD@2 ~
>`.pickRestart({
  A: "~@11 [g#2,d#3,g#3]", // G#5
  B: "[[a2,e3]@5 ~ [a2,e3]@11 ~ [a2,e3]@11 ~ [a2,e3]@11 ~ [a2,e3]@3 ~ [g#2,d#3,g#3]@2, a3@15 ~]/2", // A5 G#5
  C: "[[a2,e3]@5 ~ [a2,e3]@11 ~ [a2,e3]@11 ~ [a2,e3]@10 [g3,c4]@2 [f#3,b3]@2 ~@2 [g#2,d#3,g#3]@2, a3@19 ~@5]/2", // A5 C5 B5 G#5
  D: "[a2,e3]@5 ~ [a2,e3]@11 ~ [a2,e3]@5 ~, a3@23 ~", E: "[e2,b2]@9 ~ [a2,e3]@6 [g3,c4]@2 [f#3,b3] ~@3 [g#2,d#3,g#3]@2",
  F: "[e2,b2]@9 ~ [a2,e3]@12 [c#3,g#3,c#4]@2", G: "[d3,a3]@5 ~ [d3,a3]@11 ~ [d3,a3]@3 ~ [c#3,g#3,c#4]@2, d4@7 ~",
  H: "[d3,a3]@6 [d3,a3]@11 ~ [d3,a3]@2 ~@2 [g#2,d#3,g#3]@2, d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~@3 [g3,c4]@2 [f#3,b3]@3 ~ [g#2,d#3,g#3]@2", // E5 A5 C5 B5 G#5
  W: "[[a2,e3,a3]@5 ~ [a2,e3,a3]@11 ~ [a2,e3,a3]@11 ~ [a2,e3,a3]@11 ~ [a2,e3,a3]@3 ~ [g#2,d#3,g#3]@2]/2", // A5 G#5
  X: "[[a2,e3,a3]@5 ~ [a2,e3,a3]@11 ~ [a2,e3,a3]@11 ~ [a2,e3,a3]@7 ~@3 [g3,c4]@2 [f#3,b3]@2 ~@2 [g#2,d#3,g#3]@2]/2", // A5 C5 B5 G#5
  Y: "[e2,b2]@9 ~ [a2,e3]@6 [a2,e3]@2 [b2,f#3]@3 ~ [c#3,g#3]@2, d2 ~@11", Z: "[e2,b2]@9 ~ [a2,e3]@12 [g#2,d#3,g#3]@2",
  AA: "[e2,b2]@9 ~ [a2,e3]@11 ~ [g#2,d#3]@2", // E5 A5 G#5
  AB: "[[a2,e3]@5 ~ [a2,e3]@11 ~ [a2,e3]@11 ~ e3@11 ~ e3@3 ~ [g#2,d#3,g#3]@2, a3@15 ~, ~@10 a2@5 ~]/2", // A5 G#5
  AC: "[a2@5 ~ a2@11 ~ [a2,e3]@11 ~ [a2,e3]@11 ~ [a2,e3]@3 ~ [g#2,d#3,g#3]@2, a3@15 ~, e3 ~@2]/2", // A5 G#5
  AD: "[[a2,e3]@5 ~ [a2,e3]@42, a3]/2", // A5
})).s("gm_acoustic_guitar_steel").gain(0.38)

// bass · fretless bass · "FRETLESS"
const bass = note(`<
  ~@8 A B@2 C D B@2 C E F G C E F G H D C I C J H I H K H I H L M N O P M Q H R H S H S H T H S H K H U H V M N O P M Q
  H W H W H D B@12 X@2 ~
>`.pickRestart({
  A: "~@16 c2@2 b1@3 ~ g#1@2", B: "[a1@6 a2@24 a1@15 ~ g#1@2]/2", C: "a1@6 a2@17 ~",
  D: "e1@9 ~ a1@5 ~ c2@2 b1@3 ~ g#1@2", E: "e1@9 ~ a1@11 ~ c#2@2", F: "d2@10 ~ c#2", G: "d2@10 ~ g#1", H: "a1@23 ~",
  I: "g2@19 ~@3 g#1@2", J: "g2@6 ~@2 c2 b1 ~ g#1", K: "e1@7 ~@3 a1@6 c2@2 b1@2 ~@2 g#1@2", L: "e1@4 ~ a1@3 a1 b1 ~ c#2",
  M: "d2@7 ~@3 d2 ~ d2@7 ~@3 d2 ~", N: "d2@3 ~ d2@3 ~@3 d2 ~ d2@7 ~@3 e2@2", O: "a1@7 ~@3 a1 ~ a1@8 ~@2 a1 ~",
  P: "e1@7 ~@3 a1@5 ~ a1 ~ b1@2 ~@2 c#2 ~", Q: "d2@3 ~ d2@2 ~@4 d2 ~ d2@7 ~@3 e2 ~",
  R: "e1@9 ~ a1@4 ~@2 c2@2 b1@2 ~@2 g#1@2", S: "a2@21 ~ g#1@2", T: "a2@13 ~@3 c2@2 b1@2 ~@2 g#1@2", U: "a2",
  V: "e1@10 a1@5 ~ a1 ~ b1@3 ~ c#2@2", W: "e1@9 ~ a1@12 g#1@2", X: "[a1 a2@7]/2",
})).s("gm_fretless_bass").gain(0.44)

// other · electric guitar jazz · "JAZZ GTR"
const electric_guitar_jazz = note("<~@36 A@2 B@2 C D@3 ~@14 E@2 F@2 C G H@2 ~@20>".pickRestart({
  A: "[~@11 [f4,g#4]@13]/2", B: "[~@16 a4@2 f#4@3 ~ d#4@23 ~@3]/2", C: "~@8 b3@3 a3",
  D: "[g3@27 ~@13 f#4@2 d#4@25 ~@5]/3", E: "[~@22 [f4,g#4]@23 ~@3]/2",
  F: "[~@12 g4@3 ~ f#4@2 a4@3 ~ [c4,d#4]@22 ~@4]/2", G: "g3@23 ~", H: "[~@16 f#4@2 d#4@23 ~@7]/2",
})).s("gm_electric_guitar_jazz").gain(0.49).pan(0.4)

// chords · flute
const flute = note("<~@16 A B C D E F@2 ~@14 G H I J K@2 ~@16 L M I N O M ~@2 P Q R S@2 ~@14>".pickRestart({
  A: "~@11 f#3", B: "a3@4 a3@2 f#3@4 a3@8 ~@3 a3 a3@2", C: "d4@3 a3@2 a3@4 ~@3", D: "~@2 c#4 c#4@2 c#4 a3@2 e3@3 e3",
  E: "g#3@3 e3@2 e3@4 ~@3", F: "[~@2 a3!2 f#3 a3@4 ~@2 d4@3 a3!2 f#3 a3@4 ~@3]/2",
  G: "[a3,f#4]@4 [a3,f#4]@2 [f#3,e4]@4 [a3,f#4]@6 ~@5 [a3,f#4] f#4@2, ~@22 a3 ~", // D F#7 D
  H: "[d4,a4]@3 [a3,f#4]@2 [a3,f#4]@2 ~@5", I: "~@2 [c#4,a4] [c#4,a4]@2 [c#4,a4] [a3,e4]@2 [e3,c#4]@3 [e3,c#4]",
  J: "[g#3,d4]@3 [e3,b3]@2 [e3,c#4]@3 ~@4", // G#dim E5 C#m
  K: "[~@2 [a3,f#4]!2 f#3 [a3,f#4]@2 ~@4 [d4,a4]@3 [a3,f#4]!2 [f#3,e4] [a3,f#4]@2 ~@5, ~@8 e4 ~@39]/2", // D D5 D F#7 D
  L: "[a3,f#4]@4 [a3,f#4]@2 [f#3,e4]@4 [a3,f#4]@4 ~@7 [a3,f#4] f#4@2, ~@22 a3 ~", // D F#7 D
  M: "[d4,a4]@3 [a3,f#4]@2 [a3,f#4]@3 ~@4", N: "[g#3,d4]@3 [e3,b3]@2 [e3,c#4]@4 ~@3",
  O: "~@2 [a3,f#4] [a3,f#4]@2 [f#3,e4] [a3,f#4]@3 [a3,g4]@2 [a3,f#4]", P: "~@2 c#4 c#4@2 c#4 a3@2 e3 e3@2 e3",
  Q: "g#3@3 e3@2 e3@7", R: "~@2 [c#4,a4] [c#4,a4]@2 [c#4,f#4] [a3,e4]@2 [e3,c#4] [e3,c#4]@2 [e3,c#4]",
  S: "[[g#3,d4]@3 [e3,b3]@2 [e3,c#4]@13 ~@6]/2", // G#dim E5 C#m
})).s("gm_flute").gain(0.3).pan(0.4)

// other · clavinet
const clavinet = note("<~@25 A@2 B@2 ~@16 A@6 ~@20 A@14 ~>".pickRestart({
  A: "[~@6 a2@41 ~]/2", B: "[~ a2@6 ~]/2",
})).s("gm_clavinet").gain(0.44).pan(0.6)

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

// drums · rim
const rim = s("rim").struct("<~@25 A ~ A ~@17 A ~ A ~ A ~@21 A ~ A ~ A ~ A ~ A ~ A ~@4>".pickRestart({
  A: "~ x ~@2",
})).gain(0.55)

// drums · snare
const snare = s("sd").struct(`<
  ~@30 A ~ A ~ A ~ A B@5 C ~ A ~@3 A ~ A ~ A ~ A ~ A ~ A B@5 C ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~@3
>`.pickRestart({
  A: "~@8 x!2 ~@2", B: "~ x ~ x", C: "~@3 x ~@4 x!2 ~@2",
})).gain(0.49)

// drums · hihat
const hihat = s("hh").struct(`<
  ~ A@8 B C B@6 D E D F D E G@2 D F D F D E D@12 G@2 B C B@4 D@14 G@6 H ~ H ~ H ~ H ~ H ~ H ~ G ~@2
>`.pickRestart({
  A: "x ~@2 x ~ x!2 ~@2 x ~ x", B: "~ x ~ x", C: "~@3 x ~@4 x!2 ~@2", D: "x!4", E: "x ~@2 x ~@2 x ~ x!2 ~@2",
  F: "x ~@2 x ~@4 x!2 ~@2", G: "x", H: "x!2 ~@2",
})).gain(0.33)

// drums · open hat
const open_hat = s("oh").struct("<~@83 [~ x ~@2] ~@2>").gain(0.49)

stack(acoustic_guitar_steel, bass, electric_guitar_jazz, flute, clavinet, kick, rim, snare, hihat, open_hat)