Strudelify

Fox on the Run

Sweet

KeyA majorTempo110 bpm
0:00/0:00
// Fox on the Run — Sweet
// 110 bpm, 4/4, key A major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Full arrangement: all 108 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(110/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 · piano
const piano = note(`<
  ~ A B A B A B A C D@4 E F@3 G@2 H@2 I J@3 K L@7 M@2 N@2 O@2 P B P C D@4 E F@3 G@2 H@2 I J@3 K L@7 M@2 N@2 Q@6 H@2 I
  J@3 K L@7 M@2 N@2 R@6 P B P C S@2 ~
>`.pickRestart({
  A: "[b4,b5] [g#4,g#5] [e4,e5] [b4,b5] [g#4,g#5] [e4,e5] [b4,b5] [g#4,g#5]", // B G# E B G# E B G#
  B: "[f#5,f#6] [d#5,d#6] [b4,b5]@2 [e5,e6] [c#5,c#6] [a4,a5]@2", // F# D# B E C# A
  C: "[f#5,f#6]@2 [d#5,d#6]@2 [b4,b5]@4 [e5,e6]@2 [c#5,c#6]@2 [a4,a5]@3 ~", // F# D# B E C# A
  D: "[[e4,g#4,b4]@13 ~ [d4,f#4,a4]@10 [a4,c#5]@7 ~ [g#4,b4]@13 ~ [d4,f#4,a4]@9 ~ [a4,c#5]@6 ~@2, ~@24 e4@21 ~@11 e4@8]/4", // E D A G#m D A
  E: "[e4,g#4,b4]@15 ~", F: "[d4,f#4,a4]/3", G: "[[e4,g#4,b4]@14 [d4,f#4,a4]@9 ~ [e4,a4,c#5]@7 ~, ~@24 a#4 ~@7]/2",
  H: "[[e4,g#4,b4]@13 ~ [f#4,a4]@10 [e4,a4]@8, ~@7 d4@4 ~ c#5@3 ~, ~@24 a#4 ~@7]/2", I: "[e4,g#4,b4]@15 ~, a#4 ~@15",
  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4]/2",
  T: "[a0@3 ~ a0@4 e1@2 a0@2 e1@2 d1@7 ~ d1 ~ d1@4 e1@4]/2", U: "e1 ~ e1 ~ e1 ~ e1 ~ e1 ~ e1 ~ e1 ~ e1 ~",
  V: "e1 ~ e1 ~ e1 ~ e1 ~ d1@3 ~ e1@4", W: "[a0@15 ~]/2", X: "e2!4", Y: "b1!2 a1!2", Z: "e2@4 e2@4 e2@4 e2@3 ~",
  AA: "b1@4 b1@2 b1@2 a1@4 a1@3 ~", AB: "a0", AC: "d1", AD: "a0@15 ~", AE: "e2/2",
})).s("gm_acoustic_bass").gain(0.26)

// chords · string ensemble 1
const string_ensemble_1 = note(`<
  ~@5 A B A C D@2 E@2 F@4 G@2 H@2 I@4 J@2 K@2 L@2 M@2 N@2 O@2 P@2 Q R Q S D@2 E@2 F@4 G@2 H@2 I@4 J@2 K@2 L@2 M@2 N@2
  O@2 T U T U G@2 H@2 I@4 J@2 K@2 L@2 M@2 N@2 O@2 J@6 Q R Q S V@2 ~
>`.pickRestart({
  A: "[e2,b2]@13 ~@3", B: "[b2,f#3]@7 ~ [a2,e3]@6 ~@2", C: "[b2,f#3]@7 ~ [a2,e3]@8",
  D: "[[e3,b3]@12 ~@2 [d3,a3]@9 ~ [e3,a3]@6 ~@2]/2", // E5 D5 A5
  E: "[[e3,b3]@3 ~ [e3,c#4]@3 ~ [e3,b3] ~ [e3,b3] ~ [e3,c#4] ~ [d3,a3]@9 ~ [e3,a3]@6 ~@2]/2", // E5 C#m E5 C#m D5 A5
  F: "[[e3,b3]@3 ~ [e3,c#4]@3 ~ [e3,b3] ~ [e3,b3] ~ [e3,c#4] ~ [d3,a3]@49 ~]/4", // E5 C#m E5 C#m D5
  G: "[[e3,b3]@13 ~ [d3,a3]@9 ~ [e3,a3]@7 ~]/2", // E5 D5 A5
  H: "[[e3,b3]@4 [e3,c#4]@3 ~ [e3,b3] ~ [e3,b3] ~ [e3,c#4] ~ [d3,a3]@9 ~ [e3,a3]@7 ~]/2", // E5 C#m E5 C#m D5 A5
  I: "[[e3,b3]@3 ~ [e3,c#4]@3 ~ [e3,b3] ~ [e3,b3] ~ [e3,c#4] ~ [d3,a3]@41 ~ [d3,a3]@3 ~ [e3,b3]@3 ~]/4", // E5 C#m E5 C#m D5 E5
  J: "[a3@7 ~ [e3,g#3]@5 ~ [d3,f#3]@7 ~ [d3,f#3] ~ f#3@4 [e3,g#3]@3 ~, ~@12 d3 ~@3]/2", // E D E
  K: "[[e3,a3]@7 ~ [e3,g#3]@5 ~ [d3,f#3]@7 ~ [d3,f#3] ~ [d3,f#3]@4 [c-1,e3,g#3]@3 ~]/2", // A5 E D Caug
  L: "[[e3,a3]@8 [e3,g#3]@5 ~ [d3,f#3]@7 ~ [d3,f#3] ~ [d3,f#3]@3 ~ [e3,g#3]@3 ~]/2", M: "[[d3,f#3]@31 ~]/2",
  N: "[[e3,g#3]@22 ~@2 [d3,f#3]@4 [e3,g#3]@3 ~, ~@28 f#3 ~@3]/2", // E D E
  O: "[[e3,a3]@7 ~ [e3,g#3]@5 ~ [d3,f#3]@7 ~ [d3,f#3] ~ [d3,f#3]@3 ~ [e3,g#3]@2 ~@2]/2", P: "[[e3,a3]@15 ~]/2",
  Q: "[e3,b3]@13 ~@3", R: "[b3,f#4]@7 ~ [a3,e4]@6 ~@2", S: "[b3,f#4]@7 ~ [a3,e4]@8", T: "[a3,e4]@15 ~",
  U: "[a3,d4]@15 ~", V: "[e4,b4]/2",
})).s("gm_string_ensemble_1").gain(0.26)

