Strudelify

Hold On My Heart

Genesis

KeyG minorTempo87 bpm
0:00/0:00
// Hold On My Heart — Genesis
// 87 bpm, 4/4, key G minor. 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: Full arrangement: all 100 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(87/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 · fretless bass · "GMHOLDON"
const bass = note(`<
  ~ A B C D E F G H I J K L M N O P J Q R L A S T U V W X Y A Z AA P AB W I AC AD AE@2 AF AG AH AI AJ A AK A AL P Z AM
  AN AO AP AQ AR AL AS Z AS AT A AU AO AV A AP AW AX L AB R L AI Z AY AZ AB Q BA L BB BC BD BE AB BF AB Q BA BE BA BG AB
  BF AB BH@2 ~
>`.pickRestart({
  A: "g1@7 g1", B: "g1@14 c2 d2", C: "g1@15 g1", D: "g1@10 ~@2 g1@3 ~", E: "g1@14 ~ g1", F: "g1@13 ~ c2 d2",
  G: "g1@11 ~ g2@4", H: "g1@11 ~ d2@4", I: "eb2@13 ~ bb1@2", J: "eb2@15 ~", K: "eb2@13 ~ bb1 c2", L: "eb2",
  M: "g1@12 g2@3 g1", N: "f1@12 f1@2 g1 ab1", O: "c2@11 ~ g2@2 bb2 ~", P: "c2@3 c2", Q: "eb2@11 bb2 eb3@2 bb2@2",
  R: "eb2@7 bb1", S: "c2@7 eb2", T: "f2@11 ~ f2@4", U: "~@3 eb3@4 bb1, eb2@7 ~", V: "eb2@14 ab2 bb2",
  W: "eb2@11 bb2 eb3!2 bb2@2", X: "eb2@11 ~@3 bb1@2", Y: "eb2@12 eb2@3 ~", Z: "f1@7 f1", AA: "c2@11 ~ c2@4",
  AB: "eb2@7 bb2", AC: "eb2@3 eb2", AD: "g1@7 bb1", AE: "[c2@13 ~@2 f2@13 ~@2 d2@2, ~@7 c2 ~@8]/2", AF: "g2@3 g2",
  AG: "g1@7 f1", AH: "g1@9 g1@3 g1@4", AI: "g1", AJ: "g1@9 ~ g2 a2 d2 e2 g2@2", AK: "g1@12 g1@3 ~", AL: "g1@3 g1",
  AM: "c2", AN: "f1@7 ~", AO: "g1@7 g2", AP: "g1@11 ~ g1@3 ~", AQ: "g1@10 g2 a2 b2@2 d3@2", AR: "g2@13 ~ g1 ~",
  AS: "c2@15 ~", AT: "f1", AU: "g1@11 ~ g1@4", AV: "g1@15 d2", AW: "g1@13 ~ g1@2", AX: "g1@6 g1 d2", AY: "c2@14 c3 g2",
  AZ: "c2@6 g2 bb2", BA: "eb2@6 eb3 bb2", BB: "g1@6 g1!2", BC: "c2@7 c2", BD: "f2", BE: "eb2@3 bb1", BF: "eb2@3 eb3",
  BG: "eb2@10 eb3@5 bb2", BH: "eb2/2",
})).s("gm_fretless_bass").gain(0.65)

// chords · synth strings 1 · "SYNTH STR"
const synth_strings_1 = note(`<
  ~ A@8 B@3 C D E@3 B@3 C F@2 G C B@3 C D E@3 B@3 C H@4 I J K L M N O P Q O Q O P O P O P Q O Q O A@8 B@3 C D E@3 B@3 C
  F@2 G C R@8 S@5 ~
>`.pickRestart({
  A: "[eb4 d4 eb4 d4 d4@4, [ab3,c4]]/8", B: "[[ab3,c4] bb3 [ab3,c4], [eb4,g4]]/3", C: "[g3,bb3,d4,f4]",
  D: "[bb3,d4,f4,bb4]", E: "[[ab3,c4,ab4] g4 [d4,f4], eb4@2 ~, ~ [g3,bb3]@2]/3", F: "[[d4,f4] [eb4,g4], [bb3,bb4]]/2",
  G: "[ab3,c4,d4,ab4]", H: "[[d4,f4,d5] [eb4,g4] [ab3,ab4] [g3,g4], bb4 d4, ~ c4@3]/4", I: "[c3,f3,a3,c4]",
  J: "[d3,g3,b3,d4]", K: "[e3,g3,c4,e4]", L: "[g3,b3,d4,g4]", M: "[a3,c4,f4,a4]", N: "[b3,d4,g4,b4]",
  O: "[c4,f4,a4,c5]", P: "[d4,g4,b4,d5]", Q: "[eb4,g4,bb4,d5]", R: "[[ab3,c4] bb3 [ab3,c4] bb3, [eb4,g4]]/4",
  S: "[[ab3,c4] bb3 [ab3,c4] bb3@2, [eb4,g4]]/5", // Ab Eb
})).s("gm_synth_strings_1").gain(0.23)

