Strudelify

Night for 2

JMComposer

KeyG majorTempo56 bpm
0:00/0:00
// Night for 2 — JMComposer
// 56 bpm, 6/8, key G major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Tempo changes preserved in elapsed time; displayed bars use the dominant tempo.
// note: metre changes (4/4 at bar 1, 3/8 at bar 10, 6/8 at bar 11) are rendered on a constant 6/8 grid of one bar per cycle
// note: ch 9 "Viola" named as a string part, played on viola (its piano patch is not one)
// note: Transcription provider: pdmx. https://musescore.com/score/5976100; license: https://creativecommons.org/publicdomain/zero/1.0/
// note: Full arrangement: all 55 bars on a 48-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(56/3)

// 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 · alto sax · "Alto Saxophone"
const alto_sax = note("<~@17 A B C D E ~ F G H I J ~ K L M N O P ~@8 Q R S T U V W ~@5>".pickRestart({
  A: "~@3 b4 c5 d5", B: "a#4 b4@7 g4@13 e4@3 g4@8 ~@5 b4@3 c5@5 d5@3",
  C: "a#4 b4@7 g4@13 e4@3 g#4 a4@7 ~@5 d4@3 e4@5 f#4@3", D: "a4@13 g4@11 f#4@8 d5@8 g#4 a4@7", E: "g4", F: "~@4 a#4!2",
  G: "a#4@13 a4@3 a#4@5 c5@3 d5@8 f#5@8 d5@8", H: "d5@5 c5@3 a#4@5 a4@3 g4@5 f#4@3 g4@8 g5@8 f5@8",
  I: "d#5@13 d5@3 c5@5 a#4@3 c5@8 d5@8 d#5@8", J: "f5@5 f5@3 ~@5 f5@3 d5@5 f5@3 g#5 a5@7 g5@16", K: "~@3 f#4 g4 a4",
  L: "f4 f#4@7 d4@13 b3@3 d4@8 ~@5 f#4@3 g4@5 a4@3",
  M: "f#4@2 d4@2 b3@2 g3@2 b3@2 d4@2 e4@2 a4@2 d5@2 e5@2 b4@2 a4@2 g4@3 b4@2 d5@3 f#5@3 g5@2 d5@3 c5@5 b4@3",
  N: "g#4 a4@4 g4@3 g4@8 a4@5 b4@3 c5@3 b4@2 a4@3 c5@3 b4@2 a4@3 d#5 e5@3 d5@2 b4@2",
  O: "d5@5 e5@3 ~@4 d#5 ~ e5@6 d5@2 b4@2 d5@5 f#5@8 d5@3 a#4 b4@4 a4@3", P: "g4 ~@5",
  Q: "c#5 d5@7 b4@13 g4@3 f#4@8 ~@5 f#4@3 g4@5 a4@3", R: "d5@5 c5@3 b4@5 b4@11 f#5@5 e5@3 d5@4 a#4 ~ b4@10",
  S: "d#5 e5@12 e4@3 g4@5 a4@3 a#4@4 ~@4 b4@16",
  T: "e5@3 c5@2 g4@3 c5@3 g4@2 e4@3 a4@3 g4@2 e4@3 g4@8 ~@5 g4@3 a4@5 b4@3",
  U: "c#5 d5@7 e5@8 b4@8 d5@8 ~@5 d4@3 e4@5 f#4@3", V: "a4@16 g4@8 a4@8 g4@13 f#4@3", W: "a4 ~",
})).s("gm_alto_sax").gain(0.45)

// other · string ensemble 1 · "Violin"
const string_ensemble_1 = note("<~@6 A@3 ~@28 B C D E F@2 G H I J K L M ~@5>".pickRestart({
  A: "[~@5 d6@100 ~@39]/3", B: "~ g#5", C: "g5@8 g6@5 f#6@3 e6@5 d6@3 e6@8 a5@8 g6@8",
  D: "f#6@13 e6@3 d6@5 c6@3 d6@8 b5@8 a5@8", E: "g5@13 f#5@3 g5@5 a5@3 b5@8 f#6@8 d6@8",
  F: "[e6@2 d6@4 d5 ~ g4@10 g5@2 f#5@2 e5@2]/2", G: "d5@3 e5 d5 c5", H: "d5@16 f#5@8 d5@13 d5@3 c5@5 b4@3",
  I: "d5@13 g5@8 a5@3 a#5@4 ~@4 b5@8 d6@8", J: "b5@8 g5@13 e5@3 g5@8 ~@5 b5@3 c6@5 d6@3",
  K: "b5@8 g5@8 e5@8 a5@8 ~@5 d5@3 e5@5 f#5@3", L: "a5@16 g6@8 f#6@8 d6@13 a5@3", M: "f#5 ~",
})).s("gm_string_ensemble_1").gain(0.32)

