Strudelify

Aba Heidschi Bumbeidschi

Engelbert Humperdinck

KeyE majorTempo82 bpm
0:00/0:00
// Aba Heidschi Bumbeidschi — Humperdinck Engelbert
// 82 bpm, 4/4, key E 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: Full arrangement: all 73 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(82/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 · synth strings 1
const synth_strings_1 = note(`<
  A B C D E F@2 G ~ H@2 I@3 J@3 K@2 B C D E F@2 G L M ~ N O@2 J@3 K@2 B C D E P@2 B C D E Q@2 R S T ~ U V@2 W@3 X@2 Y Z
  AA AB AC@2 Y Z AA AB AD@2
>`.pickRestart({
  A: "~@4 b3 ~ b3@2 [e4,g#4]@6 [e4,g#4] ~", B: "[e4,g#4]!2 [d4,f#4] [e4,g#4]", C: "[c#4,a4]@15 ~",
  D: "~@4 b4@2 b4 ~ [b4,d#5]@5 ~ [d#5,f#5]@2", E: "[b4,d#5]@3 ~ [a4,d#5]@4 [f#4,a4]@4 d#5@4", F: "[[e4,g#4]@19 ~@13]/2",
  G: "~@3 g#3", H: "[~@2 [b3,d#4]@4 [g#3,e4] [b3,d#4]]/2",
  I: "[[c#4,a4] b3@5 [g#3,b3,e4]@3 [g#3,e4] [f#3,d#4] [g#3,e4]]/3", // F#m E C#m D#m C#m
  J: "[[b3,g#4]@8 [a3,f#4]@4 [f#3,d#4]@11 ~ [a3,f#4]@16 [g#3,e4]@4 [a3,f#4]@4]/3", // E D D#m D C#m D
  K: "[[c#4,a4]@8 [b3,g#4]@4 [g#3,e4]@11 ~ [e4,g#4]@6 [e4,g#4] ~, e2@23 ~@9]/2", L: "~@3 b3 d#4 f#4 [b3,b4]@2",
  M: "[a3,a4]@3 ~@5", N: "~@3 b4 e5 g#5 [c#5,a5]@2",
  O: "[[b4,g#5]@7 ~ [g#3,e4]@11 ~ [g#3,e4]@4 [f#3,d#4]@4 [g#3,e4]@4]/2", // E C#m D#m C#m
  P: "[[e4,g#4]@19 ~ b3@2 b3@2 [e4,g#4]@6 [e4,g#4] ~]/2", Q: "[g#4@11 ~ [g4,c5]@10 ~@10, e5@11 ~@5]/2", R: "~@3 a3",
  S: "~@3 c4 e4 g4 [c4,c5]@2", T: "[a#3,a#4]@3 ~@5", U: "~@3 c5 f5 a5 [d5,a#5]@2",
  V: "[[c5,a5]@7 ~ [a3,f4]@11 ~ [a3,f4]@4 [g3,e4]@4 [a3,f4]@4]/2", // F Dm C Dm
  W: "[[e4,c5]@4 [e4,c5]@4 [d4,a#4]@4 [a#3,g4]@11 ~ [a#3,g4,a#4]@12 [a#3,g4,a#4]@4 [a3,f4,a4]@4 [a#3,g4,a#4]@4]/3", // C Gm D# Dm D#
  X: "[[d4,a#4]@4 [d4,a#4]@4 [c4,a4]@4 [a3,f4]@12 [f4,a4]@6 [f4,a4] ~]/2", Y: "[f4,a4]!2 [d#4,g4] [f4,a4]",
  Z: "[d4,a#4]@15 ~", AA: "~@4 c5@2 c5 ~ [c5,e5]@5 ~ [e5,g5]@2", AB: "[c5,e5]@3 ~ [a#4,e5]@4 [g4,a#4]@4 e5@4",
  AC: "[[f4,a4]@19 ~ c4@2 c4@2 [f4,a4]@6 [f4,a4] ~]/2", AD: "[[a3,f4]@13 ~@3]/2",
})).s("gm_synth_strings_1").gain(0.36)

