Strudelify

Non dormire piu

Mango

KeyB minorTempo113 bpm
0:00/0:00
// Non dormire piu — Mango
// 113 bpm, 4/4, key B minor. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Tempo changes preserved in elapsed time; displayed bars use the dominant tempo.
// note: Full arrangement: all 119 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(113/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 · synth bass 2
const bass = note(`<
  ~@21 A@3 B A@3 C D E F G H I H I J@2 K F K I F J L M K F K I F J L N O@2 ~@4 A@3 C D E F G H I H I J@2 K F K I F J L P
  K F K I F J L Q K F K I F J L R K F K I F J L M K F K I F J L S@5
>`.pickRestart({
  A: "b0 ~ b0 ~ b0 ~ b0 ~ b0 ~ b0 ~ b0 ~ b0 ~", B: "b0 ~ b0 ~ b0 ~ b0 ~ f#1@2 a1@2 b1@2 d2@2",
  C: "b0 ~ b0 ~ b0 ~ b0 ~ b0 ~ b0 ~ f#1 ~ a1 ~", D: "b1 ~ b1 ~ b1 ~ b1 ~ c#2 ~ c#2 ~ c#2 ~ c#2 ~",
  E: "d2 ~ d2 ~ d2 ~ d2 ~ e2 ~ e2 ~ e2 ~ e2 ~", F: "g1 ~ g1 ~ g1 ~ g1 ~ g1 ~ g1 ~ g1 ~ g1 ~",
  G: "g1 ~ g1 ~ g1 ~ g1 ~ f#1 ~ f#1 ~ f#1 ~ f#1 ~", H: "e1 ~ e1 ~ e1 ~ e1 ~ e1 ~ e1 ~ e1 ~ e1 ~",
  I: "c1 ~ c1 ~ c1 ~ c1 ~ c1 ~ c1 ~ c1 ~ c1 ~", J: "a1 ~ a1 ~ a1 ~ a1 ~ a1 ~ a1 ~ a1 ~ a1 ~",
  K: "d1 ~ d1 ~ d1 ~ d1 ~ d1 ~ d1 ~ d1 ~ d1 ~", L: "a#1 ~ a#1 ~ a#1 ~ a#1 ~ a#1 ~ a#1 ~ a#1 ~ a#1 ~",
  M: "c2 ~ c2 ~ c2 ~ c2 ~ a1 ~ c2@2 d2 ~ f2@2", N: "c2 ~ c2 ~ c2 ~ c2 ~ a1@2 c2@2 d2@2 f2@2", O: "d1/2",
  P: "c2 ~ c2 ~ c2 ~ c2 ~ a1@2 c2 ~ d2@2 f2@2", Q: "c2 ~ c2 ~ c2 ~ c2 ~ a1@2 c2@2 d2@2 f2 ~",
  R: "c2 ~ c2 ~ c2 ~ c2 ~ a1 ~ c2@2 d2@2 f2@2", S: "[c2 ~ c2 ~ c2 ~ c2 ~ a1@2 c2@2 ~ d2@2 f2@2 d1@60 ~@3]/5",
})).s("gm_synth_bass_2").gain(0.72)

// chords · electric guitar muted
const electric_guitar_muted = note(`<
  ~@33 A B A C@2 ~@4 D ~@3 E ~@3 D ~@3 E ~@23 D ~@3 E ~@3 D ~@3 E ~@3 D ~@3 F@2 ~@2 D ~@3 E ~@3 D ~@3 G@2 ~@3
>`.pickRestart({
  A: "~@3 [e4,g4] [f#4,a4]@4", B: "[g4,b4]", C: "[[g4,b4]@7 ~ a4@7 ~, ~@15 [a3,e4]@14 ~@3]/2",
  D: "~@4 g4@3 ~, ~@3 c4@3 ~@2", E: "~@2 g3 ~ e3 c4 ~ c4, f4@2 ~ g4@2 ~@3, ~ c4@2 ~@3 g3@2",
  F: "[~@2 g3 ~ e3 c4 ~ c4 ~@8, f4@4 ~@2 g4@5 ~ c5@8 ~@12, ~ c4@2 ~@13]/2",
  G: "[~@4 g3@2 ~@2 e3@2 c4@3 ~@2 c4@2 ~@15, f4@4 ~@2 g4@5 ~@2 c5@12 ~@7, ~ c4@2 ~@13]/2",
})).s("gm_electric_guitar_muted").gain(0.64)