// other · pad bowed · "BOWED GLA"
const pad_bowed = note("<~@3 A B C D E F ~@53 G D H B G I J K ~@30>".pickRestart({
  A: "g5@2 c6 d6", B: "eb6 d6", C: "g5@7 ~", D: "f5@7 ~", E: "ab5@2 bb5 c6", F: "d6 eb6", G: "g5", H: "g5 c6", I: "c6",
  J: "bb5", K: "c6@2 d6 eb6",
})).s("gm_pad_bowed").gain(0.35).pan(0.7)

// other · pad bowed · "BOWED GLA"
const pad_bowed_2 = note(`<
  ~ A@3 ~ B C D E F@3 ~@50 A@3 ~ G@4 F@3 ~@5 H@2 B C I B D C J K L I L M L I L J L N@2 ~
>`.pickRestart({
  A: "[g7@7 ~]/3", B: "g5", C: "f5", D: "ab5", E: "g5 ~", F: "[eb7@7 ~]/3", G: "[~@3 g6@4 c7@4 bb6@5]/4", H: "g5/2",
  I: "bb5", J: "eb6", K: "g6", L: "c6", M: "g6 bb5", N: "[bb5@19 ~@13]/2",
})).s("gm_pad_bowed").gain(0.48).pan(0.3)

// other · electric guitar muted · "MUTED GUI"
const electric_guitar_muted = note(`<
  ~ A B C D B@3 E F@5 G H I F@5 G H I F@5 G H I F@5 G J K ~@21 A B C B@4 E F@5 G H I F@5 G H I F@12 L ~
>`.pickRestart({
  A: "eb4 ~ eb4!2 ~ eb4 ~ eb4 ~ eb4!4 ~ eb4 ~", B: "d4 ~ d4!2 ~ d4 ~ d4 ~ d4!4 ~ d4@2",
  C: "eb4 ~ eb4!2 ~ eb4 ~ eb4 ~ eb4!4 ~ eb4@2", D: "d4 ~ d4!2 ~ d4 ~ d4 ~ d4!4 ~ d4 ~",
  E: "d4 ~ d4!2 ~ d4 ~ d4 ~ d4!4 ~ eb4 f4", F: "g4!4 ~ g4 ~ g4 ~ g4 f4 ~ eb4 ~ eb4 f4",
  G: "eb4!4 ~ eb4 ~ eb4 ~ eb4 f4 eb4!2 ~ eb4 ~", H: "d4!4 ~ eb4 ~ f4 ~ f4 eb4 ~ d4 ~ eb4 ~",
  I: "eb4!3 f4 ~ f4 ~ f4 ~ f4!4 ~ eb4 f4", J: "d4 ~ d4!2 ~ eb4 ~ f4 ~ f4 ~ f4 eb4 ~ d4 ~",
  K: "f4 ~ f4!4 ~ f4 ~ f4!3 eb4 ~ d4 ~", L: "g4",
})).s("gm_electric_guitar_muted").gain(0.32).pan(0.3)

// other · electric guitar jazz · "MELLOW GU"
const electric_guitar_jazz = note(`<
  ~@49
  [g4@13 f4@2 eb4]
  [d4 eb4 d4 c4 bb3 c4@9 eb4@2]
  [g4@13 f4@2 eb4]
  [d4 eb4 d4 c4 bb3 c4@11]
  ~@47
>`).s("gm_electric_guitar_jazz").gain(0.45)

