Strudelify

Hole in My Shoe

Traffic

KeyB minorTempo102 bpm
0:00/0:00
// Hole in My Shoe — Traffic
// 102 bpm, 4/4, key B minor. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: metre changes (3/4 at bar 1, 4/4 at bar 5) are rendered on a constant 4/4 grid of one bar per cycle
// note: pitch bends are ignored
// note: sustain pedal (CC 64) lengthens the held notes
// note: Full arrangement: all 74 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(102/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.

// other · piano · "A.PIANO 2"
const piano = note("<~@3 A@3 B C ~@8 D A@3 C ~@12 E@2 F G H I J K@2 ~ C ~@8 L@2 ~ M@13 N O ~@4>".pickRestart({
  A: "[b2,b3] ~ [b2,b3] ~ [b2,b3] ~ [b2,b3] ~", B: "[b2,b3]@2 ~@2 [b2,b3]@2 ~@2 [b2,b3]@2 ~@2 [b2,b3] ~@3",
  C: "[d4,g4,b4]", D: "[b2,b3]@3 ~ [b2,b3]@2 ~@2 [b2,b3]@2 ~@2 [b2,b3]@2 ~@2",
  E: "[~@3 [c4,g4] ~@11 f3, [f2,a3]@4 f2@4 f2@3 c3 [a4,c5] c3@3, [c4,f4]@3 ~ [c4,f4,a4]@2 [c4,f4,a4]@2 c4@8, ~ c3@2 c3@2 c3@2 c3 [f4,a4] c3 [g4,a#4]@2 f2@4, ~ f3@2 f3@2 f3@2 [f4,a4]]/2", // C5 F Am F5 F Gm F
  F: "~@3 [a#3,f4] ~@3 d#3, [d#2,d#4] d#2, [a#3,g4]@3 ~ [g3,a#3,d#4]@2 [g3,a#3,d#4]@2, ~ a#2@2 a#2@2 a#2@3, ~@2 d#3@5 ~", // A#5 D#
  G: "~ g2 ~@3 c4 ~ c3, g3@8 [d4,g4] e4@7, [c2,c4,e4]@3 [g2,c5] c2@4, ~@2 [c3,g5]@3 g2@3, ~@4 d5 e5@7 [c4,g4]@4", // G5 C C5
  H: "~@2 f3 [g3,a#3] a3!2 [f3,a3] [c3,f3,a#3], [f2,c4,f4]@2 [f3,c4] c4, a3@4 a3 ~@3 f2@8, ~ c3@2 c3@2 f4@3, ~@5 c3@2 ~", // Gm F Fsus4 F5
  I: "~@4 [f3,a3]@2 [f3,a#3] ~@7 c3@2, f2@8 f2@7 ~, [f3,a3] ~ [f3,a3,c4] [f3,a3], ~ c3@2 c3@2 c3@2 ~", // F A#5 F
  J: "~@3 [d#3,g3,a#3], [d#2,a#3,d#4] [d#2,d#4], g3@3 g3@2 a#2@3, ~ a#2@2 a#2 a#3@2 ~@2, ~ d#3@2 ~", // D# D#5 D#
  K: "[~@4 c2@3 ~, [g3,c4,e4]@25 ~@7, c2@3 ~ c3@3 ~@9, ~@2 g2@3 ~ g2@4 ~@6]/2", L: "[[b3,d#4,f#4,b4]@5 ~@3]/2",
  M: "b2 f#3 b3 a3 b2 f#3 a3 g#3", N: "b2 f#3 b3 a3 ~@2 a3 ~", O: "~@2 b3 ~@5",
})).s("gm_piano").gain(0.38)

// other · piano · "A.PIANO 2" · soft notes
const piano_soft = note("<~@68 [~@4 b2 f#3 ~ g#3] [b2 f#3 ~ a3 b2 f#3 a3 g#3] [b2 f#3 b3 a3 b2 f#3 a3 g#3]!3 ~>")
  .s("gm_piano").gain(0.11)