// other · string ensemble 2
const string_ensemble_2 = note(`<
  ~@6 A@3 B C D E F G F H I J I J K@8 L M N@2 O P O P Q@2 R S R T S U V W R S R T S U V W X@2 I J I J Y@4 L M N@2 O P O
  P Q@2 R S R T S U V W R S R T S U V W R S R T S U V W R S R T S U V W R S R T S U V W Z@4
>`.pickRestart({
  A: "[f#4@8 g4@4 e4@4 f#4@7 ~, b3@23 ~]/3", B: "[d4,f#4] [c#4,e4], a3", C: "~@12 f#4@3 ~, [f#3,b3,d4]",
  D: "[g3,e4,g4]", E: "[e2,e3]", F: "[c3,c4] [d3,d4]", G: "[e3,e4]", H: "[e2,b2,b3]", I: "f#2", J: "d2 e2",
  K: "[b1@31 ~]/8", L: "b2 c#3, b1@3 ~ c#2@3 ~", M: "d3 e3, d2@3 ~ e2@3 ~", N: "[[g1,g2]@3 [f#1,f#2]]/2",
  O: "e2, e1@7 ~", P: "c3, c2@7 ~", Q: "[a1,a2]/2", R: "d2, d1@13 ~@3", S: "g2, g1@13 ~@3", T: "c2, c1@13 ~@3",
  U: "a2, a1@13 ~@3", V: "a#2, a#1@13 ~@3", W: "c3, c2@13 ~@3", X: "[d1,d2]/2", Y: "[b1@29 ~@3]/4",
  Z: "[~ [d1,d2]@60 ~@3]/4", // D
})).s("gm_string_ensemble_2").gain(0.56).pan(0.6)

// chords · string ensemble 2
const string_ensemble_2_2 = note(`<
  ~@17 A B C D@8 ~@3 E@2 F G F G H@2 I@2 J K L M N@2 I@2 J K L M N@2 O@2 A B P@6 ~@2 E@2 F G F G H@2 I@2 J K L M N@2 I@2
  J K L M N@2 I@2 J K L M N@2 I@2 J K L M N@2 I@2 J K L M N@2 Q@4
>`.pickRestart({
  A: "~ f#3 g#3 a3", B: "a3 b3", C: "~ f#3 g#3 a3, c#4", D: "[a3 g#3 f#3@14, ~ b3@15]/8",
  E: "[[d3,b3,b5] [c#4,a5] ~ c#3, ~ e3@2 ~, ~ [d4,g5]]/2", F: "[g3,e4,g4] [a3,f#4,a4]", G: "[b3,g4,b4]@13 ~@3",
  H: "[e4,a4]/2", I: "[[f4,a4] [g4,a#4], d4]/2", J: "[d4,f4,a4]", K: "[c4,e4,g4]", L: "[d4,f4,a#4]", M: "[c#4,e4,a4]",
  N: "[[d4,f4,a#4]@3 [e4,g4,c5]]/2", O: "[d4,f4,a4]/2", P: "[~ f#3 g#3 a3 a3@2 g#3@2 f#3@15 ~, c#4@6 b3@17 ~]/6",
  Q: "[~ [d4,f4,a4]@60 ~@3]/4", // Dm
})).s("gm_string_ensemble_2").gain(0.47).pan(0.7)

