Strudelify

If It's Over

Mariah Carey

KeyA majorTempo94 bpm
0:00/0:00
// If It's Over — Mariah Carey
// 94 bpm, 3/4, key A major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Full arrangement: all 139 bars on a 24-step grid, each part at one level. Source detail keeps the original performance.
setcpm(94/3)

// 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 · piano
const piano = note(`<
  A B C B D E F G H I J I K B L E M N C O P Q G R S T U I V N W X Y N C O P Q G R S T U I V N W X E Z AA AB AC AD@2 AE
  AF AG AH AD AI AD AJ AK AL N C O P Q G R S T U I V N W X E Z AA AB AC AD@2 AE AF AG AH AD AI AD AJ AK AM AN AO AP AA
  AQ AR AS AT AU AV AW AX AY AZ BA AI BB BC BD BE AP@2 BF BG BH BI AD AI BJ ~ AP BK BL BB BM@2 ~@2 AI BN BO ~
>`.pickRestart({
  A: "~@8 e3@5 ~@3 f#3@5 ~@3", B: "[e3,a3,c#4]@2 ~", C: "[e3,a3,c#4]@16 ~@4 [f#3,a3,d4]@3 ~",
  D: "[a3,c#4]@5 ~@3 e4@5 ~@3 f#4 ~ f#3@3 g3@3", E: "[g#3,b3,e4]@2 ~", F: "[e3,g#3,b3]@16 ~@4 [e3,a3,c#4]@3 ~",
  G: "[e3,g#3,b3]@2 ~", H: "[e3,g#3,b3]@3 ~@5 [g#3,b3,e4]@5 ~@3 [g3,a#3,d#4]@5 ~@3", I: "[f#3,a3,d4]@2 ~",
  J: "[f#3,a3,d4]@16 ~@4 [g3,b3,d4]@3 ~", K: "f#4@5 ~@3 e4@5 ~@3 [a3,f#4]@5 ~@3, a3@11 ~@13",
  L: "c#4@5 ~@3 e4@5 ~@3 f#4@2 f#3@3 g3@3", M: "[g#3,b3,e4]@3 ~@5 e3@5 ~@3 f#3@2 a3@3 b3@3", N: "[e3,a3]@2 ~",
  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"[g3,c#4,e4]@2 ~", BF: "[a4,b4]@5 ~@3 [b3,f#4,a4]@11 ~@5", BG: "[b3,f#4]@2 ~, a4@11 ~@13",
  BH: "~ [c#5,e5]@2, [e4,a4]@2 ~", BI: "[c#4,e4,a4]@2 ~", BJ: "[f#4,a4,c#5]@2 ~",
  BK: "[a3,c#4]@5 ~@3 [a3,c#4]@5 ~@3 [b3,d4]@5 ~@3", BL: "[e4,a4]@2 ~", BM: "[[d4,f#4,a4]@5 ~]/2",
  BN: "[f#4,a4,d5]@5 ~@3 [e4,a4,c#5]@6 ~@3 [d4,f#4,b4]@6 ~", BO: "~ [c#4,e4,a4]@7",
})).s("gm_piano").gain(0.38)