// bass · fretless bass · "FRETLESS"
const bass = note(`<
  ~@3 A@4 B C D E F G H I ~ J A@3 B C D E F G H I ~@15 B C D E F G H I ~ K A L A@14 ~@5
>`.pickRestart({
  A: "b1 ~ b1 ~ b1 ~ b1 ~", B: "g1@3 ~ g1@2 ~@2 g1@2 ~@2 g1@2 ~@2", C: "g1 ~ g1 ~ g1 ~ g1 ~",
  D: "a1@2 ~@2 a1@2 ~@2 a1@3 ~ a1@2 ~@2", E: "a1@2 ~@2 a1@2 ~@2 a1@2 ~@2 a1@3 ~", F: "g1@2 ~@2 g1@3 ~ g1@2 ~@2 g1@3 ~",
  G: "g1@3 ~ g1@3 ~ g1@2 ~@2 g1@2 ~@2", H: "a#1@2 ~@2 a#1@3 ~ a#1@3 ~ a#1@2 f1@2", I: "a#1",
  J: "b1@3 ~ b1@2 ~@2 b1@2 ~@2 b1@2 ~@2", K: "b1@5 ~@3 b1@2 ~@2 b1@2 ~@2", L: "b1@2 ~@2 b1@3 ~ b1@2 ~@2 b1@2 ~@2",
})).s("gm_fretless_bass").gain(0.44)

// bass · fretless bass · "FRETLESS" · soft notes
const bass_soft = note("<~@69 [b1 ~ b1 ~ b1 ~ b1 ~]!4 ~>").s("gm_fretless_bass").gain(0.16)

// chords · overdriven guitar · "OVERDRIVE"
const overdriven_guitar = note("<~@25 A@3 ~@46>".pickRestart({
  A: "[~@8 f4@15 ~, ~@15 [a#3,d4]@31 ~@2]/3", // A#
})).s("gm_overdriven_guitar").gain(0.33).pan(0.3)

// chords · synth strings 1 · "SYN STR 1"
const synth_strings_1 = note("<~@14 A@2 ~@11 A@2 ~@17 B C@2 ~ A@2 ~@2 D@16 ~@4>".pickRestart({
  A: "[f4@6 g4@4 f4@21 ~, a#3@31 ~]/2", B: "~@7 d4", C: "b3 c4 d4 e4@2 d4@3",
  D: "[[e4,g#4,c#5,e5]@2 [f#4,a4,d#5,f#5]@17 [e4,g#4,c#5,e5]@2 [d#4,f#4,b4,d#5]@3 [e4,g#4,c#5,e5]@3 d#5@2 ~@3 f#3@29 ~@3, ~@27 [d#4,f#4]@36 ~, ~@27 b4@5 ~@32, ~@29 b3@32 ~@3]/4", // C#m D#dim C#m B C#m D#m
})).s("gm_synth_strings_1").gain(0.19)

// other · french horn · "FR.HORN"
const french_horn = note(`<
  ~@15
  [g4@2 f4@2 a#3@2 d#4@2 d4@2 a#3@5 ~]
  ~@12
  [g4@2 f4@2 a#3@2 d#4@2 d4@2 a#3@5 ~]
  ~@22
  [g4@2 f4@2 a#3@2 d#4@2 d4@2 a#3@5 ~]
  ~@22
>`).s("gm_french_horn").gain(0.35)

// chords · percussive organ · "ORGAN 2"
const percussive_organ = note(`<
  ~@3 A@4 B C D E F G H I J A@4 B C D E F G H I J ~@14 B C D E F G H I J ~ A K L M@3 ~@15
>`.pickRestart({
  A: "[b4,d#5,f#5] ~ [b4,d#5,f#5] ~ [b4,e5,g#5] ~ [b4,e5,g#5] ~ [b4,d#5,f#5] ~ [b4,d#5,f#5] ~ [b4,d#5,f#5] ~ [b4,d#5,f#5] ~", // B E B
  B: "[d5,g5]@2 [c5,e5,a5] ~ [d5,g5,b5] ~ [e5,a5,c6]@4 [d5,g5,b5]@4 [g4,d5]@2, b4 ~@13 b4 ~", // G5 Am G Am G G5
  C: "[b4,d5,g5]@2 [c5,e5,a5] ~ [d5,g5,b5] ~ [e5,a5,c6]@4 [d5,g5,b5]@4 [d5,g5,b5] ~", // G Am G Am G
  D: "[a5,c6]@2 [f#5,b5] ~ [d5,g5,b5]@2 [c5,e5,a5]@4 [c5,e5,a5]@3 ~ [d5,g5,b5] ~, e5 ~ d6@2 ~@12", // Am B5 G Am G
  E: "[e5,a5,c6]@2 [f#5,b5,d6]@2 [d5,g5,b5]@2 [c5,e5,a5]@4 [c5,e5,a5]@3 ~ [g4,b4,d5] ~", // Am Bm G Am G
  F: "[b4,d5,g5]@2 [c5,e5,a5]@2 [d5,g5,b5] ~ [e5,a5,c6]@4 [d5,g5,b5]@3 ~ [g4,b4,d5] ~", // G Am G Am G
  G: "[b4,d5,g5]@2 [c5,e5,a5]@2 [d5,g5,b5] ~ [e5,a5,c6]@3 ~ [d5,g5,b5]@3 ~ [b4,d5,g5]@2", // G Am G Am G
  H: "[a#4,d5,f5] [d5,f5,a#5] [f5,a#5,d6] [g5,a#5,d#6]@2 [f5,a#5,d6]@3", // A# D# A#
  I: "g6 ~ a#5 d#6 ~ f5 c6 a#5, ~ f6@2 ~ d6@2 ~@2", J: "d5 g5 f5 a#4 d#5 d5 a#4@2",
  K: "[b4,d#5,f#5] ~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 ~@2 b3@2, ~@3 f#4@2 ~ d#4 e4]/2",
  B: "[~@2 b3 ~ b3@2 ~@4 f4@2 ~@2 b3 ~ b3 ~ b3@2 ~@2 b3@2 ~@2 b3@2 ~@2 b3@2, f#4@5 ~ f#4@4 ~@2 f#4@8 ~@4 d#4@4 e4@4, ~@2 b3 ~@2 c4 ~@2]/2",
  C: "~@2 b3 ~ b3@2 ~@4 f4@2 ~@2 b3 ~, f#4@2 ~ f#4@2 ~ f#4@2, ~@2 b3 ~", D: "b3 ~@15",
})).s("gm_sitar").gain(0.11)