// chords · synth strings 1 · soft notes
const synth_strings_1_soft = note("<~@6 A@2 B@2 ~ C@2 ~@11 D@2 ~@22 E@2 ~@23>".pickRestart({
  A: "[~@2 [g#3,e4]@4 [f#3,d4] e4]/2", B: "[[b3,d#4]@3 ~]/2", C: "[~ [e4,g#4]@5 ~@2]/2",
  D: "[~@8 [g#3,e4]@16 [f#3,d4]@4 e4@3 ~]/2", E: "[~@8 [a3,f4]@16 [g3,d#4]@4 f4@3 ~]/2",
})).s("gm_synth_strings_1").gain(0.18)

// bass · acoustic bass
const bass = note(`<
  A B C@2 D E@3 F@2 G H@3 F@2 G I@2 B C@2 D E@3 F@2 G H@3 F@2 G I@2 B C@2 D J@2 K L@2 M N O@2 P@2 Q R@3 P@2 Q S@2 T U@2
  V W@2 T U@2 V X@2
>`.pickRestart({
  A: "~@4 b2@2 b2 ~ e2@8", B: "e2!2 e1 e2", C: "[a1@8 e1@4 a1@9 ~@3 b1@7 ~]/2", D: "b1@3 ~ b1@7 ~ b1@3 ~",
  E: "[e2@8 b1@4 e2@11 ~ e2@11 ~@5 e1@7 ~, ~@3 e2]/3", F: "[b1@11 ~ b1@11 ~@9]/2", G: "b1 ~@15",
  H: "[e2@10 ~@2 e2@10 ~@2 e2@11 ~@5 e1@7 ~, ~@3 e2]/3", I: "[e2@5 ~ e2@5 ~ e2@4]/2", J: "[e2@8 b1@4 e2@11 ~ e1@7 ~]/2",
  K: "b1@4 e1@7 ~ e1@4", L: "[a1@4 e2@2 a1@5 ~ b1@4]/2", M: "b1@3 ~ b1@8 b1@3 ~", N: "e2@3 ~ e2@2 c2@2",
  O: "[d2@4 e2@3 ~ f2@11 ~@5 f1@8, ~@5 f2@3]/2", P: "[c2@11 ~ c2@11 ~@9]/2", Q: "c2 ~@15",
  R: "[f2@10 ~@2 f2@10 ~@2 f2@11 ~@5 f1@7 ~, ~@3 f2]/3", S: "[f2@5 ~ f2@5 ~ f2@4]/2", T: "f2!2 f1 f2",
  U: "[a#1@8 f1@4 a#1@9 ~@3 c2@7 ~]/2", V: "c2@3 ~ c2@7 ~ c2@3 ~", W: "[f2@8 c2@4 f2@11 ~ f2@8]/2",
  X: "[f2@8 c2@4 ~ f2@13 ~@6]/2",
})).s("gm_acoustic_bass").gain(0.5)

// other · whistle
const whistle = note("<~@2 A B ~ C@2 ~@16 D ~@20 E F ~ G@2 ~@22 H@2>".pickRestart({
  A: "~@4 e5@4 a5@4 e6@3 ~", B: "a6 ~@3", C: "[~@4 b5@2 e6@3 ~@7]/2", D: "~@2 b5 ~", E: "~@4 e5@3 ~ a5@3 ~ e6@4",
  F: "a6@5 ~@11", G: "[~@4 e5@3 ~ b5@3 ~ c6@7 ~@13]/2", H: "[~@8 c6@3 ~@2 f6@5 ~@14]/2",
})).s("gm_whistle").gain(0.36)