// bass · fretless bass · "bass"
const bass = note(`<
  A B@2 C D E@2 F G H@2 I@2 J@2 F K L@2 C D M@2 N@2 O@2 P Q C R F S L@2 C D M@2 N@2 O@2 P Q C R F T C U V@2 W@2 X Y F Z
  F AA I AB C AC L@2 C D M@2 N@2 O@2 P Q C R F T C U V@2 W@2 X Y F Z F AA I AB C AD AE AF AG AH AI@2 AG AJ I AK AL AM AN
  AO AP@2 AQ@2 AE AF AR@2 AL AS AT@2 F AU AG AJ AV@2 F Z E@2 ~@2 I AW AX ~
>`.pickRestart({
  A: "~@8 e2@5 ~@3 f#2@5 ~@3", B: "[a2@40 ~@4 e2@3 ~]/2", C: "a2@2 ~", D: "c#2@11 ~@5 d2@5 ~@3", E: "[e2@5 ~]/2",
  F: "e2@2 ~", G: "e2@3 ~@5 e2@5 ~@3 d#2@5 ~@3", H: "[d2@40 ~@4 d2@3 ~]/2", I: "d2@2 ~", J: "[a2@5 ~]/2",
  K: "e2@3 ~@5 e2@5 ~@3 f#2@5 ~@3", L: "[a2@32 ~@12 e2@3 ~]/2", M: "[e2@32 ~@12 e2@3 ~]/2",
  N: "[e2@32 e2@5 ~@3 d#2@5 ~@3]/2", O: "[d2@32 ~@12 d2@3 ~]/2", P: "d2@7 ~", Q: "~@8 d2@5 ~@3 e2@5 ~@3",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").gain(0.71)

// chords · brass section · "brass"
const brass_section = note(`<
  A B@2 C@2 D E D F G@2 H I J@2 K L ~@40 M N O ~@2 P Q R ~@24 M N O ~@2 P Q R ~@15 S T@2 U@2 V@2 W@2 T@2 X@2 Y@2 Z@2 T@2
  AA@2 ~@2 AB@4
>`.pickRestart({
  A: "~ e4 f#4, ~@8 e3@5 ~@3 f#3@5 ~@3", B: "[a3@11 [f#3,a3,d4], [c#4,e4]]/2", C: "[a3,c#4,e4]/2", D: "[g#3,b3,e4]",
  E: "~@20 [e3,a3,c#4]@3 ~, [g#3,b3,e4]", F: "[g#3,b3,e4] ~ [g#3,b3,e4]@2 [g3,a#3,d#4]@2",
  G: "[d4@11 [g3,b3,d4], [a3,f#4]]/2", H: "[a3,d4,f#4]", I: "a3@11 ~@5 a3@5 ~@3",
  J: "[c#4@24 ~@16 f#4@5 ~@3, a3, e4@2 e4, ~ c#4]/2", K: "[b3,e4,g#4]", L: "[b3,e4,g#4] ~@5",
  M: "[e4,a4]@16 ~@4 f#5@3 ~", N: "[a4,c#5,e5]", O: "[d4,f#4,a4]@7 ~",
  P: "[a3,d4,f#4]@5 ~@3 [a3,c#4,e4]@5 ~@3 [f#3,b3,d4]@5 ~@3", Q: "[a3,c#4,e4]@7 ~", R: "[c#4,e4] ~@7", S: "[f#4,d5]",
  T: "[e4,a4,c#5]/2", U: "[e4,g4,c#5]/2", V: "[d4,f#4,a4]/2", W: "[d4,f#4,b4]/2", X: "[[f#4,a4,d5]@5 [f4,g#4,c#5]]/2",
  Y: "[f#4,a4,c#5]/2", Z: "[a4@5 [d4,f4,a4,d5], [f#4,d#5]]/2", AA: "[d4,f#4,a4,d5]/2",
  AB: "[a4@32 [e4,c#5]@9 [d4,f#4,b4]@10 [c#4,e4,a4]@37 ~@8, [d4,f#4]@41 ~@55, ~@32 a4@19 ~@45]/4", // C#m Bm A D
})).s("gm_brass_section").gain(0.6)

// chords · synth strings 1 · "sinth"
const synth_strings_1 = note(`<
  ~ A@2 B@2 C D C E F@2 G H B@2 I J ~@31 K L@2 M@2 N@2 O@2 P@2 Q@3 R S ~@16 K L@2 M@2 N@2 O@2 P@2 Q@3 R S ~@14 T U V P@2
  W@2 N@2 X@2 P@2 Y@2 Z@2 AA@2 P@2 AB@2 ~@2 AC@4
>`.pickRestart({
  A: "[a3@11 [f#3,a3,d4], [c#4,e4]]/2", B: "[a3,c#4,e4]/2", C: "[g#3,b3,e4]", D: "~@20 [e3,a3,c#4]@3 ~, [g#3,b3,e4]",
  E: "[g#3,b3,e4] ~ [g#3,b3,e4]@2 [g3,a#3,d#4]@2", F: "[d4@11 [g3,b3,d4], [a3,f#4]]/2", G: "[a3,d4,f#4]",
  H: "a3@11 ~@5 a3@5 ~@3", I: "[b3,e4,g#4]", J: "[b3,e4,g#4] ~@5", K: "[c#4,e4]@7 ~", L: "[c#4,e4,a4]/2",
  M: "[c#4,g4,a4]/2", N: "[d4,f#4,a4]/2", O: "[d#4,f#4,b4]/2", P: "[e4,a4,c#5]/2", Q: "[d4,f#4,a4]/3",
  R: "[a3,d4,f#4]@5 ~@3 [e4,a4,c#5]@8 [d4,f#4,b4]@8", S: "[c#4,e4,a4]", T: "c#5@3 ~ e5@3 ~ e5@3 ~ f#5@11 ~",
  U: "[f#4,a4,d5]", V: "[d4,f#4,a4]", W: "[e4,g4,c#5]/2", X: "[d4,f#4,b4]/2", Y: "[[f#4,a4,d5]@5 [f4,g#4,c#5]]/2",
  Z: "[f#4,a4,c#5]/2", AA: "[a4@5 [d4,f4,a4,d5], [f#4,d#5]]/2", AB: "[d4,f#4,a4,d5]/2",
  AC: "[a4@32 [e4,c#5]@9 [d4,f#4,b4]@10 [c#4,e4,a4]@37 ~@8, [d4,f#4]@41 ~@55, ~@32 a4@19 ~@45]/4", // C#m Bm A D
})).s("gm_synth_strings_1").gain(0.42).pan(0.7)

// chords · string ensemble 2 · "strings"
const string_ensemble_2 = note(`<
  A B@4 C@3 D E@3 F G@2 C H ~@31 I J@2 K@2 L@2 M@2 N@2 O@3 P Q ~@16 I J@2 K@2 L@2 M@2 N@2 O@3 P Q ~@13 R@2 S T N@2 U@2
  L@2 V@2 N@2 W@2 X@2 Y@2 N@2 Z@2 ~@2 AA@4
>`.pickRestart({
  A: "~ e4 f#4", B: "[e4,a4]/2", C: "[e4,g#4]", D: "[b3,e4]@3 ~ [e4,g#4]@4 [g3,a#3,d#4]@4", E: "[d4,f#4]", F: "d4",
  G: "[e4,a4]", H: "e4", I: "[c#4,e4]@7 ~", J: "[c#4,e4,a4]/2", K: "[c#4,g4,a4]/2", L: "[d4,f#4,a4]/2",
  M: "[d#4,f#4,b4]/2", N: "[e4,a4,c#5]/2", O: "[d4,f#4,a4]/3", P: "[a3,d4,f#4]@5 ~@3 [e4,a4,c#5]@8 [d4,f#4,b4]@8",
  Q: "[c#4,e4,a4]", R: "[c#5@3 ~ e5@3 ~ e5@3 ~ f#5@35 ~]/2", S: "[f#4,a4,d5]", T: "[d4,f#4,a4]", U: "[e4,g4,c#5]/2",
  V: "[d4,f#4,b4]/2", W: "[[f#4,a4,d5]@5 [f4,g#4,c#5]]/2", X: "[f#4,a4,c#5]/2", Y: "[a4@5 [d4,f4,a4,d5], [f#4,d#5]]/2",
  Z: "[d4,f#4,a4,d5]/2", // D
  AA: "[a4@32 [e4,c#5]@9 [d4,f#4,b4]@10 [c#4,e4,a4]@37 ~@8, [d4,f#4]@41 ~@55, ~@32 a4@19 ~@45]/4", // C#m Bm A D
})).s("gm_string_ensemble_2").gain(0.42).pan(0.2)

// chords · synth strings 1 · "pad"
const synth_strings_1_2 = note(`<
  ~@17 A@2 B@2 C D C E F@2 G H B@2 I J A@2 B@2 C D C E F@2 G H B@2 I J K@2 L@2 M@2 N@2 O@2 P@3 Q R ~ A@2 B@2 C D C E F@2
  G H B@2 I J K@2 L@2 M@2 N@2 O@2 P@3 Q R ~ S@2 T U S@2 V@2 W@2 X Y G P@3 O@2 Z@2 M@2 AA@2 O@2 AB@2 AC@2 AD@2 O@2 AE@2
  ~@2 AF@4
>`.pickRestart({
  A: "[a3@11 [f#3,a3,d4], [c#4,e4]]/2", B: "[a3,c#4,e4]/2", C: "[g#3,b3,e4]", D: "~@20 [e3,a3,c#4]@3 ~, [g#3,b3,e4]",
  E: "[g#3,b3,e4] ~ [g#3,b3,e4]@2 [g3,a#3,d#4]@2", F: "[d4@11 [g3,b3,d4], [a3,f#4]]/2", G: "[a3,d4,f#4]",
  H: "a3@11 ~@5 a3@5 ~@3", I: "[b3,e4,g#4]", J: "[b3,e4,g#4] ~@5", K: "[c#4,e4,a4]/2", L: "[c#4,g4,a4]/2",
  M: "[d4,f#4,a4]/2", N: "[d#4,f#4,b4]/2", O: "[e4,a4,c#5]/2", P: "[d4,f#4,a4]/3", Q: "~ [e4,a4,c#5] [d4,f#4,b4]",
  R: "[c#4,e4,a4]", S: "[f4,g#4]", T: "[f#4,a4]", U: "[a3,c#4]", V: "[c#4,f#4]", W: "[c4,e4,f#4]", X: "[a3,c4]",
  Y: "[d#4,f#4]", Z: "[e4,g4,c#5]/2", AA: "[d4,f#4,b4]/2", AB: "[[f#4,a4,d5]@5 [f4,g#4,c#5]]/2", AC: "[f#4,a4,c#5]/2",
  AD: "[a4@5 [d4,f4,a4,d5], [f#4,d#5]]/2", AE: "[d4,f#4,a4,d5]/2",
  AF: "[a4@32 [e4,c#5]@9 [d4,f#4,b4]@10 [c#4,e4,a4]@37 ~@8, [d4,f#4]@41 ~@55, ~@32 a4@19 ~@45]/4", // C#m Bm A D
})).s("gm_synth_strings_1").gain(0.12)

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

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

// drums · hihat
const hihat = s("hh").struct("<~ A@7 B A@55 ~ A@67 B ~@2 A C D ~>".pickRestart({
  A: "x!3", B: "x", C: "x ~@7 x ~@8 x ~@6", D: "~ x ~@6",
})).gain(0.6)

// drums · mid tom
const mid_tom = s("mt").struct("<~@8 [~@2 x] ~@130>").gain(0.6)

// drums · high tom
const high_tom = s("ht").struct(`<
  A ~ B ~ B ~ B ~ C ~ B ~ B ~ B ~@3 B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~
  B ~ B ~@3 B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~
  B ~ B ~ B ~ B ~ B ~ B ~@5 D ~@2
>`.pickRestart({
  A: "~ x!2", B: "~@5 x", C: "~ x ~", D: "~@11 x",
})).gain(0.6)

// drums · ride
const ride = s("rd").struct(`<
  A ~ B ~ B ~ B ~ C ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B
  ~ B ~ B ~@3 B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~ B
  ~ B ~ B ~ B ~ B ~ B ~ B ~ B ~@3 B ~@2
>`.pickRestart({
  A: "~@2 x", B: "x", C: "x ~ x",
})).gain(0.6)

// drums · china
const china = s("cr").struct(`<
  ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~
  A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A
  ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~@3 A ~ B ~
>`.pickRestart({
  A: "x", B: "~ x ~@6",
})).gain(0.6)

stack(
  piano, bass, brass_section, synth_strings_1, string_ensemble_2, synth_strings_1_2, kick, snare, hihat, mid_tom,
  high_tom, ride, china
)

More by Mariah Carey