Strudelify

a shot in the dark

Henry Mancini

KeyG majorTempo120 bpm
0:00/0:00
// a shot in the dark — Henry Mancini
// 120 bpm, 4/4, key G major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: duplicate parts dropped: ch 6 "Bb Cornet" trumpet (copy of ch 4 "Alto Saxophone" alto sax)
// note: Transcription provider: pdmx. https://musescore.com/score/5946862; license: https://creativecommons.org/publicdomain/zero/1.0/
// note: Full arrangement: all 37 bars on a 16-step grid, each part at one level. Source detail keeps the original performance.
setcpm(120/4)

// Notation: c3@3 lasts 3 steps · ~ is a rest · [c3,e3] is a chord.
// A part's distinct bars are riffs (A, B, C...) played in order: edit a riff to change every repeat.

// other · flute
const flute = note("<~@3 A B C D E B C F A B C D E B C G H I H J H I H K A B C D E B C L@2 ~>".pickRestart({
  A: "~@3 b4", B: "e5 b5", C: "a#5@4 a5 g5 e5 d5", D: "e5@2 e5 d5 e5 d5 b4 a4", E: "b4@3 b4", F: "b4@2 c5@2 d5 c5@2 b4",
  G: "e5@2 e5@2 e5 e5@2 e5", H: "~@2 e5 g5 a5 g5 e5@2", I: "g5@3 e5@5", J: "b5@3 e5@5", K: "b5@6 b5 a#5",
  L: "e5@2 e5@2 e5 e5@2 ~",
})).s("gm_flute").gain(0.3)

// other · flute
const flute_2 = note("<~@4 A B A C A B D ~ A B A C A B D E F E G E F E H ~ A B A C A B I@2 D>".pickRestart({
  A: "e5!2", B: "g5 ~", C: "[b4,b5]@3 ~", D: "e5@2 e5@2 e5 e5@2 e5", E: "~@2 e5 g5 a5 g5 e5@2", F: "c5@3 c5@5",
  G: "e5@3 e5@5", H: "f#5@6 f#5 f5", I: "e5@2 e5@2 e5 e5@2 ~",
})).s("gm_flute").gain(0.3)

// other · clarinet · "Bb Clarinet"
const clarinet = note("<A B A B A B A B A B C ~ A B A B A B C D E ~ F D E D G ~ A B A B A B H@2 C>".pickRestart({
  A: "e3!2 b3!2 e4!2 d#4!2", B: "d4!2 c#4!2 c4!2 b3!2", C: "e4@2 e4@2 e4 e4@2 e4", D: "~@2 e5 g5 a5 g5 e5 ~",
  E: "g5@3 e5@5", F: "b4@3 e4@5", G: "c#5@6 c#5 c5", H: "e4@2 e4@2 e4 e4@2 ~",
})).s("gm_clarinet").gain(0.3)

// other · alto sax · "Alto Saxophone"
const alto_sax = note("<~@3 A B C D E B C F A B C D E B C G H I H J H I K L A B C D E B C M N O>".pickRestart({
  A: "~@3 b3", B: "e4 b4", C: "a#4@4 a4 g4 e4 d4", D: "e4@2 e4 d4 e4 d4 b3 a3", E: "b3@3 b3", F: "b4@2 c5@2 d5 c5@2 b4",
  G: "e4@2 a4@2 b4 a4@2 g4", H: "~@2 e4 g4 a4 g4 e4@2", I: "g4@3 e4@5", J: "b4@3 e4@5", K: "~@2 e4 g4 a4 g4 e4 ~",
  L: "b4@6 b4!2", M: "e4@2 e4@2 d4 d4@2 ~", N: "c#4@2 c#4@2 b3 b3@2 ~", O: "e4@2 e4@2 e4 e4@2 e4",
})).s("gm_alto_sax").gain(0.3)

