Strudelify

In Your Eyes

Niamh Kavanagh

KeyA majorTempo70 bpm
0:00/0:00
// In Your Eyes — Niamh Kavanagh
// 70 bpm, 4/4, key A 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: Full arrangement: all 54 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(70/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.

// chords · epiano2 · "E.PIANO 2"
const epiano2 = note(`<
  A B C D E@2 F@2 G H I J K L M N O P@2 Q R S T U V@2 W@2 X Y Z AA AB AC AD AE AF AG AH AI AJ AK AL AM AN AO AP AQ AR AS
  AT@2 AU AV
>`.pickRestart({
  A: "g4@2 f#4 ~@4 b3, g2@13 a3@3, [b3,d4]@3 g4@5, ~@7 d4@9, ~@7 b3@5 g3@4", // Bm
  B: "b3@2 c4 a3@9 ~@2 b4@2, [g2,e3,g3]@3 [g2,d4,f#4,a4]", // C D
  C: "~@4 f#4@2 ~ d4@5 ~@2 b3@2, g2@13 c4@3, [b3,d4,g4]@3 g4@5, ~@7 g3@9, ~@7 b3@5 d4@4", // G
  D: "b3@2 c4 a3@13, [g2,e3,g3]", // C
  E: "[g3@3 ~@9 d4@3 [f#2,f#3,a3,d4,f#4], [g2,a3,d4,f#4]@7 b3@9 ~@16, ~@3 g3@4 g3@4 g3@5, ~ [g2,d4,g4] [g2,a3,d4,f#4] [g2,b3,g4]]/2", // D G5 D G
  F: "[e3@6 ~ b3 ~@22 e3@2, [e2,a3,d4,f#4]@8 [e2,b3,e4,g4]@7 a3@8 b3@9, ~@3 e3@4 e3@4 e3@4 ~, ~@2 [e2,d4,f#4] [e2,e4,g4]]/2", // D Em D Em
  G: "g3@6 ~ c4 [b2,b3,d4]@8, [a2,c4,e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 e4, [c#2,c#3,c#5,e5], [e4,g#4]@7 g#4@9, ~@5 b4@11", // C#m E
  AI: "[f#2,f#3,b3,e4,g#4] ~ [f#2,f#3]@4 [f#2,f#3,a#3,c#4,e4,f#4]@10, ~ [b3,g#4] ~@6, ~@2 e4 ~@13", // E F# F#7 E
  AJ: "~ a3, [b2,f#4,a4], [a3,c#4]@7 c#4@9, ~@5 e4@11", AK: "a4@7 ~ [f#5,a5]@8, [e2,e3,a3,d4,f#4], ~@7 [a4,d5]@9",
  AL: "[a2,a3,e4,a4,c#5]@2 [g#2,g#3,e4,g#4,b4] [f2,f3,g#4,b4,d5]", // A E Fdim
  AM: "~@9 e4@7, [f#2,f#3,c#5], e4@9 ~@7, a4@7 a4@9, ~@5 e5@11", // F#5
  AN: "[b2,d4,f#4,a4] ~ [e2,e3,d4,f#4,a4] [d2,d3,e4,g#4,b4]", AO: "~@3 c#4, [c#2,c#3,b4,c#5], e4!2, ~ g#4@3",
  AP: "f#3@3 ~ [f#2,a#3,c#4,f#4]@4, [f#2,b3,e4,g#4] ~, ~@3 f#3@5", AQ: "~@3 e4, [b2,a3,f#4], c#4!2, ~ a4@3",
  AR: "~ a4@3, [e2,e3,a3,d4,f#4]", AS: "~@7 c#5, [a2,a3]@12 a4 b4@3, c#5@7 e5@9, a4@3 a5@5, a5 g#5@3",
  AT: "[~@2 b4@2 ~@11 c#5, [d3,f#4,a4,c#5]@8 [e3,e4,g#4]@7 a3@8 e5@5 a4 b4@3, ~ d5@3 ~ b3@3 a2@8, ~@6 e5@2 c#5@3 a5@5, ~@7 g#3 [a4,a5]@2 g#5@6]/2", // Dmaj7 E A
  AU: "~@3 a4 ~@3 b4, [d3,a3,f#4,c#5] [e3,g#3,b3,g#4], a4@3 ~@2 e4@3, ~ d5@3 ~@2 e5@2, ~ b4 ~@2", // Dmaj7 E
  AV: "[a2,a3,e4,a4,c#5]", // A
})).s("gm_epiano2").gain(0.26)