// chords · flute
const flute = note("<~@24 A B C D E F@2 G H@2 E I ~@37>".pickRestart({
  A: "~@4 b4@2 b4@2 [g#4,e5]@3 ~ [g#4,e5]@3 ~", B: "[g#4,e5] [g#4,e5,g#5] [f#4,d#5,f#5] [g#4,e5,g#5]",
  C: "[b4,g#5] [a4,f#5]@2 [b4,g#5]", D: "[a4,f#5]@4 b4@2 b4@2 [f#5,a5]@3 ~ [f#5,a5]@3 ~",
  E: "[f#5,a5]@4 [f#5,a5]@4 [e5,g#5]@4 [f#5,a5]@3 ~", F: "[[c#5,a5]@4 [b4,g#5]@18 ~@2 [e5,g#5]@4 [e5,g#5]@3 ~]/2",
  G: "[e5,g#5]@4 [e5,g#5]@4 [d#5,f#5]@4 [e5,g#5]@3 ~", // E D#m E
  H: "[[g#5,b5]@3 ~ [g#5,b5]@4 a5@3 ~ d#5@7 ~ [b4,d#5]@2 [b4,d#5] ~ [f#5,a5]@4 [f#5,a5]@3 ~, ~@2 f#5@3 ~@3]/2", // G#m B F#m
  I: "a5 ~@3",
})).s("gm_flute").gain(0.38).pan(0.6)

// chords · string ensemble 1
const string_ensemble_1 = note(`<
  ~@2 A B@2 C@2 ~@11 D@2 E@3 F@2 ~ G@2 ~ H@2 ~@5 I@2 E@3 J@3 E@3 K@2 ~ L@2 ~ M@3 N@3 O@3 P@3 Q@3 R@3 S@2
>`.pickRestart({
  A: "~ e4 a4 e5", B: "[a5@3 ~ [f#4,b4,d#5]@6 [f#4,a4,d#5]@6]/2", C: "[[g#4,e5]@19 ~@13]/2",
  D: "[~@2 [e5,g#5]@4 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d5,a#5]@19 ~@5 c6@12 ~@12, ~@30 g5@5 ~@13]/3", // C Edim C5 Edim Gm
  Q: "[[f4,a4,f5]@10 [c5,c6]!2 [f5,a5]@8 [d#5,g5]@2 [f5,a5]@2]/3", // F C F D# F
  R: "[~@8 f5@10 ~@6 [g5,e6]@5 ~ g6@2 e6@3 ~ [g5,a#5]@4 [g4,c5]@4 [e5,g5]@4, [d5,a#5]@19 ~@5 c6@12 ~@12, ~@30 g5@5 ~@13]/3", // C Gm C5 Em Gm
  S: "[[a4,c5]@13 ~@3]/2", // Am
})).s("gm_string_ensemble_1").gain(0.27).pan(0.4)

// other · pad new age
const pad_new_age = note("<A B C ~@15 D E C ~@15 D E C ~@2 F G E C ~@9 H I ~@3 J K L M ~@2 N O L M ~@4>".pickRestart({
  A: "~@4 b3 ~ b3@2 e4@4 ~@2 e4 ~", B: "e4 ~ e4 ~ d4 ~ e4 ~", C: "a4@7 ~", D: "~@8 e4@6 e4 ~",
  E: "e4@3 ~ e4@4 d4@4 e4@4", F: "~@4 b3 [e4,f#4] b4 [e5,f#5] b5 [e6,f#6] ~ [b4,e5] f#5 [b5,e6] f#6 [b6,e7]",
  G: "f#7 b7 ~@6 e4@6 e4 ~", H: "~@5 c6 f6 a6", I: "f6@3 ~@13", J: "~@7 c6", K: "f6@2 a6@2 f6@2 ~@2 f4@6 f4 ~",
  L: "f4@3 ~ f4@4 d#4@4 f4@4", M: "a#4@7 ~", N: "~@4 c4 [f4,g4] c5 [f5,g5] c6 [f6,g6] ~ [c5,f5] g5 [c6,f6] g6 [c7,f7]",
  O: "g7 c8 ~@6 f4@6 f4 ~",
})).s("gm_pad_new_age").gain(0.44).pan(0.4)

