Strudelify

Hello Africa

Dr. Alban

KeyG minorTempo105 bpm
0:00/0:00
// Hello Africa — Dr. Alban
// 105 bpm, 4/4, key G minor. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Full arrangement: all 95 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(105/4)

// Notation: c3@3 lasts 3 steps · ~ is a rest · "a, b" plays two voices at once.
// A part's distinct bars are riffs (A, B, C...) played in order: edit a riff to change every repeat.

// chords · pan flute · "synth 1"
const pan_flute = note(`<
  ~@8 A B C D A B C D E F G H E F I J ~@16 E F G H E F I J ~@16 E F G H E F I J ~@8 A B C D A B C D E F G H E F K
>`.pickRestart({
  A: "~ g4 bb4 c5 d5@4", B: "~ g4 bb4 c5 eb5 d5!2 c5", C: "~@2 g4@2 bb4 ~ c5@2 d5@2 c5 ~ c5@2 bb4@2",
  D: "bb4@4 c5@2 bb4 ~ bb4@2 a4@2 a4@2 g4@2", E: "~@2 bb4 c5 d5@4, g4", F: "~ g4 bb4 c5 eb5 d5!2 c5, f4",
  G: "~@2 g4@2 bb4 ~ c5@2 d5@2 c5 ~ c5@2 bb4@2, e4", H: "bb4@4 c5@2 bb4 ~ bb4@2 a4@2 a4@2 g4@2, eb4 d4",
  I: "g4@2 g4@2 bb4 ~ c5@2 d5@2 c5 ~ c5@2 bb4@2", J: "bb4 ~@15", K: "~@4 bb4@2 c5@2 d5@2 c5 ~ c5@2 bb4@2, g4@15 ~",
})).s("gm_pan_flute").gain(0.64)

// drums · kick
const kick = s("bd").struct("<~@7 A B@15 C B@15 D B@7 C B@15 D B@7 C B@6 E F B@15>".pickRestart({
  A: "~@12 x!3 ~", B: "x!4", C: "x", D: "x ~@11 x!3 ~", E: "x!7 ~", F: "x!5 ~@3",
})).gain(0.8)

// drums · rim
const rim = s("rim").struct("<A@7 B C@15 D A@15 D C@7 D A@15 D C@7 D A@8 C@15>".pickRestart({
  A: "x ~@2 x ~@2 x ~@3 x ~@2 x!2 ~", B: "x ~@2 x ~@2 x ~@9", C: "x ~@2 x ~@2 x ~@2 x!2 ~@2 x!2 ~", D: "x",
})).gain(0.56)

// drums · snare
const snare = s("sd").struct(`<
  ~@7 A B@15 ~@9 C ~@3 C ~@2 A B@7 ~ C ~ C ~ C ~ C ~ C ~@3 C ~@2 A D B@3 D B@2 ~@9 D B@3 D B@3 D B@3 D B@2
>`.pickRestart({
  A: "~@5 x ~@2", B: "~ x ~ x", C: "x!2 ~@14", D: "x!2 ~@2 x ~@7 x ~@3",
})).gain(0.8)

// drums · snare · soft notes
const snare_soft = s("sd").struct(`<
  ~@32 A ~@3 A ~@11 A ~ A ~ A ~ A ~ A ~@3 A ~@3 A ~@3 A ~@11 A ~@3 A ~@3 A ~@3 A ~@2
>`.pickRestart({
  A: "~ x ~@6",
})).gain(0.4)

// drums · hihat
const hihat = s("hh").struct("<~@8 A@15 B ~@16 A@7 B ~@16 A@7 B ~@8 A@15>".pickRestart({
  A: "x!8", B: "x",
})).gain(0.8)

// drums · low tom
const low_tom = s("lt").struct("<~@7 [~@13 x ~@2] ~@31 [~@13 x ~@2] ~@23 [~@13 x ~@2] ~@31>").gain(0.8)

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

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

// drums · bongos
const bongos = s("bongo:4").struct("<~@23 [~@14 x!2] ~@23 [~@14 x!2] ~@47>").gain(1.47)

// drums · congas
const congas = s("conga:13").struct("<~@4 A@3 B A@15 C ~@8 D@7 E A@7 C ~@4 D@11 E A@7 C ~@8 A@14 F>".pickRestart({
  A: "~@4 x ~@7 x ~@2 x", B: "~ x ~@2", C: "~@14 x!2", D: "~@6 x ~@3 x ~@2 x!2 ~", E: "x ~@2 x ~@3 x ~@8", F: "~ x ~ x",
})).gain(1.54)

// drums · congas
const congas_2 = s("conga:18").struct("<~@4 A@3 B A@15 C ~@8 D@7 E A@7 C ~@4 D@11 E A@7 F ~@8 A@6 G A@8>".pickRestart({
  A: "x!4 ~ x!7 ~ x!2 ~", B: "x!4 ~ x!6 ~@5", C: "x", D: "x ~@2 x!2 ~@3 x ~@3 x ~@3", E: "~ x!2 ~ x!3 ~@9",
  F: "x ~@13 x!2", G: "x!4 ~ x!2 ~ x!4 ~ x!2 ~",
})).gain(1.54)

// drums · cabasa
const cabasa = s("cabasa:4").struct("<~@16 A@7 B ~@16 A@7 B ~@16 A@7 B ~@8 A@14 C>".pickRestart({
  A: "x!16", B: "x", C: "x!15 ~",
})).gain(2.43)

stack(pan_flute, kick, rim, snare, snare_soft, hihat, low_tom, mid_tom, high_tom, bongos, congas, congas_2, cabasa)

More by Dr. Alban