// bass · fretless bass · "FRETLESS"
const bass = note(`<
  A B A@2 C D E F G H I J K L M N O P Q R S T U V W X Y Z AA AB AC J AD AE AF AG AH AI AJ AK AL AM AN AO AP AQ AK AR AS
  AT@2 AU AV AU
>`.pickRestart({
  A: "g1@15 ~", B: "g1@15 g1", C: "g1@7 ~ g1@7 ~", D: "g1@7 ~ g1@7 f#1", E: "e1@7 ~ e1@7 ~", F: "e1@7 ~ e1@7 e1",
  G: "a1@8 b1@7 ~", H: "b1@2 d#2@2 e2@3 e1", I: "a1 b1", J: "d2@6 ~ d2 e2@4 e2@4", K: "a1@7 a1 c#2@7 c#2",
  L: "d2@2 e2 e1", M: "a1@6 ~ a1 c#2@5 ~ c#2@2", N: "d2@7 d2 e2@8", O: "d2 ~ d2@5 d2 c#2 ~ c#2@6",
  P: "b1 ~ b1@6 e2@4 d2@4", Q: "c#2@7 c#2 c#2@6 ~ c#2", R: "f#1@7 f#1 f#1@8", S: "b1@7 ~ b1@3 ~ b1@4", T: "e1@15 ~",
  U: "a1@14 ~ a1", V: "a1@8 d2@3 ~ d2@4", W: "g1@7 g1 g1@8", X: "g1@8 g1@6 ~ f#1", Y: "e1@8 e1@7 e1",
  Z: "e1@8 e1@5 e1@3", AA: "a1@7 a1 b1@7 ~", AB: "b1@4 d#2@4 e2@5 ~ e2@2", AC: "a1@3 a1 b1@4",
  AD: "a1@6 ~ a1 c#2@7 c#2", AE: "d2@6 ~ d2 e2@4 e1@4", AF: "a1@7 a1 c#2@5 ~ c#2@2", AG: "d2@6 ~ d2 e2@6 e2@2",
  AH: "d2 ~ d2@5 d2 c#2 ~ c#2@5 c#2", AI: "b1 ~ b1@4 ~ b1 e2@4 d2@4", AJ: "c#2@7 c#2 c#2@7 c#2",
  AK: "f#1@6 ~ f#1 f#1@8", AL: "b1@7 b1 b1@8", AM: "e1", AN: "a1@2 g#1 f1", AO: "f#1@6 f#1 ~ f#1@4 f#1@4",
  AP: "b1@6 ~ b1 e2@4 d2@4", AQ: "c#2@6 ~ c#2 c#2@6 ~ c#2", AR: "b1@2 b1!2", AS: "e1@7 e1 e1@7 e1", AT: "a1@15 a1",
  AU: "a1", AV: "a1@7 ~ a1@8",
})).s("gm_fretless_bass").gain(0.42)

// chords · string ensemble 2 · "SLOWSTRING"
const string_ensemble_2 = note("<~@2 A@3 ~@3 B@5 C@2 D@2 E@5 ~@2 F@3 G@6 H@2 I@2 J@5 K L@7 M@3 N>".pickRestart({
  A: "[g4@4 f#4@2 g4 ~@11 c4 ~ a3@17 ~@11, b3@3 ~@5, d4@8 e3@9 ~@7, ~@7 g3@25 ~@16]/3",
  B: "[[e3,a3,c4]@2 [g3,d4]@2 [f#3,d#4]@2 g3@2 [a3,c4]@2 [b3,d4]@2 [c4,e4]@2 [d4,f#4,a4] [g#4,b4] a4@2 g#4@2, ~ b3@3 ~@4 c#4@2, ~@6 e4@4 g4@4 ~ e4@5]/5", // Am G5 D#m Am Bm C D G#m
  C: "[[a3,d4,f#4]@3 [b3,g#4] a4@2 g#4@2, ~@3 e4@5, ~ c#4]/2", D: "[d4@2 ~ e4, a3, f#4@3 ~, ~ c#4]/2",
  E: "[b3@2 a3 b3 b4@4 ~@8 d4@3 ~, [d4,f#4]@3 [e4,g#4]@7 f#4@9 ~, ~ c#4@3 ~, ~@12 a3@7 ~]/5", // D E
  F: "[[a3,f#4]@2 [b3,g4]@2 [a3,f#4]@2 [b3,g4] [a3,f#4]@3 ~ b3, d4@5 [g3,e4]]/3", // D Em D Em D C
  G: "[[a3,d4,f#4]@2 [g3,b3]@2 [a3,c4]@2 [d4,g4]@2 [d#4,f#4]@2 g4@2 [c4,a4]@2 [d4,b4]@2 [e4,c5]@2 [f#4,a4,d5] [g#4,b4] a4@2 g#4@2, ~ e4@2 b3@3 ~@4 c#5@2, ~@10 e4@4 g4@4 ~ e5@5]/6", // D G Am G5 D#m F G C …
  H: "[[f#4,a4,d5]@3 [g#4,b4] a4@2 g#4@2, ~@3 e5@5, ~ c#5]/2", I: "[d5@16 d4@8 c#4@2 c4 ~@5, a4, f#4@3 e4]/2",
  J: "[b3@8 a3@4 b3@4 ~@16 b4@8 a#4@8 ~@16 d4@13 ~@3, [d4,f#4]@12 [e4,g#4]@29 ~@7 a4@28 ~@4, ~ c#4@3 ~]/5", // D E
  K: "[c#4,a4]@2 b3 [d4,f4,b4], e4@3 ~, ~ g#4", // F#m Bdim
  L: "[[c#4,a4]@8 b3@4 a3@2 b3@2 ~@16 a3@8 [b3,d4]@8 a4@2 g#4 ~@5, f#4@29 ~@3 c#4@48 ~@16 e4@16, ~@16 d4@12 [e4,g#4]@28 f#4@41 ~@15]/7", // F#m Bm E
  M: "[~@8 [b3,g#4]@8 a4@4 g#4@2 a4 ~@9 d4@8 [b3,e4,g#4]@8, ~ e4@3 ~@2, ~ c#4 ~, ~@23 a3@17 ~@8]/3", N: "[c#4,e4,a4]",
})).s("gm_string_ensemble_2").gain(0.24).pan(0.3)