// chords · distortion guitar · "DISTORTED"
const distortion_guitar = note("<~@41 A@4 B@2 A@2 ~@4 A@4 C D E D F ~@38>".pickRestart({
  A: "[[d4,g4]@5 ~@2 g4@2 ~@2 g4@2 ~@2 g4@17, ~@5 g4@2 ~@2 g4@2 ~@2 g4@2 ~@17, ~@3 d4@2 d4@2 d4@9]/2", // G5
  B: "[[g3,d4,g4]@2 [f3,c4,f4] [e3,a3,b3,d4,e4] ~@3 g4@25, ~@5 g3@27, ~@3 d4@13]/2", C: "[g3,d4,g4]@3 ~ [g3,d4,g4]@12",
  D: "g4@13 f4@2 eb4", E: "d4 eb4 d4 c4 bb3 c4@5 f3 g3 bb3 c4 eb4 f4", F: "d4 eb4 ~ d4 c4@12",
})).s("gm_distortion_guitar").gain(0.32).pan(0.7)

// chords · distortion guitar · "DISTORTED" · soft notes · Csus2 Fmaj7 Dsus2
const distortion_guitar_soft = note(`<
  ~@45
  [~@3 [c3,d3,g3,c4] [f2,g2,a2,b2,c3,d3,e3,f3,gb3,g3,a3,b3] [d2,e2,a2,b2,d3,e3] ~@10]
  ~@54
>`).s("gm_distortion_guitar").gain(0.14).pan(0.7)

// other · synth strings 2 · "SYNTH STR"
const synth_strings_2 = note(`<
  ~ A B C D A B E A F@3 B G E A B F@3 B H@2 E B F@3 B G E A B F@3 B H@2 E A I D J A K L M N@2 M N M N M N M N@2 M N M A
  B C B A B E A F@3 B G E A B F@3 B H@2 E B O@8 ~@6
>`.pickRestart({
  A: "g4", B: "f4", C: "eb4", D: "d4", E: "ab4", F: "g4/3", G: "bb4", H: "bb4/2", I: "c4", J: "e4", K: "a4", L: "b4",
  M: "c5", N: "d5", O: "g4/8",
})).s("gm_synth_strings_2").gain(0.23)

// drums · kick
const kick = s("bd").struct("<~ x!40 [x ~@6 x]!2 x!3 [x ~@6 x]!2 x!51 ~>").gain(0.43)

// drums · snare
const snare = s("sd").struct("<~ [~ x ~ x]!97 ~@2>").gain(0.43)

// drums · snare · soft notes
const snare_soft = s("sd").struct("<~ [~@5 x ~@7 x ~@2]!97 ~@2>").gain(0.21)

// drums · low tom
const low_tom = s("lt").struct("<A ~@7 B ~@31 A ~@7 C ~@20 D ~@27 B ~@2>".pickRestart({
  A: "~@14 x!2", B: "~@7 x", C: "~@9 x!2 ~ x ~@3", D: "~@13 x!2 ~",
})).gain(0.57)

// drums · hihat
const hihat = s("hh").struct(`<
  ~ A B C D E@2 F E G B H D E@2 F E I B J D E@2 K E L B C D E@2 F E M F N O E@2 K E P B N D Q B R D Q F S D E@2 K E D Q
  B S D I B T U M V J D P B H D E@4 I F N U E@2 K E L F H U M V H D I F C O ~@2
>`.pickRestart({
  A: "x ~ x!14", B: "x!5 ~ x!3 ~ x!6", C: "x ~ x ~ x!12", D: "x!13 ~ x!2", E: "x!16", F: "x!5 ~ x!10",
  G: "x ~ x!3 ~ x!3 ~ x!6", H: "x ~ x ~ x!3 ~ x!8", I: "x ~ x!5 ~ x ~ x!6", J: "x!3 ~ x!11 ~", K: "x!5 ~ x!9 ~",
  L: "x ~ x!3 ~ x ~ x ~ x!3 ~ x!2", M: "x ~ x!7 ~ x!6", N: "x!3 ~ x!12", O: "x!11 ~ x ~ x!2",
  P: "x ~ x!3 ~ x ~ x ~ x!6", Q: "x ~ x!5 ~ x ~ x!3 ~ x!2", R: "x ~ x ~ x!11 ~", S: "x!3 ~ x!3 ~ x!8",
  T: "x ~ x ~ x!3 ~ x!7 ~", U: "x!5 ~ x!7 ~ x!2", V: "x!5 ~ x ~ x ~ x!6",
})).gain(0.29)