// chords · orchestral harp
const orchestral_harp = note(`<
  ~@6 A@2 B@3 C@3 D@3 E@3 F@3 G@3 H@3 I@3 J@3 K@3 L@3 M@3 F@3 N O@2 P@3 Q@3 R@3 S@3 T@3 U@3 T@3 V@2
>`.pickRestart({
  A: "[~@14 b3@2 [b3,g#4]@2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3@2 ~@2 a#3@2 g3 ~, a#3@11 ~@13 c3@11 ~ c3@12, ~@2 d4@7 ~@17 g3@6 c4@6 g3@6 ~@4, ~@6 a#4@5 a#4@7 ~@12 e4@11 ~ e4@6]/3", // A#
  U: "[~@2 a3@2 ~@2 a3@2 ~@2 a3@2 f3@7 ~@5 c4 ~@3 f4@2 ~@4 c4@2 [f4,a4]@2 f3@2 ~@2 f3@2 [f4,a4]@2 f3@2, f3@5 ~@7 f3@5 ~@7, ~@2 f4@4 ~@6 a4@2 ~ a4@3 ~@6, ~@4 c4@2 ~@7 c4@3 f4@2 ~@2 [d#4,g4]@2 ~@2]/3", // F D#
  V: "[~@2 a3@2 ~@2 a3@2 ~@3 a3@2 f3@8 ~@11, f3@11 ~@21, ~@4 f4@9 ~@19, ~@8 c4@5 ~@19]/2",
})).s("gm_orchestral_harp").gain(0.36).pan(0.7)

// chords · accordion
const accordion = note("<~@47 A B@2 C@2 D E@2 ~@2 F@2 ~@14>".pickRestart({
  A: "~@3 [c4,e4]", B: "[[d4,f4] [e4,g4] [f4,a4]@3 [f4,a4] [e4,g4] [f4,a4]]/2",
  C: "[[a4,c5]@4 [g4,a#4]@15 ~ [c4,e4]@4 [g4,a#4]@4 [g4,a#4]@3 ~]/2", D: "[g4,a#4]@4 [g4,a#4]@3 ~ [f4,a4]@4 [g4,a#4]@4",
  E: "[[g4,a#4]@4 [f4,a4]@15 ~ c4@2 c4@4 ~@6]/2", F: "[~@2 [a#4,g5]@4 [a4,f5] [a#4,g5]]/2",
})).s("gm_accordion").gain(0.39).pan(0.6)

// chords · acoustic guitar steel
const acoustic_guitar_steel = note(`<
  ~@6 A@2 B@3 C@3 D@3 E@2 ~@5 F@2 G@3 C@3 H@3 E@2 ~@11 I@2 J@3 K@3 J@3 L@2 ~@12
>`.pickRestart({
  A: "[~@6 e4 ~@2 b3 g#4 e3 ~@3 e4, ~@8 e2@11 ~@13, ~@10 b3@6 e4@7 ~ [d#4,f#4]@4 [b3,g#4]@4, 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3 c4@2 a3 ~@3, ~@6 f4@10 ~@2 f4@5 ~@9]/2",
})).s("gm_acoustic_guitar_steel").gain(0.43).pan(0.3)

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

// drums · rim
const rim = s("rim").struct(`<
  ~@24 A B C D B C D B C D B C D B C A B C D B E D B C D B C D B C D B C D B C D B C A B C D B C A B C ~
>`.pickRestart({
  A: "~@3 x", B: "~ x", C: "~ x ~@2", D: "x ~@2 x", E: "~ x!2 ~",
})).gain(0.42)

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

// drums · open hat
const open_hat = s("oh").struct("<~@45 [~ x ~@2] ~@27>").gain(0.3)

// drums · ride
const ride = s("rd").struct("<~@38 A ~@23 A ~@5 A ~@2 B ~>".pickRestart({
  A: "~@11 x!2 ~@3", B: "~@13 x ~@2",
})).gain(0.42)

// drums · tambourine
const tambourine = s("tb").struct(`<
  ~@25 A B ~ A B ~ A B ~ A B ~ A B ~ A B ~ A ~@2 A B ~ A B ~ A B ~ A B ~ A B ~ A B ~ A B ~ A B ~ A B ~
>`.pickRestart({
  A: "x", B: "~ x",
})).gain(0.48)

stack(
  synth_strings_1, synth_strings_1_soft, bass, whistle, flute, string_ensemble_1, pad_new_age, orchestral_harp,
  accordion, acoustic_guitar_steel, kick, rim, hihat, open_hat, ride, tambourine
)

More by Engelbert Humperdinck