// chords · string ensemble 2 · "SLOWSTRING" · soft notes
const string_ensemble_2_soft = note("<~@19 A ~@16 B ~@2 C@3 ~@4 A ~@2 D E ~ F ~>".pickRestart({
  A: "~ a#3", B: "~@5 c#4@3", C: "[~@2 f#4@9 ~]/3", D: "~@6 a4 ~@9, c#4", E: "[a3,d4,f#4] ~", F: "f#4 ~",
})).s("gm_string_ensemble_2").gain(0.06).pan(0.3)

// other · string ensemble 1 · "STRINGS"
const string_ensemble_1 = note("<~@16 A B C ~@13 D E F G H I J K ~@3 H I J L ~@2 M@5>".pickRestart({
  A: "a5@3 b5", B: "f#5 g#5 a5 g#5", C: "e5@3 ~", D: "c#6@2 e5 b5", E: "a5@2 d6 c#6", F: "e5@2 b5 e5",
  G: "a5@2 g#5 f#5", H: "a5@2 f#5 e5", I: "a5@4 d6 c#6 b5 a5", J: "g#5", K: "f#5 c#5", L: "f#5@8 c#5@7 ~", M: "a5/5",
})).s("gm_string_ensemble_1").gain(0.27).pan(0.7)

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

// drums · rim
const rim = s("rim").struct("<~@40 [~ x ~ x] ~ [~@4 x ~@6 x ~@4] ~@4 [~ x ~ x] ~@6>").gain(0.54)

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

// drums · low tom
const low_tom = s("lt").struct("<~@11 A ~@15 A ~@3 A ~@10 B ~@11>".pickRestart({
  A: "~@7 x", B: "~@15 x",
})).gain(0.54)

// drums · hihat
const hihat = s("hh").struct("<~@8 A@3 B ~@9 C@2 D A@3 B A@3 B ~@9 E ~@6 E ~@5>".pickRestart({
  A: "x!8", B: "x!6 ~@2", C: "~@4 x ~@3 x ~@3 x ~@2 x", D: "x ~@3 x ~@3 x ~@3 x ~@2 x", E: "~ x!2 ~",
})).gain(0.54)

// drums · mid tom
const mid_tom = s("mt").struct("<~@11 A ~@15 A ~@3 A ~@10 B ~@11>".pickRestart({
  A: "~@13 x ~@2", B: "~@7 x",
})).gain(0.54)

// drums · open hat
const open_hat = s("oh").struct("<~@41 [~@3 x] ~@6 [~@3 x] ~@5>").gain(0.6)

// drums · high tom
const high_tom = s("ht").struct("<~@11 A ~@15 A ~@3 A ~@10 B ~@11>".pickRestart({
  A: "~@3 x", B: "~@12 x!2 ~@2",
})).gain(0.54)

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

// drums · tambourine
const tambourine = s("tb").struct("<~@8 A@3 B A@7 B A ~@3 A@3 B A@3 B A@7 B ~@3 A@3 B ~@7>".pickRestart({
  A: "~ x ~ x", B: "~ x ~@2",
})).gain(0.54)

// drums · ride
const ride = s("rd").struct("<A@8 ~@11 B ~ C D@2 ~@15 B ~@6 B ~@2 A@4 ~>".pickRestart({
  A: "x ~@3 x ~@3 x ~@3 x ~@2 x", B: "~@3 x", C: "x ~@2 x", D: "x",
})).gain(0.42)

// drums · shaker
const shaker = s("sh").struct("<~@12 A@7 B A C ~@10 A@7 B A ~@2 A@3 B A ~@6>".pickRestart({
  A: "x!16", B: "x!13 ~@3", C: "x",
})).gain(0.24)

// drums · bell tree
const bell_tree = s("marktrees:0").struct("<~@3 A ~@3 A ~@3 A ~@11 A ~@3 A ~@3 A ~@10 A ~@9 A ~>".pickRestart({
  A: "~@3 x",
})).gain(3.22)

stack(
  epiano2, bass, string_ensemble_2, string_ensemble_2_soft, string_ensemble_1, kick, rim, snare, low_tom, hihat,
  mid_tom, open_hat, high_tom, crash, tambourine, ride, shaker, bell_tree
)