// drums · hihat · soft notes
const hihat_soft = s("hh").struct(`<
  A B C D E ~@2 F ~ G C H E ~@2 F ~ I C J E ~@2 K ~ L C D E ~@2 F ~ M F N O ~@2 K ~ P C N E Q C R E Q F S E ~@2 K ~ E Q
  C S E I C T U M V J E P C H E ~@4 I F N U ~@2 K ~ L F H U M V H E I F D O ~@2
>`.pickRestart({
  A: "x!2 ~@2", B: "~ x ~@14", C: "~@5 x ~@3 x ~@6", D: "~ x ~ x ~@12", E: "~@13 x ~@2", F: "~@5 x ~@10",
  G: "~ x ~@3 x ~@3 x ~@6", H: "~ x ~ x ~@3 x ~@8", I: "~ x ~@5 x ~ x ~@6", J: "~@3 x ~@11 x", K: "~@5 x ~@9 x",
  L: "~ x ~@3 x ~ x ~ x ~@3 x ~@2", M: "~ x ~@7 x ~@6", N: "~@3 x ~@12", O: "~@11 x ~ x ~@2",
  P: "~ x ~@3 x ~ x ~ x ~@6", Q: "~ x ~@5 x ~ x ~@3 x ~@2", R: "~ x ~ x ~@11 x", S: "~@3 x ~@3 x ~@8",
  T: "~ x ~ x ~@3 x ~@7 x", U: "~@5 x ~@7 x ~@2", V: "~@5 x ~ x ~ x ~@6",
})).gain(0.14)

// drums · mid tom
const mid_tom = s("mt").struct("<A ~@7 A ~@31 B ~@7 C ~@20 D ~@23 E ~@3 F ~@2>".pickRestart({
  A: "~@12 x!2 ~@2", B: "~@13 x ~@2", C: "~@5 x ~ x ~@8", D: "~@5 x ~@2", E: "~@7 x", F: "~@3 x",
})).gain(0.57)

// drums · high tom
const high_tom = s("ht").struct("<A ~@7 B ~@31 C ~@7 D ~@20 E ~@23 F ~@3 G ~@2>".pickRestart({
  A: "~@9 x!3 ~@4", B: "~@9 x ~ x ~@4", C: "~@9 x ~ x!2 ~@3", D: "~ x ~@6", E: "~@9 x ~@6", F: "~@7 x ~ x ~ x ~@4",
  G: "~@11 x ~@4",
})).gain(0.64)

// drums · ride
const ride = s("rd").struct("<~@63 [x ~ x!2] [x!2]!2 ~@32 x ~>").gain(0.57)

// drums · splash
const splash = s("cr").struct("<~ A ~@7 A ~@39 A ~@8 A@2 B ~ A ~@3 C@3 A ~@19 D ~ E ~@8>".pickRestart({
  A: "x", B: "~@13 x!3", C: "x ~@2 x ~@2 x ~@9", D: "~@15 x", E: "~@13 x ~ x",
})).gain(0.57)

// drums · congas
const congas = s("conga:18").struct("<~ [~@3 x ~@3 x]!97 ~@2>").gain(1.37)

// drums · congas
const congas_2 = s("conga:33").struct(`<
  ~ A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B@2 A
  B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B A B ~@2
>`.pickRestart({
  A: "~@5 x ~@9 x", B: "~@3 x ~@3 x ~@3 x ~ x ~ x",
})).gain(1.37)

// drums · triangle
const triangle = s("triangles:35").struct("<~@70 x ~@7 x ~@7 x ~@13>").gain(3.11)

stack(
  bass, synth_strings_1, pad_bowed, pad_bowed_2, electric_guitar_muted, electric_guitar_jazz, distortion_guitar,
  distortion_guitar_soft, synth_strings_2, kick, snare, snare_soft, low_tom, hihat, hihat_soft, mid_tom, high_tom, ride,
  splash, congas, congas_2, triangle
)

More by Genesis