Strudelify

Laat me nu toch niet alleen

Clouseau

KeyE majorTempo70 bpm
0:00/0:00
// Laat me nu toch niet alleen — Clouseau
// 70 bpm, 4/4, key E major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: pitch bends are ignored
// note: Full arrangement: all 62 bars on a 48-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
// note: Guitar parts that double another keep only their own notes (fills, solos): STEEL GTR.
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 · acoustic guitar steel · "STEEL GTR"
const acoustic_guitar_steel = note(`<
  A@2 B C D@2 E C F G@2 E C H@2 E C F I J K@2 L M N@2 B C D@2 E C F O J K@2 L M N@2 B C D@2 E C H@2 E C H@2 E C H@2 E C
  F P@2
>`.pickRestart({
  A: "[~@49 g#4@47, ~@23 b2@25, ~@47 [e3,g#3,b4]@49, ~ [b3,e4]]/2", // E E5
  B: "[f#3,b3,d#4]@6 [f#3,d#4]@6 [f#3,b3,d#4,f#4,b4]@6 [b3,d#4,f#4,b4]@3 [b3,d#4,f#4,b4]@3 b3@3 [b3,d#4]@3 [f#3,b3]@6 [f#3,b3,b4]@5 f#3 [d#4,f#4] ~@2 b4@3, [f#4,b4]@12 ~@15 [f#4,b4] ~@2 d#4@3 ~@3 [d#4,f#4] ~@5 b3@6, ~@6 b3@3 ~@9 f#3 ~@2 f#3@2 ~ f#3@5 ~@13 b4@3 d#4 ~@2", // B D#m B B5 D#m B5 D#m
  C: "[e3,a3,c#4]@6 [e3,c#4]@6 [e3,c#4,e4,a4]@6 [c#4,e4,a4]@3 [c#4,e4,a4]@3 a3@2 ~ [a3,c#4]@3 [a3,c#4]@3 ~@3 [a3,c#4,e4,a4] ~@4 e3 [a3,c#4,e4,a4] ~@2 [c#4,a4] ~@2, [e4,a4]@12 ~@9 a3 ~@5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itar steel · "STEEL GTR" · soft notes
const acoustic_guitar_steel_2 = note(`<
  ~@2 A B C D A B E F D A B E D A B E G A@2 G A@2 H ~ A B C D A B E G A@2 G A@2 H ~ A B C D A B E D A B E D A B E D A B
  E ~@2
>`.pickRestart({
  A: "~@3 b3 ~@12", B: "~@3 a3 ~@12", C: "~@9 [b3,e4]@3 ~@3 [b3,e4] ~@14 d#4@6 ~@3 [f#3,b3] ~@8, ~ g#4 ~@6",
  D: "~@18 [g#4,b4] ~@8 [e3,b3]@3 b4@6 ~@3 [b3,e4]@3 b4@3 ~@3", // G#m E5
  E: "~@9 [b3,e4]@3 ~@3 [b3,e4] ~@23 [f#3,b3] ~@8, ~ g#4 ~@6", // E5 B5
  F: "~@9 [g#3,c#4]@3 ~@3 [g#3,c#4] ~@23 [e3,a3] ~@8, ~ e4 ~@6", // C#5 A5
  G: "~@18 [e4,g#4] ~@8 [c#3,g#3]@3 g#4@6 ~@3 [g#3,c#4]@3 g#4@3 ~@3", H: "~@9 [g#3,c#4]@3 ~@3 [g#3,c#4] ~@32, ~ e4 ~@6",
})).s("gm_acoustic_guitar_steel").gain(0.13).pan(0.4)

// bass · electric bass finger · "FINGERDBAS"
const bass = note(`<
  ~ A B C D E F C D G E F C D E F C D H I J K I B L M B C D E F C D H I J K I B L N B C D E F C D E F C D E F C D E F C
  D O@2
>`.pickRestart({
  A: "e2@23 ~", B: "b1@47 ~", C: "a1", D: "e2@24 b1@23 ~", E: "e2", F: "b1", G: "c#2@12 a1@11 ~", H: "c#2", I: "g#1",
  J: "b1@47 ~, g#1 ~@47", K: "c#2@47 ~", L: "c#2@18 b1@6 a1@17 ~ b1@6", M: "[e1,e2]@47 ~", N: "e1@47 ~",
  O: "[~ e1@39 ~@8]/2",
})).s("gm_electric_bass_finger").gain(0.71).pan(0.6)

// chords · acoustic guitar steel · "STEEL GTR"
const acoustic_guitar_steel_3 = note("<~@33 A B C D E F G H ~@7 I J K L I J K L I J K L ~@2>".pickRestart({
  A: "~@15 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,e3,g#3,c#4]@2]/8", // E5 B A E B E B A …
  B: "[~@11 [a2,e3,a3,c#4]@12 [e3,g#3,b3,e4]@24 [b2,f#3,b3,d#4]@24 [a2,e3,a3,c#4]@24 [b2,g#3,b3,e4]@12 [f#3,b3,d#4]@12 [e3,g#3,b3,e4]@24 [b2,f#3,b3,d#4]@24 [a2,e3,a3,c#4]@24 [b2,g#3,b3,e4]]/8", // A E B A E B E B …
  C: "[~@22 [f#3,b3,d#4]@24 [c#3,e3,g#3,c#4]@47 ~ g#2@47 ~ b2@47 ~@2 c#3@46 ~ g#2@47 ~ b2@47 ~ c#3@23 ~ a2@24 ~@2, ~@31 [g#3,b3,d#4]@16 [f#3,b3,d#4]@16 [e3,g#3,c#4]@16 [g#3,b3,d#4]@16 [f#3,b3,d#4]@16 [e3,g#3,c#4]@8 [e3,a3,c#4]@8 ~]/8", // B C#m G#m B C#m G#m B C#m …
  D: "[[e2,e3,b3,e4]@45 ~ [b2,f#3,b3,d#4]@48 [a2,e3,a3,c#4]@48 [b2,g#3,b3,e4]@24 [f#3,b3,d#4]@24 [e3,g#3,b3,e4]@48 [b2,f#3,b3,d#4]@48 [a2,e3,a3,c#4]@48 [b2,g#3,b3,e4]@2]/7", // E5 B A E B E B A …
  E: "[~@11 [f#3,b3,d#4]@12 [e3,g#3,b3,e4]@24 [b2,f#3,b3,d#4]@24 [a2,e3,a3,c#4]@24 [b2,g#3,b3,e4]@12 [f#3,b3,d#4]@12 [e3,g#3,b3,e4]@24 [b2,f#3,b3,d#4]@24 [a2,e3,a3,c#4]@24 [b2,g#3,b3,e4]]/8", // B E B A E B E B …
  F: "[~@22 [f#3,b3,d#4]@24 [e3,g#3,b3,e4]@48 [b2,f#3,b3,d#4]@48 [a2,e3,a3,c#4]@48 [b2,g#3,b3,e4]@24 ~ [f#3,b3,d#4]@23 ~ [e2,e3,g#3,b3,e4]@94 ~@3]/7", // B E B A E B E
})).s("gm_synth_strings_1").gain(0.14).pan(0.6)

// chords · rock organ · "ORGAN 3"
const rock_organ = note("<~@33 A@3 B C@2 D@2 ~@11 E@2 F@4 G@2 H@2>".pickRestart({
  A: "[[c#5,e5]@4 ~@3 b5 ~@2 f#5 d#5, g#4@96 f#4@47 ~, ~ b4@2, ~@4 d#5@7 ~, ~@3 g#5 ~@2]/3", // C#m
  B: "~@2 g#5 e5, [g#4,c#5], e5@3 ~", C: "[g#4@4 f#4@2 ~ b5, [b4,d#5], ~@3 f#5]/2",
  D: "[g#4@12 a4@12 [e4,b4]@23 ~, e5@47 ~, c#5 ~]/2", E: "[[e4,g#4]@49 ~@47, b4]/2",
  F: "[~@48 g#4@24 [f#4,d#5]@24 [g#4,e5]@48 [f#4,d#5]@47 ~, ~@3 e4@3 ~@10, ~@48 b4@143 ~]/4", // D#m C#m D#m
  G: "[[a4,c#5]@2 g#4 [f#4,d#5], [e4,e5]@73 ~@23, ~ b4]/2", H: "[~@3 [e3,e4,g#4,b4]@92 ~]/2",
})).s("gm_rock_organ").gain(0.22).pan(0.2)

// chords · rock organ · "ORGAN 3" · soft notes
const rock_organ_soft = note("<~@53 A B@2 ~@6>".pickRestart({
  A: "[f#4,d#5]", B: "[[a4,c#5]@25 ~@23, e5@73 ~@23]/2",
})).s("gm_rock_organ").gain(0.11).pan(0.2)

// drums · kick
const kick = s("bd").struct("<~@2 x!58 ~@2>").gain(0.38)

// drums · kick · soft notes
const kick_soft = s("bd").struct("<~@2 [~ x ~@6]!58 ~@2>").gain(0.12)

// drums · low tom
const low_tom = s("lt").struct("<~@2 x!58 ~@2>").gain(0.15)

// drums · low tom · soft notes
const low_tom_soft = s("lt").struct("<~@2 [~ x ~@6]!58 ~@2>").gain(0.08)

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

// drums · hihat · soft notes
const hihat_soft = s("hh").struct(`<
  ~@3 A B ~@2 C B ~@3 C B ~@2 C B ~@2 C B ~@2 C ~@2 A B ~@2 C B ~@2 C B ~@2 C ~@2 A B ~@2 C B ~@2 C B ~@2 C B ~@2 C B
  ~@2
>`.pickRestart({
  A: "~@3 x ~ x ~ x", B: "~@5 x ~@2", C: "~@3 x ~@3 x",
})).gain(0.23)

// drums · tambourine
const tambourine = s("tb").struct(`<
  ~@2 A B A@2 C A@2 ~ A B A B A B A B A B A B A B A B A B A@2 C A@3 B A B A B A B A B A@2 C A@3 C A@3 C A@3 C A@2 ~@2
>`.pickRestart({
  A: "~@4 x!2 ~@6 x!2 ~@2", B: "~ x ~ x", C: "~@4 x ~@7 x!2 ~@2",
})).gain(0.19)

// drums · tambourine · soft notes
const tambourine_soft = s("tb").struct(`<
  ~@3 A ~@2 B ~@4 A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~ A ~@2 B ~@3 A ~ A ~ A ~ A ~ A ~@2 B ~@3 B ~@3 B ~@3 B ~@4
>`.pickRestart({
  A: "~@5 x ~@7 x ~@2", B: "~@5 x ~@10",
})).gain(0.12)

// drums · cabasa
const cabasa = s("cabasa:4").struct(`<
  ~
  [~@47 x]
  [~@2 x ~@2 x ~@2 x ~@2 x ~@2 x ~@2 x ~@2 x ~@2 x ~@2 x ~@2 x ~@2 x ~@2 x ~@2 x ~@2 x ~@2 x ~@2 x]!57
  [~@2 x ~@2 x ~@2 x ~@2 x ~@2 x ~@2 x ~@2 x ~@2 x ~@2 x ~@2 x ~@2 x ~@2 x ~@2 x ~@2 x ~@2 x ~@3]
  ~@2
>`).gain(1.36)

// drums · shaker
const shaker = s("sh").struct(`<
  ~@2 A B C A B C D A@2 B C D A B C D A B C D A B C E A B C A B C D A B C D A B C E A B C A B C D A B C D A B C D A B C
  D ~@2
>`.pickRestart({
  A: "x ~ x!2 ~@2 x!3 ~ x ~ x ~ x!2", B: "x!3 ~ x ~ x ~ x!8", C: "x!3 ~ x!3 ~ x ~ x!6", D: "x!13 ~ x!2", E: "x",
})).gain(0.15)

// drums · shaker · soft notes
const shaker_soft = s("sh").struct(`<
  ~@2 A B C A B C D A@2 B C D A B C D A B C D A B C ~ A B C A B C D A B C D A B C ~ A B C A B C D A B C D A B C D A B C
  D ~@2
>`.pickRestart({
  A: "~ x ~@2 x!2 ~@3 x ~ x ~ x ~@2", B: "~@3 x ~ x ~ x ~@8", C: "~@3 x ~@3 x ~ x ~@6", D: "~@13 x ~@2",
})).gain(0.08)

// drums · claves
const claves = s("clave:2").struct("<~@2 [~ x ~ x]!7 ~ [~ x ~ x]!50 ~@2>").gain(0.75)

stack(
  acoustic_guitar_steel, acoustic_guitar_steel_2, bass, acoustic_guitar_steel_3, synth_strings_1, rock_organ,
  rock_organ_soft, kick, kick_soft, low_tom, low_tom_soft, hihat, hihat_soft, tambourine, tambourine_soft, cabasa,
  shaker, shaker_soft, claves
)

More by Clouseau