// other · tremolo strings
const tremolo_strings = note("<~@17 A B A B C D C ~@33 A B A B ~@58>".pickRestart({
  A: "~@2 f#4 ~ c#4 ~ f#4 ~ [c#4,f#4] ~ f#4 ~ c#4 ~ f#4 ~", B: "~@2 f#4 ~ c#4 ~ f#4 ~ b3 ~ e4 ~ b3 ~ e4 ~",
  C: "~@2 b3 ~ d4@2 b3 ~@9", D: "~@10 a3 ~ f#3@2 ~@2",
})).s("gm_tremolo_strings").gain(0.72).pan(0.3)

// chords · piano
const piano = note(`<
  A B A B C D C D C E F G H I H I J A B A B ~@16 K ~ L M L N O P@2 Q R@2 L S T U V W X@2 A B A B ~@4 Y Z AA@2 AB@4 K ~ L
  M L N O P@2 Q R@2 L S T U V W L M L N O P@2 Q L M L N O P@2 Q L M L N O P@2 AC AD@4
>`.pickRestart({
  A: "~@5 a4 ~ a4, f#3, ~@2 f#4@4 c#5@5 ~ c#5@4, ~@4 a4@4 f#4@7 ~",
  B: "~@3 f#4 ~@3 g#4, d3 e3, ~ a3@3 ~ b3@3, ~ d4 ~ e4", C: "~@7 d5, b2, ~ d4@2 d5@2 d4@3, ~ f#4 b3@2, ~@3 f#4",
  D: "~@3 b4 ~@3 c#5, g3 a3, ~ d4@3 ~ e4@3, ~ g4 ~ a4", E: "~@3 f#4 ~@3 e4, d3 a2, ~ a3@3 ~ a3@3, ~ d4 ~ c#4",
  F: "~@7 b4, b2, ~ f#3@2 d4@2 b3@3, ~ b3 f#3@2, ~@3 f#4", G: "~@3 b4 ~@3 b4, g3!2, ~ d4@3 ~ d4@3, ~ g4 ~ g4",
  H: "~@7 g4, e3!2, ~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 ~ a4@3 ~@9, ~ a3@3 ~ c#4@3 ~@8, ~@6 a3@3 ~@7]/2",
  AB: "[~@11 g4@4 ~, e2@4 e2@4 c2@7 ~, ~ b3@2 b3@2 b3@2 b3@2 b3@2 ~@5, ~@2 g4@3 ~ a4@3 ~@7, ~@8 b4@2 b4@5 ~]/2",
  AC: "[f3,c4]@7 ~ [e3,c4]@8", AD: "[~ [d2,d3,f4,d5,a5]@60 ~@3]/4",
})).s("gm_piano").gain(0.64)

// other · violin
const violin = note(`<
  A B A B C ~@12 A B A B D@3 ~@33 A B A B D@3 ~@27 E F E G H I J K E F E G H I J K E F E G H I J L@2 ~@3
>`.pickRestart({
  A: "~@2 a5@2 g#5 f#5@3", B: "~@2 a5@2 b5 a5 g#5@2", C: "f#5", D: "f#5/3", E: "~@2 f5@2 e5 d5@3",
  F: "~@4 f5@4 g5 ~ f5 ~ e5@4", G: "~@4 f5@4 g5 ~ f5 ~ g5@4", H: "~ d5 e5 f5", I: "~ e5 f5 g5", J: "~ f5 g5 a5",
  K: "~@4 a5@4 g5 ~ f5 ~ a5@4", L: "[~@4 a5@4 g5 ~ f5 ~@2 a5@5 ~@14]/2",
})).s("gm_violin").gain(0.64).pan(0.4)

// other · timpani
const timpani = note("<~@17 A ~ A ~@37 A ~ A ~@15 A ~@7 A ~@7 A ~@7 A ~@7 A ~@11>".pickRestart({
  A: "c1@3 ~@5",
})).s("gm_timpani").gain(0.8).pan(0.3)