// other · string ensemble 1 · "Violin" · soft notes
const string_ensemble_1_soft = note("<A@3 B C D@2 ~@14 E F G H I J K L@2 ~@4 M N O P ~@17>".pickRestart({
  A: "[~@11 d6@25]/3", B: "c6", C: "~ d6@23", D: "[~@2 e6@25 ~@21]/2", E: "~@5 b5", F: "g5", G: "a5@2 g5", H: "g5 f#5",
  I: "a5 d6", J: "d#6", K: "d6 f6 d#6", L: "[d6@6 c6@12 d#6 ~ d#6@4]/2", M: "a5", N: "d6", O: "b5", P: "a5 ~",
})).s("gm_string_ensemble_1").gain(0.21)

// other · string ensemble 1 · "Violin"
const string_ensemble_1_2 = note("<~@6 A@3 ~@28 B C D E F G H I J K L M N ~@5>".pickRestart({
  A: "[~@5 b5@50 a5@50 ~@39]/3", B: "~ d5", C: "c5@8 e5@5 f#5@3 g5@5 b5@3 c6@8 f#5@8 d6@8",
  D: "d6@13 c6@3 b5@5 a5@3 b5@8 g5@8 f#5@8", E: "e5@2 d5 c5 a5@2", F: "a5@4 g5@2 b4 ~ d4@4",
  G: "e4@8 f#4@8 g4@8 a4@13 c5@11", H: "b4 a4 g4 f#4@3", I: "g4 a4 b4@3 c5", J: "b4@6 d5 ~ g5@2 b5@2",
  K: "g5@8 e5@13 c5@3 e5@8 ~@5 g5@3 a5@5 b5@3", L: "g5@8 e5@8 c5@8 d5@8 ~@5 d5@3 c5@5 a4@3", M: "b4@2 d5 a5 f#5 c5",
  N: "d5 ~",
})).s("gm_string_ensemble_1").gain(0.32)

// other · string ensemble 1 · "Violin" · soft notes
const string_ensemble_1_soft_2 = note("<A@3 B C D@2 ~@14 E F G H I J K L M ~@5 N O P ~@17>".pickRestart({
  A: "[~@22 b5@25 a5@25]/3", B: "g5@37 a5@11", C: "~ b5@23", D: "[~@2 c6@25 ~@21]/2", E: "~@2 g5", F: "a#4@2 a4",
  G: "d5 f5 d#5", H: "d#5@2 d5", I: "d5@13 c5@11 b4@24", J: "a#4@3 a#5 a5@2", K: "a5@2 g5", L: "a#5@8 a5@7 g#5",
  M: "g5@6 a5 ~ a5@4", N: "a5", O: "g#5 f5", P: "e5 ~",
})).s("gm_string_ensemble_1").gain(0.21)

