Strudelify

A mano a mano

Cocciante

KeyC majorTempo35 bpm
0:00/0:00
// A mano a mano — Cocciante
// 35 bpm, 4/4, key C 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, 2/4 at bar 22, 4/4 at bar 22, 2/4 at bar 32, ...) are rendered on a constant 4/4 grid of one bar per cycle
// note: pitch bends are ignored
// note: sustain pedal (CC 64) lengthens the held notes
// note: Full arrangement: all 36 bars on a 32-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(35/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.

// chords · piano
const piano = note("<A@3 B C@4 D@8 E@5 F G H I@4 J@7 K>".pickRestart({
  A: "[~@9 g3@2 ~@10 c4@3 ~ g#3 ~ g#3!3 ~@2 g#3@3 ~@2 c4@3 a3 a3@2 ~@2 c#4@2 a3 ~@5 g4@3 ~ a3 ~ a3 ~@3 a3 ~@5 d4@3 g3 g3@2 ~@2 [b3,f4]@2 g3 g#3@3 ~@2 c4@3 a3!2 ~ a3 ~ e4@2 a3, ~@8 c2@11 d4@5 d4@8 [b3,e4]@3 d4@5 c#4@3 f4@5 [a3,c#4,f4]@8 ~@4 a3@3 d3@9 ~@4 g3@3 ~@4 [g#3,d4]@5 ~@4 a3@3 ~, ~@8 d4@7 g3 e4@8 b3@3 b3@2 f4@11 e4@11 e4@5 ~@3 f4@5 f4@8 ~@3 e4@5 ~@11 d4@5, ~@11 e4@4 c3@9 e2@16 a2@16 [d2,g4]@16 [g2,d4]@8 [g#2,b3,e4]@8 [a2,c4]@8, ~@12 g3 f4@11 ~@3 e4@4 e3@9 ~@3 c#4 a3 g4@8 ~@8 e4@5 ~ e4@5 b3@3 b3@2 ~@19]/3", // Bdim E5 Aaug G#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#3@2 ~",
})).s("gm_piano").gain(0.23)

// bass · fretless bass
const bass = note("<A@3 B C ~@3 D@3 E F@4 G@5 H I J K L@6 M@4 N>".pickRestart({
  A: "[~@8 c3@15 ~ e3@16 a3@11 e3@2 a2@3 d3@16 g3@8 g#3@8 a3@8]/3", B: "g3 f#3@2 f3", C: "~ g2@9 c2@15 ~@7",
  D: "[~@3 c2@4 b2@4 a2@4 d2@4 g2@2 g#2@2 a2]/3", E: "~ g2@2 f#2@4 d2",
  F: "[~@5 g2@8 c2@8 ~ c2@8 e2@8 e2@8 a1@8 a1@2 a2@2 ~ a1@3 d2@8 d2@8 g1@8 g#1@8 a1@8 g1@8 f#1@16 d2@2]/4",
  G: "[~@6 g1@9 c2@8 c2@8 e2@8 e2@8 a1@7 ~ a1@2 a2@3 e2@3 d2@8 d2@2 a1@2 ~ d2@3 g1@8 g#1@8 a1@8 g1@8 f#1@15 ~ d2@8 g1@8 ~ c2@16]/5",
  H: "d#2 g2", I: "c2@8 c3@8 f2@10 ~ c2@2 f2@3", J: "a#1 b1 c2 a#1", K: "a1@16 f1@9 g1@7",
  L: "[~@2 c2@15 ~ e2@10 ~ b2@2 e2@3 a1@10 ~ e2@2 a2@3 d2@10 ~ a1@2 d2@3 g1@8 g#1@8 a1@8 g1@8 f#1@16 d2@9 g1@9 c2@32 ~@28]/6",
  M: "[~@6 f1@16 a1@16 d2@16 g1@16 c2@8 c#2@8 d2@8 c2@8 b1@17 g1@9]/4", N: "c2@9 f1@17 ~@6",
})).s("gm_fretless_bass").gain(0.45)

