Strudelify

Angel of Mine

Duval

KeyC majorTempo52 bpm
0:00/0:00
// Angel of Mine — Duval
// 52 bpm, 4/4, key C 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: Full arrangement: all 59 bars on a 24-step grid, each part at one level. Source detail keeps the original performance.
setcpm(52/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 · "FRETLESS"
const bass = note(`<
  ~@6 A B C D E F G H@2 B C D E F G I B C D E F G I J K L M N O P Q B C D E F R B C D E F G I ~ S T S T S U@2 ~
>`.pickRestart({
  A: "~@12 g2 ~ g2 ~ g2 ~ g2 ~ g2 ~ g2 ~", B: "c2@9 ~ c2 ~ c2@8 ~@2 c2 ~", C: "f2@8 ~@2 f2 ~ f2@9 ~ f2 ~",
  D: "c2@9 ~ c2 ~ c2@7 ~ c2@2 e2@2", E: "f2@10 c2@2 f2@9 ~ f2 ~", F: "c2@9 ~ c2 ~ c2@7 ~ c2@2 a2@2",
  G: "g2@8 ~@2 g2 ~ g2@9 ~ g2 ~", H: "f2/2", I: "f2", J: "g2@10 ~@2 g2@9 ~@3", K: "d2@5 ~ d2@5 ~", L: "g2@3 ~ g2@3 ~",
  M: "d2@9 ~@3 d2@11 ~", N: "c2@5 g2 d#3@6", O: "g2@10 d2@2 a#2@11 ~", P: "g#2@10 d#2@2 c3@11 ~",
  Q: "g2 ~ g2 ~ g2 ~ g2 ~ g2 ~ g2 ~ g2 ~ g2 ~ g2 ~ g2 ~ g2 ~ g2 ~", R: "g2@8 ~@2 g2 ~ g2 ~ g2 ~ g2@2 g2@2 g2 ~ g2@2",
  S: "c2!2", T: "f2!2", U: "[g2@12 g2@31 ~@5]/2",
})).s("gm_fretless_bass").gain(0.39)

// chords · string ensemble 2 · "SLOWSTRING"
const string_ensemble_2 = note(`<
  ~ A B A C D E A B A C D F@3 A B A C D E G A B A C D E G H I J K L M N O P@2 Q R D E A S@3 D F@3 A B A C D T@2 ~
>`.pickRestart({
  A: "[g3,c4,e4]", B: "[a3,c4,f4]", C: "[a3,f4], c4@11 ~", D: "[c4,e4,g4]", E: "[b3,d4,g4]@23 ~",
  F: "[[b3,d4,g4]@23 [a3,c4,f4]@40 ~@9]/3", G: "[a3,c4,f4]@11 ~", H: "[d4,g4], a#3@19 ~@5", I: "[a3,d4,f4]@11 ~",
  J: "[a#3,d4]@11 ~, g4", K: "[a3,d4]@7 ~, f4", L: "[g3,c4,d#4]@23 ~", M: "[a#3,d4,g4]", N: "[g#3,d#4], c4@11 ~",
  O: "[b3,d4,g4]", P: "[~ [a3,c4,f4], [g3,c4,e4]@12 a5@11 ~, ~@2 c7@43 ~@3]/2", Q: "c5@2 d5 e5, [g3,c4,e4]",
  R: "[c4,a5,c7]@11 ~, [a3,f4]", // F Dm
  S: "[~@6 a5@17 ~ [g3,c4,e4]@24 [a3,f4]@24, [a3,c4,f4]@2 g5@3 ~, ~@6 c7@65 ~, ~@24 c4@11 ~]/3", // C Dm F
  T: "[[b3,d4,g4]@31 ~@17]/2", // G
})).s("gm_string_ensemble_2").gain(0.15)

// chords · piano · "A.PIANO 1"
const piano = note(`<
  A@2 B A B A C D E D E D F G@2 D E D E D F H D E D E D F H I J I J K I L M D E D E D F D E D E D F N ~ O P@2 Q R S@3
>`.pickRestart({
  A: "[g4,c5,e5]!4", B: "[a4,c5,f5]!4", C: "[g4,b4,d5]!4",
  D: "[g4,c5,e5]@3 [g4,c5,e5]@3 [g4,c5,e5]@3 [g4,c5,e5]@2 [g4,c5,e5]", // C
  E: "[a4,c5,f5]@3 [a4,c5,f5]@3 [a4,c5,f5]@3 [a4,c5,f5]@2 [a4,c5,f5]", // F
  F: "[g4,b4,d5]@3 [g4,b4,d5]@3 [g4,b4,d5]@3 [g4,b4,d5]@2 [g4,b4,d5]", G: "[[f4,a4,c5]@5 ~]/2", H: "[f4,a4,c5]@13 ~@11",
  I: "[g4,a#4,d5]!4", J: "[f4,a4,d5]!4", K: "[d#4,g4,c5]!4", L: "[d#4,g#4,c5]!4",
  M: "[g4,b4,d5]@3 [g4,b4,d5]@3 [g4,b4,d5]@3 [g4,b4,d5]@2 ~", N: "[f4,a4,c5]",
  O: "~@3 c5@5 c5 ~@2 g5, e5@17 ~ f5@6, ~@2 c4@15 ~@7, ~@4 g4@13 ~@3 g4@4",
  P: "[a4@12 ~@10 c5 ~@23 g5@2, ~@23 d5@17 g4@2 f5@2 g4@4, ~ e5, ~@13 c4@2 c5@3 g4 c5@5, ~@14 g4@3 c4@7]/2",
  Q: "~@18 f5@2 f5@2 f5 ~, a4@14 a4@9 ~, ~@4 c4@6 c4@6 c4@7 ~, ~@6 f4@6 f4@11 ~", R: "~@2 e5 e5@6 e5!3, f5 ~@3",
  S: "[~@2 d5 ~@5 g4@24 ~@4, e5 d5@8 ~@3, ~@5 d4@24 ~@7, ~@3 g4 ~@14, ~@7 b4@24 ~@5]/3",
})).s("gm_piano").gain(0.26)

// other · electric guitar jazz · "JAZZ GTR"
const electric_guitar_jazz = note(`<
  ~@2 A B C@2 ~@2 D ~ E ~ F ~@2 G H I J K L M N O P Q R S ~@10 T ~ U V W ~ X ~ Y ~ Z AA ~@9
>`.pickRestart({
  A: "~@6 d5@5 ~ d5@4 ~@2 g4@2 a4@2 c5@2", B: "c5@23 ~", C: "[~@12 e5@4 d5 ~ d5@8 ~@22]/2", D: "~@6 c5@4 g4 ~ g4@7 ~@5",
  E: "~@6 f5@6 c5@7 ~@5", F: "~@8 a4@4 g4@7 ~@5", G: "e5@17 ~ f5@3 ~ g5@2", H: "a4@11 ~@13", I: "e5@16 ~@2 f5@3 ~ g5@2",
  J: "a4@17 ~ f5 ~ f5 ~ f5 ~", K: "f5@3 ~ e5 ~ e5@8 ~@4 e5@5 ~", L: "e5@4 d5 ~ d5@9 ~@3 d5@5 ~",
  M: "d5@4 c5 ~ c5@14 ~@4", N: "~@4 g4@4 e4 ~ d4@4 c4 ~ c4@6 ~@2", O: "~@4 a4@3 c4 f4 c4 a4@2, ~@3 a3@2 ~@7",
  P: "~@2 g4@3 ~ d4@4 c4 ~ c4@6 ~@6", Q: "~@6 a3 c4 f4@13 ~@3", R: "~@6 g4@2 ~@2 d4@4 c4 ~ c4@7 ~",
  S: "~@4 c4@2 b3@3 ~@3", T: "~@6 d5@4 ~@2 d5@3 ~@2 a4@5 ~@2", U: "~@5 f5@5 c5 ~ c5@10 ~@2", V: "~@4 f5@3 ~",
  W: "~@4 e5@3 ~", X: "~@4 c5@4 g4 ~ g4 ~ g4@4 a4@2 c5@4 ~@2", Y: "~@5 g5@5 f5@7 ~@7", Z: "~@5 b4 a4@3 ~@3",
  AA: "~ c5@3",
})).s("gm_electric_guitar_jazz").gain(0.21)

// other · electric guitar jazz · "JAZZ GTR"
const electric_guitar_jazz_2 = note("<~@16 A ~ B ~ C ~@31 D E F ~@4>".pickRestart({
  A: "~@6 a4@2 c5 ~ c5 ~ c5@5 ~ c5@4 ~@2", B: "~@4 f5 ~ c5@5 ~ c5@10 ~@2", C: "~@8 d5 ~ b4@4 a4@3 ~@7",
  D: "~@6 d5@5 ~ d5@4 ~@2 g4@2 a4@2 c5@2", E: "c5@3 ~@5", F: "~@4 d5@2 c5@5 ~",
})).s("gm_electric_guitar_jazz").gain(0.18).pan(1)

// other · viola
const viola = note("<~@44 [~@2 c4 b3] ~@5 [~@2 c4 b3] g3 ~@7>").s("gm_viola").gain(0.17)

// other · distortion guitar · "DISTORTION"
const distortion_guitar = note("<~@29 A B C D E F G H ~@22>".pickRestart({
  A: "g4@17 ~ g4@4 a4@2", B: "f4@10 ~@2 a4 c5@3 c5@5 ~@3", C: "g4@8 ~ g4@2 a4", D: "f4@17 ~ f4@4 d#4 ~",
  E: "d#4@17 ~ d#4@5 c4", F: "d4@17 ~ d4@2 f4 ~ d4@2", G: "c4@17 ~ c4@3 ~ c4@2", H: "d4@11 ~ d5@5 b4 e5@5 ~",
})).s("gm_distortion_guitar").gain(0.28)

// chords · drawbar organ · "ORGAN 1"
const drawbar_organ = note("<~@29 A B A C D A E F ~@22>".pickRestart({
  A: "[d5,g5,a#5]", B: "[d5,f5,a5]", C: "[d5,f5]@11 ~, a5", D: "[c5,d#5,g5]", E: "[c5,d#5,g#5]", F: "[d5,g5,b5]@23 ~",
})).s("gm_drawbar_organ").gain(0.13)

// other · pad new age · "FANTASIA"
const pad_new_age = note("<~@13 A B ~@6 C ~@6 D ~@20 E B ~@8>".pickRestart({
  A: "~@11 d3 e3 [f3,g3] [a3,b3] [c4,d4] [e4,f4,g4] [a4,b4] [c5,d5] [e5,f5,g5] [a5,b5] [c6,d6] [e6,f6] [g6,a6]", // Fsus2 Asus2 Csus2 Em Asus2 Csus2 Em Asus2 …
  B: "[b6,c7] [d7,e7] [f7,g7] ~@4 f7@16 ~, ~@2 c6@21 ~, ~@3 f6@20 ~, ~@5 a6@18 ~, ~@6 c7@17 ~", C: "[c6,f6]",
  D: "~ [c6,f6], ~@7 f4@17, ~@8 a4@3 a5@13, ~@9 c5@14 ~, ~@10 f5@13 ~", // F5
  E: "~@11 d3 e3 [f3,g3] [a3,b3] [c4,d4,e4] [f4,g4] [a4,b4] [c5,d5] [e5,f5,g5] [a5,b5] [c6,d6] [e6,f6] [g6,a6]", // Fsus2 Asus2 C Fsus2 Asus2 Csus2 Em Asus2 …
})).s("gm_pad_new_age").gain(0.13)

// chords · acoustic guitar steel · "STEEL GTR"
const acoustic_guitar_steel = note(`<
  ~@7 A B A B A C D@2 E F E F E G H ~@14 I E F E F E G E F E F E G J ~@9
>`.pickRestart({
  A: "[e3,g3,c4,e4]@7 ~, c3", B: "[f2,c3,f3,a3,c4], f4@11 ~", C: "[g2,b2,d3,g3,b3], g4@11 ~",
  D: "[[f2,c3,f3,a3,c4,f4]@5 ~]/2", // F
  E: "[e3,g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@5 C D ~ B@5 C D B@5 C D@8 A B@5 E B@5 C D ~@9>".pickRestart({
  A: "~@6 x!6", B: "x ~@4 x!2 ~@5", C: "x ~@4 x!2 ~@4 x", D: "x", E: "x ~@4 x ~@6",
})).gain(0.66)

// drums · snare
const snare = s("sd").struct("<~@7 A@6 ~@2 A@6 ~ A@6 ~ B@7 ~ A@5 B A@6 ~@10>".pickRestart({
  A: "~ x ~ x", B: "~ x ~@2",
})).gain(0.66)

// drums · hihat
const hihat = s("hh").struct("<~@7 A@6 ~@2 B A@5 ~ B A@5 ~@9 B A@4 C B A@5 ~@10>".pickRestart({
  A: "x!12", B: "~ x!11", C: "x!6 ~@6",
})).gain(0.22)

// drums · low tom
const low_tom = s("lt").struct("<~@36 [x!12] ~@5 [~@22 x!2] ~@16>").gain(0.44)

// drums · mid tom
const mid_tom = s("mt").struct("<~@42 [~@20 x!2 ~@2] ~@16>").gain(0.66)

// drums · crash
const crash = s("cr").struct("<~@13 A ~ A ~@5 A@2 ~@5 A ~@8 A ~@5 A ~@5 A ~@9>".pickRestart({
  A: "x",
})).gain(0.44)

// drums · high tom
const high_tom = s("ht").struct("<~@42 [~@12 x ~ x ~ x ~ x!2 ~@4] ~@16>").gain(0.59)

stack(
  bass, string_ensemble_2, piano, electric_guitar_jazz, electric_guitar_jazz_2, viola, distortion_guitar, drawbar_organ,
  pad_new_age, acoustic_guitar_steel, kick, snare, hihat, low_tom, mid_tom, crash, high_tom
)