Strudelify

Zie me graag

Clouseau

KeyD majorTempo77 bpm
0:00/0:00
// Zie me graag — Clouseau
// 77 bpm, 4/4, key D major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: duplicate parts dropped: ch 6 "SLOWSTRING" string ensemble 2 (copy of ch 9 "FANTASIA" pad new age, 0.12 beats early)
// note: Full arrangement: all 68 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(77/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 · epiano2 · "E.PIANO 2"
const epiano2 = note(`<
  ~@3 A B C D E F G H I J K@2 L M N O P Q R S T U V H W X Y@2 Z M AA AB AC AB AD AE@2 AF AG Q R S AG Q R S AH AI AJ S AK
  AI AL AM AN AO R S AP AQ V AR@4
>`.pickRestart({
  A: "[f#3,a3,d4]@15 ~", B: "[f#3,a3,c#4,e4]@15 ~", C: "[e3,g3,b3,d4]@7 ~", D: "[d4,e4]@3 d4@3 c#4@2, [g3,a3]",
  E: "[f#3,a3,d4]@3 [f#3,a3,d4]@4 ~", F: "[f#3,a3,c#4,e4]@5 ~ [f#3,a3,c#4,e4]@9 ~",
  G: "[e3,g3,b3,d4]@5 ~ [e3,g3,b3,d4]@9 ~", H: "[g3,a3,d4,e4]@5 ~ d4@6 c#4@4, ~@6 [g3,a3,e4]@9 ~",
  I: "[g3,b3,d4]@7 ~ [a3,c#4,e4]@4 [a3,c#4,e4]@4", J: "[f#3,a3,d4]@5 ~@9 f#4@2, ~@6 [f#3,a3,d4]@9 ~, ~@3 e4",
  K: "[[b3,d4,g4]@7 ~ [a3,c#4,e4]@4 [a3,c#4,e4]@3 ~ [c#4,e4]@8 [b3,d4,f#4]@4 [a3,c#4,e4,f#4]@4, ~@15 [f#3,a3]@8 ~@9]/2", // G A C#m Bm F#m7 F#m
  L: "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,f#4]@3 [d4,b4] [d4,f#4,b4]@2 [b3,d4,f#4]@2, b3@3 ~, ~@6 f#4 ~@9", AD: "[a3,c4,e4,g4]@12 [g3,c4,e4]@3 ~",
  AE: "[[b3,d4,g4]@7 ~ [a3,c#4,e4]@7 ~ [b3,d4,e4]@16, ~@15 [g3,a3]@16 ~]/2", AF: "[g3,a3,d4,e4]@11 ~ [a3,c#4,e4]@4",
  AG: "[f#3,a3,d4]@3 [f#3,a3,d4]@3 ~ f#4, ~@3 [f#3,a3,d4]", AH: "[f#3,a3,d4]@3 [a3,d4,a4]@3 ~ a4, ~@3 [d4,d5]",
  AI: "[e4,f#4,a4,c#5]@5 ~ [c#4,e4,f#4,a4]@10", AJ: "~@3 d4, [e3,g3,b3]@15 ~, d4@11 ~@5, ~@3 g4@5",
  AK: "[a3,d4,f#4]@3 [a3,d4,f#4]@3 ~ e5, ~@3 [d4,d5]", AL: "[e3,g3,b3,d4]@15 ~",
  AM: "[g3,a3,d4,e4]@3 d5@3 c#5@2, ~@3 [e4,g4,a4]@5", AN: "~@13 d5@2 e5, [a3,d4,f#4]@15 ~, ~ a4",
  AO: "[e4,f#4,a4,c#5]@5 ~@9 e4@2, ~@3 [f#3,a3,c#4]@5, ~@6 e4@7 ~@3, ~ a4, ~@11 f#4@5", // F#m7 F#m
  AP: "[a3,d4,f#4]@3 ~@2 [e5,a5] [f#5,a5]@2, ~@6 [a3,d4,f#4]@9 ~", // D A5 F#m D
  AQ: "[e4,f#4,a4]@10 ~@3 e4@3, c#5@4 ~ [c#4,f#4,a4]@3", // F#m7 F#m
  AR: "[[g3,a3,d4,e4]@5 ~ [g3,a3,d4]@2 [g3,a3,d4,e4]@4 ~ [g3,a3,c#4,e4]@4 ~ [a3,d4,f#4]@33 ~@13, ~@17 d3@33 ~@14]/4", // Gsus2 A7 D
})).s("gm_epiano2").gain(0.35)