// chords · string ensemble 2
const string_ensemble_2 = note("<A@5 ~@3 B@4 C@4 D@5 E F G@2 H I J@8 K>".pickRestart({
  A: "[~@8 [g3,c4]@16 [g#3,b3]@16 ~@16 d4@15 ~@9 g#3@7 ~ [a3,c4]@41 [g3,b3]@8 ~@23, ~@5 c#4@2 ~@2 b3@2 ~@9, ~@41 a3@30 g3@8 ~@81]/5", // C5 G#m Am G
  B: "[~@3 b3@9 c4@16 [g#3,b3]@16 ~ a3@7 e4@8 f4@8 a3@7 ~ g3@8 g#3@7 ~ c4@32 f3@4, ~@3 g3@24 ~@17 c#4@15 ~ d4@16 b3@16 a3@36]/4", // G#m
  C: "[~@5 b3@8 c4@16 ~ g#3@15 c#4@16 ~@8 f4@8 ~@8 g#3@8 ~ a3@15 e4@8 ~@8 f3@3, ~@5 g3@24 b3@16 a3@24 ~@8 b3@16 c4@32 ~@3, ~@61 d4@24 ~@33 a3@10]/4",
  D: "[~@6 [g3,b3]@3 [a3,c4]@2 [b3,d4]@3 c4@16 ~@8 g#3@8 ~ e4@7 a3@8 f4@8 a3@8 ~@8 g#3@8 ~ c4@31 f3@9 b3@8 c4@11 ~@6, ~@14 e4@25 ~@23 d4@24 ~@74, ~@31 b3@16 c#4@16 ~@15 b3@17 a3@40 g3@17 ~@8]/5", // G Am Bm
  E: "[a#3,d#4] [b3,d4]", F: "e4 f4, c4",
  G: "[a#3@8 b3@8 c4@8 g3@7 ~ c4@16 ~@2 c4@7 [g3,b3]@3 [a3,c4]@3 [b3,d4], d4@2 d#4@4 g#3 ~]/2", // G Am Bm
  H: "~ [c4,e4]@8 [g#3,b3]@7", I: "~ a3@4 e4@4 [a3,d4]@7, ~ c#4@8 ~@7",
  J: "[~@10 g#3@7 ~ [a3,c4]@41 b3@9 ~@81 c#4@16 ~@17 a#3@16 c4@7 c#4@9 d4@8 c4@8 ~@17 a#3@9, ~@2 b3@16 ~@41 g3@75 a3@47 ~@49 d4@26, ~@69 c4@81 ~@16 d4@32 e4@16 f4@34 ~@8]/8", // Am
  K: "[c4,e4]@9 [a3,f4]@18 ~@5", // C Dm
})).s("gm_string_ensemble_2").gain(0.23)