// other · flute
const flute = note(`<
  ~@4 A@2 B C D E@2 F D G H I J K@2 L M N O P Q@2 R S T ~@14 C D E@2 F D G H I ~ K@4 U V@2 W X V Y Z X V@2 AA AB ~@4
>`.pickRestart({
  A: "f#4@4 b4@4 f#5 d#5@3 b4@4", B: "f#4@4 b4@4 f#5 d#5@3 b4@3 ~", C: "d5@13 ~@3",
  D: "d5@4 b4@4 g4@4 d4 ~@3, ~@4 a#4 ~@11", E: "e4@2 a4@2 c5@2 e5 ~", F: "d5@3 ~ b4@4 g4@4 d4 ~@3, ~@4 a#4 ~@11",
  G: "f5@2 d5@2 a#4@2 f4 ~", H: "f4@2 a#4@2 d5 ~ d#5@4 d5@2 c5 g4 a#4@2", I: "d4@2 g4@2 f4 g4 a#4@10",
  J: "f#4@3 ~ b4@4 f#5@2 d#5@2 b4@4", K: "f#4@2 b4@2 f#5 d#5 b4@2", L: "f#4@4 b4@4 f#5@2 d#5@2 b4@3 ~",
  M: "d5 b4 g4 d4, ~@4 a#4 ~@11", N: "b4@2 d5@2 b4@2 g4 d4", O: "e4 a4 c5 e5", P: "e4@4 a4@4 c5@4 e5@3 ~",
  Q: "[d5@2 b4@2 g4@2 d4@4 b4@2 g4@2 d4 ~, ~@4 a#4 ~@15 a#4 ~@11]/2", R: "f5@4 d5@4 a#4@4 f4@3 ~",
  S: "f4@2 a#4@2 d5@2 d#5@4 d5@2 c5 g4 a#4@2", T: "d4@2 g4@2 f4@2 a#4@9 ~", U: "f#4@4 b4@3 ~@3 b4@2 a4@2 g#4@2",
  V: "f#4@4 b4@2 ~@4 f#4 ~ a4@2 g#4@2", W: "f#4@4 b4 ~@3 [a#4,b4] ~ f4@2 g#4@2 f4@2",
  X: "f#4@3 ~@3 b4@2 [a#4,b4] ~ a4@2 [g4,g#4] ~ a4@2", Y: "f#4@4 b4 ~@5 f#4 ~ a4@2 g#4@2",
  Z: "f#4@4 b4@3 ~ [a#4,b4] ~ f4@2 g#4@2 f4@2", AA: "f#4@4 b4@3 ~ [a#4,b4] ~ f4@2 g#4@2 f4 ~", AB: "f#4@3 ~@13",
})).s("gm_flute").gain(0.38)

// other · flute · soft notes · Bmaj7 G#maj7
const flute_soft = note(`<
  ~@61
  [~@3 f#4 ~@12]
  ~@7
  [~@6 b4@2 [a#4,b4] ~ a4@2 [g4,g#4] ~ a4@2]
  [~@2 f#4@2 b4@2 a4 ~@3 f4@2 b4@2 ~@2]
  [~@2 f#4@2 b4@2 a4 ~@3 f#4@2 b4@2 f#4 ~]
  [~@2 f#4 ~ b4@2 a4@2 ~@2 f4 f#4 b4@4]
  ~
>`).s("gm_flute").gain(0.16)