// bass · electric bass finger · "FINGERDBAS"
const bass = note(`<
  ~@3 A B C D A B E F G H I J G K L M N O P Q R S T U V W G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· "FINGERDBAS" · soft notes
const bass_soft = note("<~@6 A ~@6 B ~@3 C D E ~@2 A ~@5 F ~@4 G ~@10 H ~@23>".pickRestart({
  A: "~@14 [g1,g#1] [f1,f#1]", B: "~@15 g#1", C: "~@6 f#2 ~@9", D: "~@11 [d2,e2,f2] ~@2 [f2,g2] [b1,c2,d2,e2]",
  E: "~@13 b1 ~@2", F: "~@11 [b1,c2,c#2] a1 ~@3", G: "~@6 f#1 ~@9", H: "~@14 g#1 [f1,f#1,g1]",
})).s("gm_electric_bass_finger").gain(0.2)

// chords · electric guitar jazz · "JAZZ GTR"
const electric_guitar_jazz = note("<~@3 A@8 B@5 C@2 D E@7 F@2 G@3 H I J K L M@2 N@3 O@16 P@8 Q ~@2>".pickRestart({
  A: "[[a3,d4,f#4]@12 ~@2 [e3,g3] ~ f#4@11 ~@3 a3 ~ g4@10 ~@4 c#4 ~ a4@10 ~@6 [d4,f#4]@12 ~@2 [e3,g3] ~ f#4@11 ~@3 a3 ~ g4@10 ~@4 d4 ~@3 a3@8 ~@4 c#4 d4, ~@15 a3@13 ~@3 b3@12 ~@4 d4@11 ~@5 a3@12 ~@4 a3@13 ~@3 b3@12 ~@4 e4@11 ~@6, ~@56 a4@5 ~@3]/8", // D Em D Em
  B: "[b4@8 ~@6 g3 ~ f#4@8 ~@6 [c4,c#4] ~ b4@8 ~@8 [c#4,e4]@7 ~@2 [f#4,b4]@3 c#4@2 [c4,c#4] ~@3 d4@4 ~ b4 a4@7 ~, ~@15 a3@7 ~@9 d4@9 ~@7 [f#3,a3]@8 ~ [b3,d4]@4 ~@3 d4@3 ~@4 d4@2 ~@8, ~@64 b4@7 ~@9]/5", // C#maj7 C#m B5 C#maj7 F#m Bm
  C: "[e4 ~ a4@2 [a3,e4]@2 [g3,d4]@6 e3 ~ b3@10 ~@2 d4 [d4,e4] b3 a3 f#3 d3, [a3,f#4]@4 ~@2 c#4 ~@6 f#3@11 ~@8]/2", // A5 G5 Dsus2 D
  D: "[a3,e4] ~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~@32, ~@2 g4@6 ~@7 [d4,f#4]@15 ~ d4@12 ~@5]/3", // A#maj7 Cmaj7 G C#maj7 D
  O: "[[a3,d4,f#4]@12 ~@2 [e3,g3] ~ f#4@11 ~@3 a3 ~ g4@10 ~@4 c#4 ~ a4@10 ~@6 [d4,f#4]@12 ~@2 [e3,g3] ~ f#4@11 ~@3 a3 ~@3 g4@10 ~@2 d4 ~@3 e4@8 ~@6, ~@15 a3@13 ~@3 b3@12 ~@4 d4@11 ~@5 a3@12 ~@4 a3@13 ~@3 b3@12 ~@4 e4@3 ~@14, ~@56 a4@5 ~@3]/8", // D Em D Em
  P: "[[a3,d4,f#4]@12 ~@2 [e3,g3] ~ f#4@11 ~@3 a3 ~ g4@10 ~@4 c#4 ~ a4@10 ~@6 [d4,f#4]@12 ~@2 [e3,g3] ~ f#4@11 ~@3 a3 ~@3 g4@10 ~@2 d4 ~@3 e4@6 [a4,d5,d#5] ~ a4 d5 a4 [e4,f4,f#4,a#4,b4] ~ [e4,a4], ~@15 a3@13 ~@3 b3@12 ~@4 d4@11 ~@5 a3@12 ~@4 a3@13 ~@3 b3@12 ~@4 e4@3 ~@14, ~@112 a4@8 ~ [b4,e5]@2 ~@5]/8", // D Em D Em D Esus2 A5 E5
  Q: "~ [d4,f#4]@7", // D
})).s("gm_electric_guitar_jazz").gain(0.2).pan(0.8)

// chords · electric guitar jazz · "JAZZ GTR" · soft notes
const electric_guitar_jazz_2 = note(`<
  ~@3 A ~@2 B@2 ~@11 A ~@2 B@2 ~@6 C ~@2 D ~@2 E ~@4 A ~@2 B@2 ~@3 A ~@2 B@2 ~@3 A ~@2 B@2 ~@2 F G ~@2
>`.pickRestart({
  A: "d3@12 ~@3 f#3", B: "[~@15 d3@12 ~@4 f#3]/2", C: "~@15 c4", D: "f#3 ~",
  E: "~@9 [f#4,b4] ~@4 [g4,g#4,d#5] [c#4,d4,d#4,f4,f#4,d5]", F: "~@8 a#4 ~@7", G: "~ [d3,a3]@15",
})).s("gm_electric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e3@2 d3 e3@9 ~@4 f#3@2 e3 d3@11 ~@2 d3@2 e3 f#3@3 a3@8 ~@6]/4",
  R: "[~@3 a2 g3 a3 ~ f#3 ~ e3@3 f#3@2 e3 d3@11 ~@2 d4 ~ d4 c#4@2 ~ a3@8 ~@6]/3", S: "~@3 a2 g3 a3 ~ f#3 ~ e3@5 ~@2",
  T: "~@2 f#3 e3 f#3 g3 ~ f#3@2 d3@6 ~", U: "[~@12 f#3@2 e3 d3@11 ~@3 d4 ~ e4]/2", V: "f#4@10 e4@4 d4 c#4",
  W: "d4@5 ~@3", X: "b3 a3 ~ a3 ~ f#3 ~ f#3 ~ e3 ~ e3@4 ~",
})).s("gm_fretless_bass").gain(0.39)

// chords · synth strings 1 · "SYN STR 1"
const synth_strings_1 = note(`<
  A@3 B@2 C@2 D@2 C@2 E@4 F G H@2 B@2 C@2 D@2 C@2 E@4 F G I J K J L@4 B@2 C@2 D@2 C@2 D@2 C@2 D@2 C@2 D@2 C@2 D@2 M@5
>`.pickRestart({
  A: "[~ d4, [d2,d3], ~ e3@3, ~ g3@2, ~@5 b3@7]/3", B: "[d4 [c#4,e4], [f#3,a3]]/2",
  C: "[[g3,b3]@4 ~@3 c#4, d4@7 ~, ~ [a3,e4]]/2", D: "[[a3,d4] [c#4,e4], f#3]/2",
  E: "[[g3,b3,d4]@2 [c#4,e4]@2 f#4@4 [g3,b3]@2 [a3,e4]@2 [f#3,a3,e4]@2 [b3,d4] [a3,c#4,e4], ~ a3@3 ~@4, ~@2 d4@3 c#4@2 f#4]/4", // G C#m G A5 F#m7 Bm A
  F: "[b3,d4,g4] [a3,c#4,e4]", G: "[a3,d4,f#4]@2 [a3,e4] [g3,b3,d4]@5, ~@4 c#4 ~@11",
  H: "[[f#3,b3]@4 ~@3 c#4, d4@7 ~, ~ [a3,e4]]/2", I: "[f#3,b3,d4]", J: "[a3,c#4,e4]", K: "[b3,d4,f#4]",
  L: "[[a3,c4,e4]@16 [b3,d4]@8 [a3,c#4,e4]@7 ~ [g3,b3,f#4]@16 ~@12 c#4@4, g4@24 ~@7 a4@32 ~, ~ a3, ~@8 d4@7 ~, ~@3 e4]/4", // Am Bm A Gmaj7
  M: "[[g3,b3]@16 ~@13 c#4@5 [f#3,a3,d4,e4]@34 ~@12, d4@29 ~@51, ~@8 [a3,e4]@9 ~@23]/5", // G D A5
})).s("gm_synth_strings_1").gain(0.12)

// chords · synth strings 1 · "SYN STR 1" · soft notes
const synth_strings_1_soft = note(`<
  ~@3 A B C D A B C D E A E F E G H D A B C D A B C D E A E F E G H I H J A K L M A B C D A B C D A B C D A B C D A B C
  D A B C N@4
>`.pickRestart({
  A: "d3", B: "f#2", C: "e2", D: "a2", E: "g2 a2", F: "f#2@2 b2 a2", G: "d3 c#3 a2 g2@5", H: "b2",
  I: "c#3@8 b2@4 a2@3 ~", J: "c#3@2 b2 a2", K: "g2@4 a2 b2 c#3 d3", L: "e3", M: "d3 a2 f#2@4 e2@2",
  N: "[a2@9 d3@17 ~@6]/4",
})).s("gm_synth_strings_1").gain(0.07)

// chords · electric guitar muted · "MUTED GTR"
const electric_guitar_muted = note(`<
  ~@19 A B C D A B C D ~@14 A B C D A B C D A B C D A B C D A B C D A B C ~@4
>`.pickRestart({
  A: "~ [a3,d4,f#4] ~ [a3,d4,f#4] ~@3 [a3,d4,f#4] ~ [a3,d4,f#4] ~ [a3,d4,f#4] ~ [a3,d4,f#4] ~@2", // D
  B: "~ [a3,c#4,f#4] ~ [a3,c#4,f#4] ~@3 [a3,c#4,f#4] ~ [a3,c#4,f#4] ~ [a3,c#4,f#4] ~ [a3,c#4,f#4] ~@2", // F#m
  C: "~ [g3,b3,e4] ~ [g3,b3,e4] ~@3 [g3,b3,e4] ~ [g3,b3,e4] ~ [g3,b3,e4] ~ [g3,b3,e4] ~@2", // Em
  D: "~ [a3,e4,a4] ~ [a3,e4,a4] ~@3 [a3,e4,a4] ~ [a3,e4,a4] ~ [a3,e4,a4] ~ [a3,e4,a4] ~@2", // A5
})).s("gm_electric_guitar_muted").gain(0.15).pan(0.3)

// chords · pad new age · "FANTASIA"
const pad_new_age = note("<~@33 A B A B C@4 D@2 E F G@2 E F H@2 I F J@2 G@2 K@3 F L@3 M@4>".pickRestart({
  A: "b5@3 d6", B: "c#6 a5", C: "[g5@3 a5@5]/4", D: "[~ e5, a5]/2", E: "[d5,g5]", F: "[e5,a5]", G: "[d5 e5, a5]/2",
  H: "[d5 f#5 c#6@2, a5]/2", I: "[g5,b5]", J: "[d5 f#5 c#6@2, a5@31 ~]/2", K: "[d5 f#5 c#6@2 e5@2, a5@47 ~]/3",
  L: "[d5@8 ~@8 b5@3 a5@5, a5@2 ~, ~@16 e5@31 ~]/3", M: "[[e5,a5]@49 ~@15]/4",
})).s("gm_pad_new_age").gain(0.24)

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

// drums · snare
const snare = s("sd").struct("<~@3 [~ x ~ x]!36 ~@2 [~ x ~ x]!23 [~@4 x ~@8 x ~@2] ~@3>").gain(0.48)

// drums · hihat
const hihat = s("hh").struct("<~@3 [x!8]!57 [x!6 ~@2] [x!8]!3 [x!6 ~@2] [~ x ~@6] ~@2>").gain(0.24)

// drums · hihat · soft notes
const hihat_soft = s("hh").struct(`<
  ~@3
  [~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x]!57
  [~ x ~ x ~ x ~ x ~ x ~ x ~@4]
  [~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x]!3
  ~@4
>`).gain(0.08)

// drums · open hat
const open_hat = s("oh").struct("<~@60 [~@3 x] ~@3 [~@13 x ~@2] ~@3>").gain(0.56)

// drums · shaker
const shaker = s("sh").struct("<~@3 [x!8]!61 [x ~ x ~ x ~ x ~ x ~ x ~@2 x ~@2] ~@3>").gain(0.48)

// drums · shaker · soft notes
const shaker_soft = s("sh").struct("<~@3 [~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x]!61 ~@4>").gain(0.16)

stack(
  epiano2, bass, bass_soft, electric_guitar_jazz, electric_guitar_jazz_2, bass_2, synth_strings_1, synth_strings_1_soft,
  electric_guitar_muted, pad_new_age, kick, snare, hihat, hihat_soft, open_hat, shaker, shaker_soft
)

More by Clouseau