// other · string ensemble 2
const string_ensemble_2_2 = note("<~@8 A@4 B@2 C ~ D@5 ~@4 E@2 F G H@2 I J K L M>".pickRestart({
  A: "[~@3 b4@3 c5@3 d5@3 e5@13 f5@3 e5@21 d#5 ~@2 a5@5 ~@3 g5@2 ~ d5@2 e5@4 f5@7 d5@5 c#5@2 ~ e5@5 g#5@3 b5@3 c6@2 d6@3 c6@7 ~@4 a5@2 e5@3 d5@5 c5@3 a5@4, ~@51 e5@2 ~@5 e5@4 f5@3 ~@18 d5@2 ~@43]/4",
  B: "[~@2 e5@2 d5@6 ~@3 e5@14 f5@3 e5@13 f5@3 e5@5 ~ e5 ~ a5@5 e5@3 g5@2, ~@51 d#5@2 ~@11]/2",
  C: "f5@3 e5@2 f5@4 ~@23",
  D: "[~@15 e5@13 f5@3 e5@21 d#5 e5@2 a5@5 ~@3 g5@2 [d5,f5]@3 e5@3 f5@5 e5@3 d5@6 c#5 d5 e5@6 g#5@2 b5@2 c6@3 d6@3 c6@7 ~@3 a5@3 e5@2 d5@6 c5@3 a5@5 e5@3 d5@8 c5@11 ~@6, ~@12 e5 ~@19]/5", // Dm
  E: "[~@2 e5@13 g5@3 e5@21 d#5 ~@2 a5@5 ~@3 g5@2 ~ [d5,f5]@2 e5@3 f5@6, ~@41 e5@2 ~@4 e5@5 ~@12]/2", // Dm
  F: "~@2 d5@5 c#5 d5@2 e5@5 b4@3 d5@8 c5@6", G: "~@2 c5@5 d5@3 e5@6 a4@2 c5@9 b4@3 c5@2", H: "[~ d5@3 c5@32 ~@28]/2",
  I: "~@6 g5@2 a5@3 a#5@2 a5@3 g5@3 f5@3 g5@2 a5@3 a#5@3 a5@2",
  J: "g5@3 f5@3 a5@2 a#5@3 c6@3 a#5@3 a5@2 c6@5 a#5@3 a5@3 a#5@2",
  K: "a5@3 g5@5 a5@3 a#5@3 a5@2 g5@3 f5@5 g5@3 a5@3 g5@2",
  L: "f5@3 e5@3 f5@2 g5@3 ~ a5@2 g5@3 f5@3 e5@3 f5@3 g5@3 a5@3", M: "g5@3 f5@3 e5@3 f5@17 ~@6",
})).s("gm_string_ensemble_2").gain(0.3)

// other · string ensemble 2
const string_ensemble_2_3 = note("<~@31 A@4 B>".pickRestart({
  A: "[~@6 c4@16 c#4@16 d4@10 f#4@3 a4@5 g4@3 f#4@2 g4@6 f4@3 e4@5 d4@3 c#4@8 d4@27 a4@3 c4@3 a#3@9]/4",
  B: "c4@6 a#3@3 a3@17 ~@6",
})).s("gm_string_ensemble_2").gain(0.6).pan(0.3)

// other · oboe
const oboe = note("<~@12 A@2 B@2 C ~@19>".pickRestart({
  A: "[~@27 f5@3 e5@15 ~ e5@5 d#5 e5 ~ a5@5 e5@5]/2",
  B: "[d5@3 c#5@3 d5@5 c5@3 b4@5 c5 d5@2 e5@5 b4@3 d5@8 c5@7 ~ c5@6 d5 ~ e5@5 a4@3 c5@2]/2",
  C: "b4@3 c5@3 b4@3 c5@3 d5@3 ~@17",
})).s("gm_oboe").gain(0.3)

// other · synth strings 1
const synth_strings_1 = note("<~@21 A@2 B@3 ~@10>".pickRestart({
  A: "[~@13 [g#4,g#5]@3 [g4,g5]@21 [f#4,f#5] ~ g4 [c5,c6]@5 [g4,g5]@6 [f4,f5]@2 [e4,e5]@3 [f4,f5]@5 [d#4,d#5]@3, ~@39 g5@2 ~@23]/2", // G# G F# C G F E F …
  B: "[[d4,d5]@5 [d#4,d#5] ~@2 [g4,g5]@5 [d4,d5]@3 [f4,f5]@8 [d#4,d#5]@13 d5 ~ d#4 [g4,g5]@5 [c4,c5]@3 [d#4,d#5]@3 [d4,d5]@3 [c4,c5]@3 [d4,d5]@3 [e4,e5]@3 [f4,f5]@3 ~@30, ~@3 f5 ~@15 d#5 ~@28, ~@7 f4@2 ~@28 d4@2 ~@57]/3", // D D# G D F D# G C …
})).s("gm_synth_strings_1").gain(0.2)

