Strudelify

Parliamo al singolare

Nek

KeyE majorTempo60 bpm
0:00/0:00
// Parliamo al singolare — Nek
// 60 bpm, 4/4, key E major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Tempo changes preserved in elapsed time; displayed bars use the dominant tempo.
// note: pitch bends are ignored
// note: Full arrangement: all 53 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(60/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(`<
  ~@7 A B C B D E F@2 G H I J K L I M N O P Q R Q S T I J K L I U V I J K W X Y Z AA AB AA AB ~@4
>`.pickRestart({
  A: "~ e1", B: "a1@7 f#1 f#1@8", C: "b1@3 b1 e1@4", D: "b1@3 b1 f#1@4", E: "b1@3 ~ c#2@4",
  F: "[f#1@6 f#1@2 b1@13 ~@3 c#2@7 e1]/2", G: "f#1@3 f#1 b1@4", H: "b1!8 ~@2 a1 a1@5", I: "b1@6 b1 ~ c#2@7 b1",
  J: "b1@6 b1 ~ a1@6 a1 ~", K: "b1@5 b1 b1@2 c#2@6 c#2@2", L: "b1 c#2!2 b1 c#2!2 b1!2 ~@2 a1 a1@5",
  M: "b1@6 b1 ~ a1@6 e1@2", N: "a1 c#1", O: "f#1@6 f#1 ~ b1@8", P: "~@8 e1@6 ~ e1", Q: "a1@6 a1@2 f#1@6 ~ f#1",
  R: "b1@6 b1@2 e1@6 ~ e1", S: "b1@6 b1@2 f#1@6 ~ f#1", T: "b1@2 b1!6 ~@2 a1 a1@5", U: "b1@6 b1 ~ a1@6 a1@2",
  V: "b1!8 f#1@3 f#1 f#2@2 f#1@2", W: "b1 c#2!2 b1 c#2!2 b1!2 a1@6 a1@2", X: "b1@6 b1@2 c#2@7 b1",
  Y: "b1@6 b1 ~ a1@6 c#2 e1", Z: "a1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2 [e4,f#4]@4, ~@7 a3", // B Esus2
  L: "~@4 f#3 [b2,f#3,b3,f#4]!3 ~@8, b2@5 ~@11, ~ f#3@2 f#4@2 ~@11, ~@2 b3@3 ~@11", // B5
  M: "~@6 d#4@2 ~@2 c#4 ~@2 a4@3, c#3!2, ~ b3@2 b3@2 b3@3 ~ f#3@7, ~@2 d#4@2 e4@2 ~@5 e4@5, ~@3 c#4",
  N: "~@3 d#4@5, b2, ~ b3@7, ~ e4@3", O: "~@3 d#4@3 ~@2, b2@3 ~, ~ b3@5 ~@2, ~ e4@2 ~",
  P: "[~@23 a3@2 ~@2 [b3,d#4,e4]@26 ~@11, e2@8 a2@8 f#2@9 ~ [b2,f#3]@27 ~@11, ~@5 e3@11 ~@3 e3@7 ~@38, ~@5 [b3,e4]@8 [a3,b3,c#4,e4]@8 e4@5 ~@38, ~@11 b3@2 ~@19]/4", // Emaj7 B5 E5 A
})).s("gm_acoustic_guitar_steel").gain(0.37).pan(0.6)

// chords · distortion guitar
const distortion_guitar = note(`<
  ~@2 A@2 B A ~ C ~@7 D E F G H@2 F I@4 J@4 K F G H@2 F G L F G M@2 F N@2 O P O Q A R ~@2