// chords · viola
const viola = note(`<
  A@3 B@5 C@2 D E F G H I J K L M N O P Q R S T U V W X Y L Z AA AB AC AD AE AF AG AH AI AJ AK AL AM AN AO AP@6
>`.pickRestart({
  A: "[~@44 b6@3 ~ g6@3 d6@3 f#6@3 b6@3 g6@3 d6@3 f#6@3 b6@3 g6@3 ~ d6@3 f#6@3 b6@3 g6@3 d6@3 f#6@3 b6@3 a6@3 d6@3 ~ f#6@3 b6@3 a6@3 d6@3 f#6@3 b6@3 a6@3 d6@3 f#6@3 ~ b6@3 a6@3 d6@3 f#6@3, ~@22 g4@25 f#4@25]/3",
  B: "[a6@3 g6@3 c6@3 e6@3 a6@3 ~ g6@3 c6@3 e6@3 a6@3 g6@3 c6@3 e6@3 a6@3 g6@3 ~ c6@3 e6@3 b6@3 g6@3 d6@3 f#6@3 b6@3 g6@3 d6@3 ~ f#6@3 b6@3 g6@3 d6@3 e6@3 b6@3 g6@3 d6@3 e6@3 ~ c7@3 g6@3 d6@3 e6@3 c7@3 g6@3 d6@3 e6@3 c7@3 ~ g6@3 d6@3 e6@3 c7@3 g6@3 d6@3 e6@3 b6@3 a6@3 ~ d6@3 f#6@3 b6@3 a6@3 d6@3 f#6@3 b6@3 a6@3 d6@3 ~ f#6@3 b6@3 a6@3 d6@3 f#6@3 ~@3 d3@3 e3@3 f#3@3 ~ g#3@3 a3@3 b3@3 c4@3 [d4,f#4]@3 [e4,g#4]@3 [f#4,a4]@3 [g4,b4]@3 [f#3,a4,c5]@3 ~, e4@50 f#4@25 g4@49 a4@25 g4@50 f#4@25 ~@16, ~@199 a5@12 ~@29]/5", // D E F#m G F#dim
  C: "[[g#3,b4,d5]@3 [a3,c5,e5]@3 [b3,d5,f#5]@3 [a3,c4,e4]@3 [b3,d4,f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~ [d4,a4]@2 a4@2, b3 g3 ~, ~@8 [f#4,a4,b4,d5]@15 ~@9 [f#4,b4,d5]@15 ~", // Bm7 D5 Bm7 Bm
  AL: "[f#4,b4,d5]@8 ~@5 [f#4,b4,d5]@11 [f#4,a#4,d5]@4 ~@4 e4@8 f#4@8, ~@8 g4@24 [g4,b4,d5]@15 ~", // Bm F#aug G
  AM: "[e4,g4,c5,e5]@8 ~@5 [g4,c5,e5]@8 c4@3 c6@3 a5@2 g#5@3 g5@3 e5@2 [e4,d5]@3 c5@3 a4@2 g4@3, ~@8 c4@13 ~@3 c4@8 ~@8 g4@5 ~@3", // C E7
  AN: "e4@8 ~@8 g4@8 [a4,c5]@4 ~@4 f#4@5 f#4@3 g4@5 a4@3, ~@8 [f#4,a4,c5]@15 ~ f#4@8 [a4,c5,e5]@15 ~", // Am F#dim Am
  AO: "~@2 a5@14 [b3,b5,d6,g6]@8 ~@2 f#6@6 [b3,g5,b5,d6]@8 ~@5 a5@3, [g4,d5]@2 ~ [d4,b5] ~ e4, ~ f#5@15 ~@9 d6@7 ~@16", // G G5 G
  AP: "[~@3 a5@21 b6@10 ~ c7@10 d7@10 ~ a#6 ~@8 g6@14 ~ e6@4 g6@9 ~@6 b6@4 c7@5 d7@4 ~@9 g6@9 ~ e6@9 a6@9 ~@5 d6@4 ~ e6@4 f#6@4 ~@20 g6@11 f#6@11 d6@13 ~ a5@13 ~ g5@40 ~@11, [f#4,g4]@24 ~@33 c5@55 c5@56 g4@69 ~@51, ~ b4@23 ~@32 a4@56 ~@2 f#5@54 ~@2 d5@67 ~@51, ~@2 f#5@22 ~@33 b6@2 g5@53 b6@3 a5@53 a6@3 f#5@66 ~@51, ~@58 e5@54 ~ d5@55 ~ b4@68 ~@51]/6", // Gmaj7
})).s("gm_viola").gain(0.3)

// other · tremolo strings · "Violoncello"
const tremolo_strings = note("<~@5 A@4 ~@12 B ~@16 C D E F G H I J K L@2 M ~@5>".pickRestart({
  A: "[~@4 a2@49 d3@50 d2@50 ~@39]/4", B: "~ g2", C: "c4 d4 e4 g4 f#4 a4", D: "b3 c4 d4 f#4 e4@2",
  E: "d4@13 c4@3 b3@5 a3@3 g3@8 c4@8 a3@8", F: "b3@6 d4 ~ g3@4", G: "b3@8 g3@13 e3@3 g3@8 ~@5 b3@3 c4@5 d4@3",
  H: "b3@8 g3@13 e3@3 a3@8 ~@5 d4@3 c4@5 b3@3", I: "b3@13 d4@3 c4@5 b3@3 b3@16 ~@5 b3@3",
  J: "b3@13 g3@3 d4@5 e4@3 f4@8 e4@8 d4@8", K: "c4 e4", L: "[g4@24 a4@32 g4@16 f#4@8 d4@3 b3@2 a3@3 g3@3 d3@2 d2@3]/2",
  M: "g2 ~",
})).s("gm_tremolo_strings").gain(0.34)