// other · glockenspiel · C5 C C5 Dsus2 C Csus2 F5 F
const glockenspiel = note(`<
  ~@29
  [~@26 [g6,c7] g7 d7 ~ e7 e6]
  [d6 d7 ~@2 g7 c7 ~ d7 d6 ~@3 [g6,c7] d7 ~@3 c6 c7 ~@2 [c6,c7] ~ d7 e6 c7 ~ g7 ~ c7 d7 [e6,c7], ~@2 c6 ~@13]
  [g6 [c6,g7] [d6,e6] [c6,d6,e6,g6] [c6,c7,d7] [c6,f6,c7] [f7,a7] ~@25]
  ~
  [~@25 b7 ~ d8 ~@4]
  [~@9 d8 ~@2 d8 ~@19]
  [~@10 [f7,f8] ~@21]
>`).s("gm_glockenspiel").gain(0.06)

// other · glockenspiel · soft notes
const glockenspiel_soft = note(`<
  ~@29
  [~@25 d6 ~@3 g6@2 c7, ~@12 c6 ~@3]
  [~@2 g6 c7 ~@2 g6 ~ c7 g6 g7 g6 ~@2 g6 c7 g7 ~@2 g6 g7 ~ g6 ~@3 g6 ~ c6 d6 ~@2]
  ~@5
>`).s("gm_glockenspiel").gain(0.04)

// drums · kick
const kick = s("bd").struct(`<
  ~@12
  [~@13 x ~@8 x ~@7 x ~]
  [~@3 x ~@3 x ~@3 x ~@3 x]!3
  [~@6 x ~@8 x ~@7 x ~@7 x]
  [~@7 x ~@7 x ~@7 x ~@7 x]!3
  ~@16
>`).gain(0.4)

// drums · snare
const snare = s("sd").struct("<~@12 [~@11 x ~@4] [~@3 x ~@7 x ~@4]!3 [~@6 x ~@16 x ~@8] [~@7 x ~@15 x ~@8]!3 ~@16>")
  .gain(0.45)

// drums · hihat
const hihat = s("hh").struct(`<
  ~@12
  [~@13 x ~@2 x ~@2 x ~@2 x ~ x ~@2 x ~@2 x ~]
  [x ~@2 x ~@2 x ~ x ~@2 x ~@2 x ~ x ~@2 x ~@2 x ~ x ~@2 x ~@2 x ~]!3
  [x ~@2 x ~@2 x ~@2 x ~@2 x ~@2 x ~ x ~@2 x ~@2 x ~ x ~@2 x ~@2 x]
  [~ x ~@2 x ~@2 x ~ x ~@2 x ~@2 x ~ x ~@2 x ~@2 x ~ x ~@2 x ~@2 x]!3
  [~ x ~@2 x ~@2 x ~@2 x ~@2 x ~@18]
  ~@15
>`).gain(0.25)

// drums · low tom
const low_tom = s("lt").struct("<~@16 [~@3 x ~@4] ~@19>").gain(0.4)

// drums · mid tom
const mid_tom = s("mt").struct("<~@16 [~@9 x ~@22] ~@19>").gain(0.45)

// drums · open hat
const open_hat = s("oh").struct("<~@12 [~@11 x ~@4] [~@3 x ~@7 x ~@4]!3 [~@6 x ~@16 x ~@8] [~@7 x ~@15 x ~@8]!3 ~@16>")
  .gain(0.2)

// drums · crash
const crash = s("cr").struct("<~@12 [~@13 x ~@18] ~@3 [~@6 x ~@8 x ~@16] ~@19>").gain(0.3)

// drums · ride bell
const ride_bell = s("rd").struct("<~@19 [~@31 x] [~ x ~@2 x ~@2 x ~@2 x ~@2 x ~@2 x ~@15] x ~@14>").gain(0.25)

stack(
  piano, piano_soft, bass, string_ensemble_2, string_ensemble_2_2, string_ensemble_2_3, oboe, synth_strings_1,
  glockenspiel, glockenspiel_soft, kick, snare, hihat, low_tom, mid_tom, open_hat, crash, ride_bell
)

More by Cocciante