// other · alto sax · "Alto Saxophone"
const alto_sax_2 = note("<~@4 A B C D A B E F A B C D G H I ~ J ~ K ~ J ~ L ~ G H C D G H M N O>".pickRestart({
  A: "g3 [e3,e4]", B: "[g3,g4] ~", C: "[e3,e4]!2", D: "b3@3 ~", E: "[e3,e4]@2 [e3,e4]@2 [e3,e4] [e3,e4]@2 [e3,e4]",
  F: "~@3 b3", G: "b3!2", H: "a#3 ~", I: "e4@2 e4@2 e4 e4@2 e4", J: "a#3@3 a#3@5", K: "c#4@3 c#4@5", L: "b3@6 b3!2",
  M: "b3@2 b3@2 a#3 a#3@2 ~", N: "a3@2 a3@2 g3 g3@2 ~", O: "[f#3,e4]@2 [f#3,e4]@2 [f3,e4] [f3,e4]@2 [e3,e4]",
})).s("gm_alto_sax").gain(0.3)

// other · trumpet · "Bb Cornet"
const trumpet = note("<~@3 A B C D E B C F A B C D E B C G ~ H ~ I ~ H ~ J A B C D E B C K@2 F>".pickRestart({
  A: "~@3 b3", B: "g3 e4", C: "g4@4 e4@2 e4 d4", D: "e4@2 e4 d4 e4 d4 b3 a3", E: "b3@3 g3", F: "e4@2 e4@2 e4 e4@2 e4",
  G: "b3@2 c4@2 d4 c4@2 b3", H: "b3@3 b3@5", I: "e4@3 c#4@5", J: "e4@6 e4 d#4", K: "e4@2 e4@2 e4 e4@2 ~",
})).s("gm_trumpet").gain(0.3)

// other · trumpet · "Bb Cornet"
const trumpet_2 = note("<~@4 A B C D A B E ~ A B C D A B E ~ F ~ G ~ F ~ H ~ A B C D A B I@2 E>".pickRestart({
  A: "b3!2", B: "a#3 ~", C: "e4!2", D: "b3@3 ~", E: "e4@2 e4@2 e4 e4@2 e4", F: "b3@3 b3@5", G: "c#4@3 b3@5",
  H: "c#4@6 c#4 c4", I: "e4@2 e4@2 e4 e4@2 ~",
})).s("gm_trumpet").gain(0.3)

// other · trombone
const trombone = note("<A B A B A B A B A B C D A B A B A B C ~ E F G H E@2 I D A B A B A B J K L>".pickRestart({
  A: "e3 f3 f#3 g3", B: "g#3 a3 a#3 b3", C: "e3@2 f3@2 g3 f3@2 e3", D: "~ b3!4 a3 g3 f#3", E: "c3 e3 g3 e3",
  F: "c3 e3 g3 c3", G: "e3 g3 b3 g3", H: "e3 b3 g3 e3", I: "f#3@2 c#4@2 a3@2 f#3 f3", J: "e3@2 e3@2 a#2 a#2@2 ~",
  K: "a2@2 a2@2 g2 g2@2 ~", L: "c#3@2 c#3@2 c3 c3@2 e3",
})).s("gm_trombone").gain(0.3)

// drums · kick
const kick = s("bd").struct("<A@10 ~@2 A@6 ~@2 B C B C B C B ~ A@6 ~@2 D>".pickRestart({
  A: "x!2", B: "x ~@2 x", C: "x", D: "x ~@3 x!2 ~ x",
})).gain(0.3)

// drums · snare
const snare = s("sd").struct("<A@10 B ~ A@6 B ~ A@7 C A@6 B@2 D>".pickRestart({
  A: "~ x ~ x", B: "x ~ x ~ x!2 ~ x", C: "~ x!3 ~@4", D: "~@2 x ~ x!2 ~ x",
})).gain(0.3)

// drums · low tom
const low_tom = s("lt").struct("<~@11 [~@12 x!4] ~@15 [~@12 x!4] ~@9>").gain(0.3)

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

// drums · mid tom
const mid_tom = s("mt").struct("<~@11 [~@8 x!4 ~@4] ~@15 [~@8 x!4 ~@4] ~@9>").gain(0.3)

stack(
  flute, flute_2, clarinet, alto_sax, alto_sax_2, trumpet, trumpet_2, trombone, kick, snare, low_tom, hihat, mid_tom
)

More by Henry Mancini