>`.pickRestart({
  A: "~@4 [d#3,f#3] ~ g0 ~@5 [d#3,f#3] ~ g0 ~", B: "~@12 [d#3,f#3] ~ g0 ~", C: "~@4 [d#3,f#3] a0 ~@10",
  D: "~@8 e4 ~ [d#4,f#4]@2 e4 ~ d#4 ~, ~@3 b4", // D#m
  E: "[f#3,b3,e4] [f#3,b3] [f#3,b3,d#4,f#4] [f#3,b3] [f#3,b3,e4,b4] [f#3,b3] [f#3,b3,d#4,f#4] [f#3,b3] ~@2 [a2,e3] [a2,e3]@5", // Esus2 B5 B B5 Esus2 B5 B B5 …
  F: "[b2,f#3] [c#3,g#3]", G: "[b2,f#3] [a2,e3]", H: "[[b2,f#3]@8 [c#3,g#3]@16 ~@2 [a2,e3] [a2,e3]@5]/2",
  I: "[[b2,f#3]@8 [a2,e3]@16 g#3@16 ~@6 d#4@9 ~@3 [e3,b3] ~ [e3,b3]!2 ~ [e3,b3], ~@42 b3@13 ~@9, ~@11 e4@3 ~@2]/4", // B5 A5 E5
  J: "~@2 [e3,b3] ~ [e3,b3]!2 ~ [e3,b3] ~@2 [e3,b3] ~ [e3,b3]!2 ~ [e3,b3]", K: "~ [e3,b3]!7 ~@2 [a2,e3] [a2,e3]@5",
  L: "[b2,f#3]!8 [f#2,c#3]@8", M: "[[b2,f#3] [c#3,g#3]@2 [a2,e3]]/2", N: "[[b2,f#3] [a2,e3]@3]/2", O: "g#3",
  P: "~@3 d#4@5, ~ b3@7, ~ e4@3", Q: "~@6 d#4@9 ~, ~@2 b3@13 ~, ~ e4@3", R: "~@5 [d#3,f#3] ~ g0 ~@8",
})).s("gm_distortion_guitar").gain(0.37)

// chords · string ensemble 1
const string_ensemble_1 = note("<~@16 A B@7 ~@6 A C@7 D@7 ~@8>".pickRestart({
  A: "~@5 [a2,e3,c#4,a4]@3", // A
  B: "[[b2,f#3,d#4,b4]@8 [c#3,g#3]@8 [b2,f#3]@8 [a2,e3]@8 [b2,f#3]@8 ~@4 e4@4 ~@4 b3@6 [a2,e3,c#4,a4]@6 [b2,f#3,d#4,b4]@8 b4 ~ d#5@6 [b2,f#3]@8 [a2,e3,g#5]@16 ~@8, ~@4 c#5@25 c#5@7 ~@4 c#5@12 ~@4, ~@4 g#4@20 d#4@5 ~@27, ~@5 c#3@2 ~@2 [c#3,g#3] ~@4, ~@5 g#3 f#4 ~@2 g#4@4 ~]/7", // B C#5 B5 A5 B5 A B B5 …
  C: "[[b2,f#3,d#4,b4]@8 [c#3,g#3]@8 [b2,f#3]@8 [a2,e3]@8 [b2,f#3]@8 ~@4 e4@4 ~@4 b3@6 [a2,e3,c#4,a4]@6 [b2,f#3,d#4,b4]@8 b4 ~ d#5@6 [b2,f#3]@8 [a2,e3]@8 [b2,f#3]@8 [f#2,c#3,a3,f#4]@8, ~@4 c#5@25 c#5@7 ~@4 c#5@12 ~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4,e4]@4, ~@4 [f#3,d#4]@5 ~ e3@6 ~@2 c#4@6 ~@4 b3@6 ~@6 f#3@8, ~@19 e4@5 ~@24]/3", // C#m Emaj7 C#m D#m
  D: "~@5 d#4 ~ b3, ~@5 g#4@3, ~@3 [e4,c#5], ~@13 d#4@3", // C#m
  E: "[~@4 [b3,c#4,e4]@4 ~@4 [e4,b4]@9 ~@5 d#4@2 ~@2 b3@2, ~ f#3@7 ~ f#3@12 ~@7 [e4,c#5]@4, ~ a3@3 ~ b3@2 ~@6 g#4@3, ~@29 d#4@3]/2", // C#m7 E5 C#m
  F: "[~@4 [b3,c#4,e4]@4 ~@4 [e4,b4]@11 ~@3 [e4,a4] [e4,a4]@5, ~ f#3@7 ~ f#3@14 ~@9, ~ a3@3 ~ b3@2 ~@9]/2", // C#m7 E5 A5
  G: "[f#4,b4] [g#4,c#5]", H: "[f#4,b4] [e4,a4]",
  I: "[[f#4,b4]@8 ~@4 e4@4 d#4@4 b3@4 ~@2 [e4,a4] [e4,a4]@5, ~ [g#4,c#5]@2 ~]/2", J: "[[f#4,b4] [e4,a4]@2 ~]/2",
  K: "~@4 [b3,f#4,b4] [f#3,b3,b4]@3 ~@8", L: "~@10 [e4,a4] [e4,a4]@5", M: "[f#4,b4] [c#4,f#4]",
  N: "[[f#4,b4] [g#4,c#5]@2 [e4,a4]]/2", O: "[[f#4,b4] [e4,a4]@3]/2",
  P: "[~@5 [b3,e4]@8 ~@8 e4@5 ~ [d#4,e4]@26 ~@11, ~@5 e3@11 ~@3 e3@7 f#3@26 ~@12, ~@13 [a3,b3,c#4,e4]@9 ~@42]/4", // E5 Emaj7 A
})).s("gm_overdriven_guitar").gain(0.26).pan(0.6)

// chords · overdriven guitar · soft notes
const overdriven_guitar_soft = note("<A@3 ~ B ~ C D E F G@2 H I@2 J@2 ~@33 K@3>".pickRestart({
  A: "[~@7 e3@5 ~@2 e4@6 ~@4]/3", B: "~@2 [b3,e4]@2 ~ [b3,e4] [b3,e4]@2 ~@8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@4 [b3,c#4,e4]@4 ~ e4 ~ e4 ~@3 d#4@6 ~@9 b3@2 ~@4 [b3,c#4,e4]@4 ~ e4 ~ e4 ~@3 d#4@9 ~@7, ~@10 b3@2 b3@2 d#4@3 ~ f#3@7 ~ f#3@12 ~@8 d#4@3 ~@2 a3@6 ~@2 b3@4 b3@10 ~@7, ~@11 g#4@6 ~@10 f#4@11 ~@5 g#4@6 ~@10 f#4@14 ~@7, ~@11 d#4@2 [e4,c#5]@4 ~@2 a3@6 ~@2 b3@4 b3@7 ~@4 b3@2 b3@3 ~@3 f#3@7 ~ f#3@15 ~@7, ~@29 [e4,b4]@9 ~@5 d#4@2 [e4,c#5]@4 ~@12 [e4,b4]@12 ~@7]/5", // B C#m7 C#m E5 C#m E5
})).s("gm_acoustic_guitar_steel").gain(0.5).pan(0.2)

// chords · electric guitar muted · E5 A5 F#5 B5 E5 A5 F#5 B5 …
const electric_guitar_muted = note(`<
  ~@25
  [~@8 [e2,b2]!8]
  [[a2,e3]!8 [f#2,c#3]!8]
  [[b2,f#3]!8 [e2,b2]!8]
  [[a2,e3]!8 [f#2,c#3]!8]
  [[b2,f#3]!8 [f#2,c#3]!8]
  [[b2,f#3]!8 ~@8]
  ~@22
>`).s("gm_electric_guitar_muted").gain(0.32)

// other · overdriven guitar
const overdriven_guitar_2 = note("<~@37 A@4 B ~@11>".pickRestart({
  A: "[~@3 c#4 e4 c#4 e4 c#4 f#4@11 d#4@2 c#4 g#3 c#4@3 ~@2 f#3 e3 c#3 f#3@2 e3 c#3@4 g#4 [b4,c#5] e5@5 [b4,c#5] g#5@5 a5 f#5 ~ [e5,f#5] c#5 e5 f#5 c#5@2 g#4 b4 f#4 e4]/4", // Bsus2 Esus2
  B: "e4 c#4 b3 g#3 f#3 e3 c#3 b2 ~@8",
})).s("gm_overdriven_guitar").gain(0.61)

// chords · pad sweep
const pad_sweep = note("<A@2 B ~ C ~@2 D@5 E@5 ~@6 F@3 ~@3 G@2 ~@14 H@4 ~@4>".pickRestart({
  A: "[~ e2 a2 [f#2,a3], ~ e4@3, ~ b3@2 ~, ~ c#4]/2", B: "[b2,b3,e4]@3 ~ e1@4", C: "~ e1",
  D: "[~ e2 a2 f#2 b2 e2 a2 f#2 b2 [f#2,b3,e4], ~ [b3,e4]@4 [b3,e4]@4 ~]/5", // Esus2 E5
  E: "[b2@5 ~@3 c#2@8 f#2@8 b1@13 ~@3 c#2@8 f#2@8 b1@16 ~@8, ~@8 [b3,e4]@29 ~@3 [b3,e4]@32 ~@8]/5", // E5
  F: "[~@4 c#3@4 f#2@4 [b2,f#4,b5]@7 ~@5, ~ [g#4,c#6]@2 ~@3, ~@8 c#5@11 ~@5]/3", G: "[~ [f#3,b3]@2 ~]/2",
  H: "[[c#3,g#4]@4 [f#2,a4]@4 [b2,f#4,b5]@7 ~, c#6 ~, ~@4 c#5@11 ~]/2", // C#5 F#m B5
})).s("gm_pad_sweep").gain(0.4)

// chords · pad sweep · soft notes
const pad_sweep_soft = note("<~@2 A@6 ~@7 B@2 ~@36>".pickRestart({
  A: "[~@4 a1@2 f#1@2 b1@2 ~@2 a1@2 f#1@2 b1@2 f#1@2 b1 ~@3, ~@2 [b3,e4]@8 [b3,e4]@11 ~@3]/6", // E5
  B: "[~@16 c#6@3 b5@5 ~@8, ~@3 f#5@3 ~@2, ~@14 a5@5 ~@13]/2",
})).s("gm_pad_sweep").gain(0.24)

// drums · kick
const kick = s("bd").struct(`<
  ~@7 A B C B C D C E C F C@3 G H I D C D C@4 J C@3 K H L M C@2 N O C P Q C B C B ~@4
>`.pickRestart({
  A: "~ x", B: "x ~@6 x!2 ~@7", C: "x ~@2 x!2 ~@3", D: "x!2", E: "x ~@2 x ~@4 x ~@7", F: "x ~@6 x!2 ~ x!2 ~@4",
  G: "x ~@5 x ~ x ~ x!2 ~@4", H: "x ~@4 x!2 ~ x ~@7", I: "x!3 ~@2 x!2 ~ x ~@5 x ~", J: "x ~ x!7 ~ x!2 ~@4",
  K: "x ~@2 x ~@2 x ~ x ~ x!2 ~@4", L: "x!3 ~@2 x!2 ~ x ~@7", M: "x!9 ~@7", N: "x ~@5 x ~ x ~@2 x ~@2 x ~",
  O: "~ x ~@2 x ~@2 x!2 ~@7", P: "x ~@2 x!2 ~@2 x", Q: "x",
})).gain(0.8)

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

// drums · snare · soft notes
const snare_soft = s("sd").struct("<~@16 [~@5 x!3 ~@8] ~@6 [~@15 x] [x ~@14 x]!6 [x!2 ~@6] ~@22>").gain(0.48)

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

// drums · hihat
const hihat = s("hh").struct(`<
  ~@7 A B@8 C D E@2 F G E H I J I@4 K D E@2 F G@2 L@2 E@2 L@2 E ~ I M I N ~@4
>`.pickRestart({
  A: "~@2 x!2", B: "x!4", C: "x ~ x ~ x ~@2 x", D: "~ x!15", E: "x!8 ~ x!7", F: "x!9 ~@3 x!4", G: "x!8 ~ x!3 ~ x!3",
  H: "~@5 x!3", I: "x!8", J: "x ~@4 x!3", K: "x!9 ~@5 x ~", L: "x!16", M: "x!7 ~", N: "x!4 ~@4",
})).gain(0.64)

// drums · hihat · soft notes
const hihat_soft = s("hh").struct("<~@7 A B@4 C B C B D ~@36>".pickRestart({
  A: "~@5 x ~ x", B: "~ x ~ x ~ x ~ x", C: "~ x ~@3 x ~ x", D: "~ x ~@6",
})).gain(0.4)

// drums · mid tom
const mid_tom = s("mt").struct("<~@20 A ~@9 B ~@3 A ~@5 C A ~@11>".pickRestart({
  A: "~@4 x!4 ~@8", B: "~@7 x!2 ~@7", C: "~@15 x",
})).gain(0.64)

// drums · open hat
const open_hat = s("oh").struct("<~@23 x ~@20 [~ x ~@14] ~@3 [~ x] ~@4>").gain(0.64)

// drums · crash
const crash = s("cr").struct("<~@16 A B C@2 A D C@2 ~ C ~@4 A B C@2 E D@2 F ~ C@2 G ~ C B ~@8>".pickRestart({
  A: "~@10 x!2 ~@4", B: "x", C: "~ x", D: "~@2 x!2", E: "~@4 x ~@5 x!2 ~@4", F: "~@7 x!2 ~@7", G: "~@4 x ~@2 x!2 ~@7",
})).gain(0.72)

// drums · ride
const ride = s("rd").struct("<~@17 A@3 B A@2 C ~@7 A@3 B A@2 D A@3 D A@2 ~@9>".pickRestart({
  A: "x!8", B: "x!4 ~@2 x!2", C: "x", D: "x!4 ~ x!3",
})).gain(0.56)

stack(
  bass, acoustic_guitar_steel, distortion_guitar, string_ensemble_1, overdriven_guitar, overdriven_guitar_soft,
  acoustic_guitar_steel_2, electric_guitar_muted, overdriven_guitar_2, pad_sweep, pad_sweep_soft, kick, snare,
  snare_soft, low_tom, hihat, hihat_soft, mid_tom, open_hat, crash, ride
)

More by Nek