// chords · distortion guitar
const distortion_guitar = note(`<
  ~@6 A@3 ~ B@2 C@2 D@2 E ~@4 F@4 ~@12 G@2 H I H J I K L J H I H J I K L J M@2 ~@5 N@3 ~@8 G@2 H I H J I K L J H I H J I
  K L J H I H J I K L J H I H J I K L J H I H J I K L J O@4
>`.pickRestart({
  A: "[b2@7 ~]/3", B: "b2/2", C: "b5/2", D: "[e3@7 b5@9]/2", E: "[e3,b3]", F: "[[b2,b3]@31 ~]/4", G: "[a2,e3]/2",
  H: "[d3,a3]", I: "[g2,d3]", J: "[c3,g3]", K: "[a2,e3]", L: "[a#2,f3]", M: "[d2,a2,d3]/2", N: "[[f#3,b3]@7 ~]/3",
  O: "[~ [d2,a2,d3]@60 ~@3]/4", // D5
})).s("gm_distortion_guitar").gain(0.63).pan(0.4)

// drums · kick
const kick = s("bd").struct("<~@21 [x ~@2 x!2 ~@2 x]!34 x ~@5 [x ~@2 x!2 ~@2 x]!53 [x ~@5 x ~ x ~@6 x] [~ x ~@14] ~@3>")
  .gain(0.8)

// drums · snare
const snare = s("sd").struct("<~@21 [~ x ~ x]!34 ~@6 [~ x ~ x]!53 [~@4 x ~@8 x ~@2] ~@4>").gain(0.8)

// drums · low tom
const low_tom = s("lt").struct("<~@38 A ~@7 B ~@7 B ~@19 A ~@7 B ~@7 B ~@7 B ~@7 B ~@7 C ~@4>".pickRestart({
  A: "~@4 x ~ x ~@3 x!3 ~@3", B: "~@11 x!2 ~@3", C: "~@12 x!2 ~@2",
})).gain(0.72)

// drums · hihat
const hihat = s("hh").struct(`<
  ~@21 A B@11 A B@5 A B@7 A B@7 ~@6 B@8 A B@5 A B@7 A B@7 A B@7 A B@7 A B@6 C ~@4
>`.pickRestart({
  A: "~ x!7", B: "x!8", C: "x ~ x ~ x ~ x ~ x ~ x ~@2 x ~ x",
})).gain(0.48)

// drums · mid tom
const mid_tom = s("mt").struct("<~@32 A ~@5 B ~@7 C ~@7 C ~@13 A ~@5 B ~@7 C ~@7 C ~@7 C ~@7 C ~@7 C ~@4>".pickRestart({
  A: "~@15 x", B: "x ~ x!2 ~@12", C: "~@5 x ~@2",
})).gain(0.56)

// drums · crash
const crash = s("cr").struct(`<
  ~@21 A ~@11 A ~@5 A ~@7 A ~@7 A ~@13 A ~@5 A ~@7 A ~@7 A ~@7 A ~@7 A ~@7 B ~@3
>`.pickRestart({
  A: "x", B: "~ x ~@14",
})).gain(0.48)

// drums · shaker
const shaker = s("sh").struct("<~@21 [~@3 x!9 ~@4]!34 ~@6 [~@3 x!9 ~@4]!53 [~@3 x!8 ~ x ~@3] ~@4>").gain(0.48)

// drums · shaker · soft notes
const shaker_soft = s("sh").struct("<~@21 [~@3 x]!34 ~@6 [~@3 x]!53 [~@13 x ~@2] ~@4>").gain(0.24)

stack(
  bass, electric_guitar_muted, string_ensemble_2, string_ensemble_2_2, tremolo_strings, piano, violin, timpani,
  distortion_guitar, kick, snare, low_tom, hihat, mid_tom, crash, shaker, shaker_soft
)

More by Mango