Strudelify

Il mattino dopo

Nomadi

KeyG majorTempo67 bpm
0:00/0:00
// Il mattino dopo — Nomadi
// 67 bpm, 4/4, key G major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: pitch bends are ignored
// note: Full arrangement: all 79 bars on a 16-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): guitar program 29, guitar program 26, guitar program 30.
setcpm(67/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.

// bass · electric bass finger
const bass = note(`<
  A@4 B@8 C D E A@2 B@8 C D E A@2 F G H I J K L M N O P A@4 B@8 C D E A@2 F G H I J K L M N O P A@8 Q@2
>`.pickRestart({
  A: "g1@5 ~ g1 ~ c2@5 g1 c2 ~", B: "g1@6 d2 ~ c2@5 g1 c2@2", C: "d2@6 e3@2 d2@5 a2 d3@2", D: "c2@3 g1 c2@2 g1 c2",
  E: "e2 d2 c2@2", F: "e2@6 b1 ~ e2@6 b1@2", G: "c2@6 g1 ~ c2@3 g2@2 a2 g2@2", H: "a1@6 e1 ~ a1@3 e2@3 a2 g2",
  I: "c2@2 g1@4 d2@2 d2@2 a2@5 ~", J: "e2@5 e2 b1 ~ e2@4 b1@2 a1@2", K: "c2@6 g1 ~ c2@4 g2@4", L: "c2@8 d2@7 ~",
  M: "e2 d2", N: "c2@9 c1!2 g1!2 c1 c1@2", O: "e2@8 d2@7 ~", P: "c2", Q: "[g1@13 ~@3]/2",
})).s("gm_electric_bass_finger").gain(0.49)

// other · overdriven guitar
const overdriven_guitar = note(`<
  ~@5 A@2 B@2 C D E F G H ~@3 A@2 I@2 J@2 K F G H ~@2 L G M N L O N P G Q R ~@5 A@2 I@2 J@2 K F G H ~@2 L G M N L O N P
  G Q S T U@3 V@2 W@4
>`.pickRestart({
  A: "[~@12 e4 g4 a3 g3@9 ~@8]/2", B: "[~@12 c4 ~ d4 g3@15 ~ g3]/2",
  C: "~@4 d4@3 ~@4 d4 e4 g4 [a3,a#3] [g3,g#3], g3@7 ~@9", D: "[g3,b3] [c4,e4]",
  E: "[g3,b3]@8 [c4,e4]@2 ~ [d3,e3] g3 e3 g3 [d#3,e3,f3]", F: "[d3,a3]@15 ~", G: "[c3,g3]", H: "b4@3 ~ a4@2 ~@2 g4@8",
  I: "[~@11 d3 [e3,g3] e3 g3 g3@9 ~@8]/2", J: "[~@10 d3!2 d4 f4 a3 g3@7 ~@10]/2",
  K: "~@11 [d3,e3] g3 e3 g3 [d#3,e3,f3]", L: "[e2,b2]", M: "[a2,e3]", N: "[c3,g3] [d3,a3]", O: "[c3,g3]@7 [c3,g3]",
  P: "[e3,b3] [d3,a3]", Q: "b4@6 ~@2 a4@5 ~@3", R: "g4@15 ~", S: "g4@8 ~@3 d4 f4!2 ~ f4", T: "f4@3 f4 a3@4 g3@3 g3@5",
  U: "[~ d4 f4!3 g4 a4 ~ a4@3 g4@2 a4 f4@4 ~ a3@2 g3@4 ~@4 d5@5 b4 a4@2 g4 a4 a4@2 g4 a4 a4@4 [g4,a4]]/3", // Gsus2
  V: "[g4@4 [c#4,d4,d#4,e4,f4,f#4] [a3,a#3,b3,c4] ~ a5@2 ~ [g5,a5] a5@2 g5 a5 a5@3 g5 g5@4 [b4,c5,c#5,d5,d#5,e5,f5,f#5] [a4,a#4] ~@3 a4 a4@2 g4, ~@6 d5 ~]/2", // Gsus2 A#maj7
  W: "[g4@4 g4 a4!3 g4 b4 g4 e4 [e4,b4] a4 g4@4 g3@3 e3!2 g3!2 a3 [b3,d4] ~ [f4,a4] a4 g4@23 ~@11, a4 ~@63]/4", // E5 Bm F
})).s("gm_overdriven_guitar").gain(0.35).pan(0.3)

// other · overdriven guitar
const overdriven_guitar_2 = note("<~@74 [~@9 g5@3 d5@3 ~] ~ [d4 ~@7] ~@2>")
  .s("gm_overdriven_guitar").gain(0.35).pan(0.3)

// other · string ensemble 1
const string_ensemble_1 = note(`<
  A B A B ~@11 A B ~@11 A B C D E F C D G F D F D A B A B ~@11 A B C D E F C D G F D F D A B A B A B A B H@2
>`.pickRestart({
  A: "g5@2 g5@2 d5@2 d5@2 e5@2 e5 d5 c5@2 c5@2", B: "d5@2 d5@2 g5@2 a5 ~ a5@2 g5@6", C: "g5@3 f#5 e5@2 f#5 g5", D: "e5",
  E: "c5@6 e5@2 a5@7 e5", F: "g5 f#5", G: "e5 f#5", H: "[g5@13 ~@3]/2",
})).s("gm_string_ensemble_1").gain(0.56).pan(0.3)

// other · string ensemble 1
const string_ensemble_1_2 = note("<A@4 ~@11 A@2 ~@11 A@2 ~@9 B C A@4 ~@11 A@2 ~@9 B C A@8 D@2>".pickRestart({
  A: "g3 d4 b3 d4 g3 d4 b3 d4 g3 e4 c4 e4 g3 e4 c4 e4", B: "e5 d5", C: "c5", D: "[d4@13 ~@3]/2",
})).s("gm_string_ensemble_1").gain(0.48).pan(0.6)

// chords · acoustic guitar steel
const acoustic_guitar_steel = note(`<
  A B A B A B A B A B A B C D E A B A B A B A B A B C D E A B F D G H F D I J D J D A B A B A B A B A B A B C D E A B F
  D G H F D I J D J D A B A B A B A B K@2
>`.pickRestart({
  A: "[g3,b3,g4]@2 [g3,b3,g4]!4 [g3,b3,g4]@2 [g3,c4,e4]!6 [g3,c4,e4]@2", // G C
  B: "[g3,b3,g4]@2 [g3,b3,g4]!4 [g3,b3,g4]@2 [g3,c4,e4]!8", // G C
  C: "[a3,d4,f#4]@2 [a3,d4,f#4]!4 [a3,d4,f#4]@2 [a3,d4,f#4]!8", // D
  D: "[g3,c4,e4]@2 [g3,c4,e4]!4 [g3,c4,e4]@2 [g3,c4,e4]!8", // C
  E: "[g3,b3,e4]@2 [g3,b3,e4]!2 [a3,d4,f#4]!2 [a3,d4,f#4]@2 [g3,c4,e4]!8", // Em D C
  F: "[g3,b3,e4]@2 [g3,b3,e4]!4 [g3,b3,e4]@2 [g3,b3,e4]!8", // Em
  G: "[a3,c4,e4]@2 [a3,c4,e4]!4 [a3,c4,e4]@2 [a3,c4,e4]!6 [a3,c4,e4]@2", // Am
  H: "[g3,c4,e4]@2 [g3,c4,e4]!4 [g3,c4,e4]@2 [a3,d4,f#4]!8", // C D
  I: "[g3,c4,e4]@2 [g3,c4,e4]!4 [g3,c4,e4]@2 [a3,d4,f#4]!6 [a3,d4,f#4]@2", // C D
  J: "[g3,b3,e4]@2 [g3,b3,e4]!4 [g3,b3,e4]@2 [a3,d4,f#4]!8", K: "[[g3,b3,g4]@13 ~@3]/2",
})).s("gm_acoustic_guitar_steel").gain(0.25)

// chords · electric guitar jazz
const electric_guitar_jazz = note("<~@17 A@2 B@2 ~@24 A@2 B@2 ~@30>".pickRestart({
  A: "[~@7 g4@7 ~ g4@4 ~@13]/2", B: "[~@15 g4@7 ~@10]/2",
})).s("gm_electric_guitar_jazz").gain(0.25).pan(0.3)

// chords · rock organ
const rock_organ = note("<~@30 A@4 B@3 C D C D ~@17 A@4 B@3 C D C D ~@10>".pickRestart({
  A: "[b4@2 ~@2 a5@2 g5 [d5,f#5,a5], e5@7 ~, g5 ~, ~@2 c5@5 ~]/4", B: "[b4@2 c5@3 [d5,a5], [e5,g5]@5 ~]/3",
  C: "[e5,g5,b5] [d5,a5]", D: "[c5,e5,g5]",
})).s("gm_rock_organ").gain(0.32)

// chords · rock organ · soft notes
const rock_organ_soft = note("<~@36 A@2 ~ A ~@24 A@2 ~ A ~@11>".pickRestart({
  A: "~ f#5",
})).s("gm_rock_organ").gain(0.2)

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

// drums · rim
const rim = s("rim").struct("<A@4 ~@11 A@2 ~@11 A B ~@11 A@4 ~@11 A B ~@21>".pickRestart({
  A: "~ x ~ x", B: "~ x ~@2",
})).gain(0.8)

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

// drums · low tom
const low_tom = s("lt").struct(`<
  ~@3 A ~@7 B ~@2 A ~ A ~@7 B ~@2 A ~ C ~@3 D ~@6 A ~@3 A ~@7 B ~@2 A ~ C ~@3 D ~@6 A ~@3 A ~@3 A ~@2
>`.pickRestart({
  A: "~@7 x", B: "~@13 x ~@2", C: "~@5 x ~ x", D: "~@12 x!2 ~@2",
})).gain(0.56)

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

// drums · mid tom
const mid_tom = s("mt").struct(`<
  ~@11 A ~@2 B ~@9 A ~@2 B ~ B ~@3 C ~@6 D ~@11 A ~@2 B ~ B ~@3 E ~@6 D ~@10
>`.pickRestart({
  A: "~@7 x", B: "~@13 x ~@2", C: "~@14 x!2", D: "~@4 x ~@5 x ~@2 x ~@2", E: "~@13 x!3",
})).gain(0.64)

// drums · mid tom · soft notes
const mid_tom_soft = s("mt").struct("<~@3 A ~@12 A ~@27 A ~@27 A ~@3 A ~@2>".pickRestart({
  A: "~@13 x ~@2",
})).gain(0.4)

// drums · high tom
const high_tom = s("ht").struct("<~@40 [~@11 x ~@4] ~@27 [~@11 x ~@4] ~@10>").gain(0.48)

// drums · crash
const crash = s("cr").struct(`<
  A ~ A ~ A ~@2 B A ~@3 A B C A ~ A ~@2 B A ~@3 A B C A ~ A D E A@2 D F A ~ A ~ A ~ A ~ A ~@2 B A ~@3 A B C A ~ A D E
  A@2 D F A ~ A ~ A ~ A ~ A ~ A ~ A ~
>`.pickRestart({
  A: "x", B: "~@3 x", C: "x!3 ~", D: "x ~@2 x", E: "x ~@14 x", F: "x ~ x!2",
})).gain(0.48)

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

stack(
  bass, overdriven_guitar, overdriven_guitar_2, string_ensemble_1, string_ensemble_1_2, acoustic_guitar_steel,
  electric_guitar_jazz, rock_organ, rock_organ_soft, kick, rim, snare, low_tom, hihat, mid_tom, mid_tom_soft, high_tom,
  crash, ride
)

More by Nomadi