// other · piano
const piano_2 = note("<~@15 A@2 ~@6 B C ~@24 A@2 ~@6 B C ~@22 B C ~@25>".pickRestart({
  A: "[a3@4 g#3 a3 g#3 f#3@8 ~]/2", B: "a3 d4 f#4 a4", C: "d5@7 ~",
})).s("gm_piano").gain(0.36)

// drums · kick
const kick = s("bd").struct(`<
  ~ A B A B@5 C@6 D@2 C@6 D E D@13 F B@4 C@6 D@2 C@6 D E D@12 G H G I C@6 D E D@17 J B@4 A ~@2
>`.pickRestart({
  A: "x", B: "x!2", C: "x ~@3 x!2 ~ x", D: "x!4", E: "x ~ x ~ x!2 ~ x", F: "x ~ x ~@2 x ~ x", G: "x ~@4 x ~@2",
  H: "x!2 ~ x ~ x ~@2", I: "x ~@2 x ~ x ~@2", J: "x!2 ~@2",
})).gain(0.36)

// drums · snare
const snare = s("sd").struct(`<
  ~@4 A B@3 C B@7 D B@7 E F G F H F I B@2 J F@2 G K L B@3 C B@7 D B@7 E F G F H F I B@2 J F@2 G B@3 M B@7 E F G F H F I
  B@2 J F@2 G F G F H F N B@3 C ~@3
>`.pickRestart({
  A: "~@10 x ~ x ~ x!2", B: "~ x ~ x", C: "~@4 x ~@5 x!6", D: "~@4 x ~@3 x!3 ~@5", E: "~ x!3", F: "x!4",
  G: "x ~@2 x!2 ~ x ~", H: "x ~@3 x ~@3 x ~@3 x!3 ~", I: "x ~@3 x ~@3 x ~ x ~ x!3 ~", J: "~@2 x ~@2 x ~@2", K: "x!2",
  L: "x ~ x!2", M: "~@4 x ~@7 x ~ x!2", N: "x ~@3 x ~@3 x!2 ~ x!4 ~",
})).gain(0.41)

// drums · low tom
const low_tom = s("lt").struct(`<
  ~@15 A B ~@6 A C A@3 D A B A@5 E F G ~@10 A B ~@6 A C A@3 D A B A@5 E ~@10 A C A@3 D A B A@5 E A@3 D A B ~@7
>`.pickRestart({
  A: "x!8", B: "x!4 ~@4", C: "x ~ x ~ x ~ x ~@6 x ~@2", D: "x!6 ~@2", E: "x!7 ~", F: "~ x!3 ~ x!3",
  G: "~@2 x ~ x ~ x ~@6 x ~@2",
})).gain(0.26)

// drums · hihat
const hihat = s("hh").struct(`<
  A ~@4 B@4 C A@5 ~@2 C A@5 ~@16 B@4 C A@5 ~@2 C A@5 ~@14 A@4 C A@5 ~@20 B@4 ~@3
>`.pickRestart({
  A: "x!4", B: "x!2", C: "~ x!3",
})).gain(0.36)

// drums · hihat · soft notes
const hihat_soft = s("hh").struct("<~@5 [~ x ~ x]!4 ~@30 [~ x ~ x]!4 ~@58 [~ x ~ x]!4 ~@3>").gain(0.2)

// drums · mid tom
const mid_tom = s("mt").struct("<~@16 A ~@7 B ~@12 C D ~@11 A ~@7 B ~@23 B ~@25>".pickRestart({
  A: "~@12 x!3 ~", B: "~@9 x ~@3 x ~@2", C: "~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x", D: "~ x ~ x ~ x ~ x ~ x ~@3 x ~@2",
})).gain(0.36)

// drums · high tom
const high_tom = s("ht").struct("<~@24 A ~@13 A ~@19 A ~@23 A ~@25>".pickRestart({
  A: "~@9 x ~@6",
})).gain(0.36)

// drums · crash
const crash = s("cr").struct(`<
  ~ A B A B A B A B A ~@5 A ~ A ~@5 A ~ A C ~@2 A ~ A ~ A D A C A ~ A B A B A ~@5 A ~ A ~@5 A ~ A C ~@2 A ~ A ~ A D A C
  A@5 ~@5 A ~ A C ~@2 A ~ A ~ A D A C A C ~@2 A ~ A B A B A ~@2
>`.pickRestart({
  A: "x", B: "x!2", C: "~@3 x!2 ~ x ~", D: "~@2 x!2",
})).gain(0.31)

stack(piano, bass, string_ensemble_1, piano_2, kick, snare, low_tom, hihat, hihat_soft, mid_tom, high_tom, crash)

More by Sweet