// other · tremolo strings · "Violoncello" · soft notes
const tremolo_strings_soft = note("<A@3 B C ~@17 D E F G H I J K ~@5 L M N ~@17>".pickRestart({
  A: "[~@44 g3@37 ~ a3@12 b3@37 ~ a#3@12]/3", B: "a3", C: "~ e3@23", D: "c3 c4", E: "a#3 g3", F: "c3 d#3 a3 d4 c4 a3",
  G: "a#3@16 a3@5 a#3@3 b3@24", H: "c4!2", I: "a#3 a3 g3", J: "d#4@8 d4@7 c#4", K: "c4@6 c4 ~ c4@4", L: "~ f#3",
  M: "f3 g#3", N: "b3",
})).s("gm_tremolo_strings").gain(0.23)

// bass · acoustic bass · "Bass"
const bass = note("<~@17 A B C D E F G H I F G J K L M B N O P Q R S T S U B C V W B C X Y ~@5>".pickRestart({
  A: "~@37 e1@3 g1@5 g#1@3", B: "a1@8 ~@5 a2@8 e1@3 a1@5 e1@3 a1@5 ~@3 c2@5 c#2@3",
  C: "d2@5 a2@3 ~@5 d3@8 a2@3 d2@5 a1@3 d2@5 ~@3 d2@5 a1@3", D: "g1@16 ~@5 g1@11 g1@16",
  E: "g1@8 g2@5 d2@3 ~@5 g1@3 d2@5 g1@3 g1@8 e2@5 d2@3", F: "c2@5 c3@3 ~@5 c2@3 d2@5 d#2@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// drums · kick
const kick = s("bd").struct(`<
  ~@14 A B A B A B A B A B A B A B A C A B A B A B A B A B A C A B A B A B A D ~@5
>`.pickRestart({
  A: "x ~@20 x ~@18 x ~@7", B: "x ~@12 x ~@7 x ~@15 x ~@10", C: "x ~@12 x ~@7 x ~@26", D: "x ~@6 x!2 ~@7",
})).gain(0.25)

// drums · snare
const snare = s("sd").struct(`<
  ~@14
  [~ x]!15
  [~@32 x ~@2 x ~ x ~@2 x ~@7]
  [~ x]!11
  [~@32 x ~@2 x ~ x ~@2 x ~@7]
  [~ x]!7
  ~@6
>`).gain(0.25)

// drums · snare · soft notes
const snare_soft = s("sd").struct("<~@29 [~@24 x ~@2 x ~ x ~@18] ~@11 [~@24 x ~@2 x ~ x ~@18] ~@13>").gain(0.16)

// drums · hihat
const hihat = s("hh").struct(`<
  ~@13 A B C B C B C B C B C B C B C B D B C B C B C B C B C B D B C B E B C B ~@6
>`.pickRestart({
  A: "~@37 x ~@10", B: "~ x!2 ~ x!2", C: "x ~@7 x ~@7 x ~@15 x ~@4 x ~@10", D: "x!3 ~@3", E: "x!3 ~ x ~",
})).gain(0.25)

// drums · low tom
const low_tom = s("lt").struct("<~@45 [~@15 x] ~@3 [~@5 x ~@42] ~@5>").gain(0.25)

// drums · mid tom
const mid_tom = s("mt").struct("<~@17 A ~@3 A ~@3 A ~@3 B ~@3 A ~@3 A ~@3 B ~@3 C ~@9>".pickRestart({
  A: "~@40 x ~@4 x ~@2", B: "~@43 x ~ x ~@2", C: "~@40 x ~@2 x ~@4",
})).gain(0.25)

// drums · open hat
const open_hat = s("oh").struct(`<
  ~@13 A B A B ~ B A B ~ B A B ~ B A B ~@2 A B ~ B A B ~ B A B ~@2 A B ~@2 A B@2 ~@5
>`.pickRestart({
  A: "~@5 x", B: "x",
})).gain(0.25)

// drums · crash
const crash = s("cr").struct("<~@30 A ~@11 A ~@3 A ~@2 B ~@5>".pickRestart({
  A: "x", B: "~@17 x!2 ~@2 x!2 ~ x ~@23",
})).gain(0.12)

// drums · crash · soft notes
const crash_soft = s("cr").struct("<~@49 [~@8 x!2 ~@2 x!2 ~@34] ~@5>").gain(0.04)

stack(
  alto_sax, string_ensemble_1, string_ensemble_1_soft, string_ensemble_1_2, string_ensemble_1_soft_2, viola,
  tremolo_strings, tremolo_strings_soft, bass, kick, snare, snare_soft, hihat, low_tom, mid_tom, open_hat, crash,
  crash_soft
)

More by JMComposer