// chords · synth strings 1 · "SYN STR 1"
const synth_strings_1_2 = note("<~@20 A@2 ~@7 B@3 ~ C D E F C D E G H@2 ~@31>".pickRestart({
  A: "[[g4,b4,d5]@13 ~@3]/2", B: "[e5,a#5]/3", C: "a4 a#4 a4 [a#3,a#4] c5 a#4 a4 g4, a3@3 ~ c4@2 f4@2",
  D: "a4 a#4 a4 a#4 [a3,c5]@4, c4 ~", E: "a#4 a4 g4 f4 d#4@4, d#4 ~", F: "e5@3 d5 c5@4, e4",
  G: "e5@3 d5 c5@3 ~, e4@7 ~", H: "[[c5,f#5,c6]@7 ~]/2",
})).s("gm_synth_strings_1").gain(0.38)

// other · kalimba
const kalimba = note("<A B C D@4 ~@9 D@4 ~@32 D@16 E ~@5>".pickRestart({
  A: "~@14 b4 ~", B: "b4 ~@3 b4 ~ b4 ~@3 b4 ~ b4 ~@3", C: "b4 ~ b4 ~@3 b4 ~ b4 ~@3 b4 ~ b4 ~",
  D: "~@2 b4 ~@3 b4 ~@3 b4 ~@3 b4 ~", E: "~@2 b4 ~@3 b4 ~@3 b4 ~@5",
})).s("gm_kalimba").gain(0.38)

// other · kalimba · soft notes
const kalimba_soft = note("<~@68 [~@14 b4 ~] [~@2 b4 ~@3 b4 ~@3 b4 ~@3 b4 ~]!4 ~>").s("gm_kalimba").gain(0.11)

// other · string ensemble 1 · "STRINGS"
const string_ensemble_1 = note("<~@33 A B C D A B C E ~@33>".pickRestart({
  A: "a3@3 a#3 c4@2 f4@2", B: "c4 a3", C: "a#3 a3 g3 f3 d#3@4", D: "e3", E: "e3@3 d3 c3@4",
})).s("gm_string_ensemble_1").gain(0.33)

// other · melodic tom · "MELO TOM 1"
const melodic_tom = note("<~@6 A ~@6 A ~@5 A ~@3 A ~@5 B@4 C ~@7 B D ~@6 A ~@5 A ~@18>".pickRestart({
  A: "~@10 [g1,g2] ~@2 [d3,a3] [g1,g2] ~", B: "c2 ~ g2 ~ c2 ~ g2 ~ c2 ~ g2 ~ c2 ~ g2 ~", C: "c2 ~@15",
  D: "c2 ~ g2 ~ c2 ~ g2 ~ c2 ~ [g1,g2] ~@2 [d3,a3] [g1,g2] ~", // G D5 G
})).s("gm_melodic_tom").gain(0.38)

// drums · kick
const kick = s("bd").struct("<~@3 A@3 B A@7 ~@2 A@11 ~@2 A@21 ~@2 C A@16 ~@5>".pickRestart({
  A: "x!2", B: "x ~@3 x!2 ~@2", C: "~ x",
})).gain(0.49)

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

// drums · snare
const snare = s("sd").struct("<~@3 A@3 B A@7 ~@2 A@11 ~@2 A@21 ~@2 A@17 ~@5>".pickRestart({
  A: "~ x ~ x", B: "~ x ~@2",
})).gain(0.49)

// drums · snare · soft notes
const snare_soft = s("sd").struct("<~@69 [~ x ~ x]!4 ~>").gain(0.22)

// drums · hihat
const hihat = s("hh").struct("<[~@3 x] [x!4]!13 ~@6 [x!4]!7 ~@16 [x!4]!7 ~@24>").gain(0.38)

// drums · crash
const crash = s("cr").struct("<~@7 A ~@6 A ~ A ~@3 A ~@3 A ~@2 A ~@15 A ~@6 A ~ B ~@3 A ~@17>".pickRestart({
  A: "x", B: "~ x ~@2",
})).gain(0.38)

stack(
  piano, piano_soft, bass, bass_soft, overdriven_guitar, synth_strings_1, french_horn, percussive_organ, sitar,
  sitar_soft, flute, flute_soft, synth_strings_1_2, kalimba, kalimba_soft, string_ensemble_1, melodic_tom, kick,
  kick_soft, snare, snare_soft, hihat, crash
)

More by Traffic