Strudelify

Cuore matto

Little Tony

KeyD minorTempo138 bpm
0:00/0:00
// Cuore matto — Little Tony
// 138 bpm, 4/4, key D minor. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: sustain pedal (CC 64) lengthens the held notes
// note: Full arrangement: all 104 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 27.
setcpm(138/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@8 B@5 C A@5 B@3 C D@2 E F G H E G F I E J K L M A@6 B@5 C A@5 B@3 C D@2 E F G H E F@2 I E J K L M N O A@2 O A B@5 C
  A@16 P ~
>`.pickRestart({
  A: "d2 a1 d2 a1 d2 a1 d2 a1", B: "g2 d2 g2 d2 g2 d2 g2 d2", C: "a2 e2 a2 e2 a2 e2 a2 e2",
  D: "[d2@2 a1@2 d2@2 g1 ~ g1 ~ g1 ~ g1 ~ d2@4 a1 ~ a1 ~ a1 ~ a1 ~ a1 ~ a1 ~ a1 ~]/2", E: "d2 ~ d2 a1 d2 a1 d2 a1",
  F: "f1 ~ f1 c2 f2 c2 f2 c2", G: "f1@3 ~ f1@2 c2@2 f2@2 c2@2 f2@2 c2@2", H: "c2@3 ~ c2@2 g1@2 c2@2 g1@2 c2@2 g1@2",
  I: "c2 ~ c2 g1 c2 g1 c2 g1", J: "e2 ~ e2 b1 e2 b1 e2 e1", K: "e2 ~ e2 b1 e2 b1 e2 b1",
  L: "a1@3 ~ a1 ~ a1 ~ a1 ~ a1 ~ a1 ~ a1 ~", M: "c2@2 ~@2 c2 ~ c2 ~ c2 ~ c2 ~ c2 ~ c2 ~",
  N: "d2@2 a1@2 d2@2 a1@2 d2@2 a1 ~ d2@2 a1@2", O: "d2@2 a1@2 d2@2 a1@2 d2@2 a1@2 d2@2 a1 ~",
  P: "d2 a1 d2 a1 d2 a1 d2 ~",
})).s("gm_electric_bass_finger").gain(0.57)

// other · electric guitar muted
const electric_guitar_muted = note(`<
  A@8 B@5 C A@5 D@3 E F@2 ~@13 A@6 B@5 C A@5 D@3 E F@2 ~@13 A@6 B@5 C A@15 G ~@2
>`.pickRestart({
  A: "d3 a2 d3 a2 d3 a2 d3 a2", B: "g3 d3 g3 d3 g3 d3 g3 d3", C: "a3 e3 a3 e3 a3 e3 a3 e3", D: "g3 ~ g3 ~ g3 ~ g3 ~",
  E: "a3 ~ a3 ~ a3 ~ a3 ~", F: "[d3@2 a2@2 d3@2 g2 ~ g2 ~ g2 ~ g2 ~ d3@4 a2 ~ a2 ~ a2 ~ a2 ~ a2 ~ a2 ~ a2 ~]/2",
  G: "d3 a2 d3 a2 d3 a2 ~@2",
})).s("gm_electric_guitar_muted").gain(0.35).pan(0.3)

// other · electric guitar muted · soft notes
const electric_guitar_muted_2 = note(`<
  ~@19
  [~ d3 ~ d3 ~ d3 ~ d3]!3
  [~ e3 ~ e3 ~ e3 ~ e3]
  ~@32
  [~ d3 ~ d3 ~ d3 ~ d3]!3
  [~ e3 ~ e3 ~ e3 ~ e3]
  ~@45
>`).s("gm_electric_guitar_muted").gain(0.15).pan(0.3)

// chords · electric guitar jazz
const electric_guitar_jazz = note("<~@23 A B ~@27 C D E F G H I J B ~@43>".pickRestart({
  A: "f3@2 d3 ~ f3@2 d3 ~ [g3,b3,d4]@5 ~ [f3,a3,d4]@2, [a3,d4] a3 ~@2", // G Dm D5
  B: "~@2 [a3,db4,e4] ~ [a3,db4,e4] ~ [a3,db4,e4] ~ [a3,db4,e4] ~ [a3,db4,e4] ~ [a3,db4,e4] ~ [a3,db4,e4] ~", // A
  C: "~@4 [a3,d4,f4]@2 [a3,d4,f4] ~@5 [a3,d4,f4]@2 [a3,d4,f4] ~", // Dm
  D: "~@2 a3 ~ [a3,d4,f4]@2 [a3,d4,f4] ~@5 [a3,d4,f4]@2 [a3,d4,f4] ~", // Dm
  E: "~@2 a3 ~ [a3,d4,f4] ~ [a3,d4,f4] ~@3 a3 ~ [a3,d4,f4] ~ [a3,d4,f4] ~", // Dm
  F: "~@4 [bb3,d4,g4] ~ [bb3,d4,g4] ~@5 [bb3,d4,g4]@2 [bb3,d4,g4] ~", // Gm
  G: "~@4 [bb3,d4,g4]@2 [bb3,d4,g4] ~@3 d4 ~ [bb3,d4,g4] ~ [bb3,d4,g4] ~", // Gm
  H: "~@2 d4 ~ [bb3,d4,g4]@2 [bb3,d4,g4] ~@3 bb3 ~ [bb3,d4,g4]@2 [bb3,d4,g4] ~", // Gm
  I: "~@2 db4 ~ [db4,e4,a4]@2 [db4,e4,a4] ~@3 db4 ~ [db4,e4,a4]@2 [db4,e4,a4] ~", // A
  J: "[d4,f4,a4]@3 ~ [d4,f4,a4] ~ d4 ~ [d4,g4,b4] ~ [d4,g4,b4] ~@3 [d4,f4,a4] ~", // Dm G Dm
})).s("gm_electric_guitar_jazz").gain(0.28).pan(0.7)

// chords · piano · D F D Abmaj7 A C A G …
const piano = note(`<
  ~@23
  [~@2 [d4,d5] ~ [f4,f5]@2 [d4,d5] ~ [g4,ab4,g5,ab5] [a4,a5] [c5,c6]@2 [a4,a5] [g4,g5] [f4,f5] ~, [d3,f3,a3]@7 ~ [d3,g3,b3]@4 ~@4]
  [[d3,f3,a3,d4,d5] ~ [a2,a3,db4,e4] ~ [a2,a3,db4,e4]@2 [a2,a3,db4,e4]@2 [a2,a3,e4]@2 [a2,a3,db4,e4]@2 [a2,a3,db4,e4]@2 [a2,a3,db4,e4] ~, ~@8 db4 ~@7]
  ~@34
  [~@2 [d4,d5] ~ [f4,f5]@2 [d4,d5] ~ [g4,ab4,g5,ab5] [a4,a5] [c5,c6]@2 [a4,a5] [g4,g5] [f4,f5] ~, [d3,f3,a3]@7 ~ [d3,g3,b3]@4 ~@4]
  [[d3,f3,a3,d4,d5] ~ [a2,a3,db4,e4] ~ [a2,a3,db4,e4]@2 [a2,a3,db4,e4]@2 [a2,a3,e4]@2 [a2,a3,db4,e4]@2 [a2,a3,db4,e4]@2 [a2,a3,db4,e4] ~, ~@8 db4 ~@7]
  ~@43
>`).s("gm_piano").gain(0.38).pan(0.6)

// chords · brass section
const brass_section = note("<~@16 A@3 B@3 C D E ~@9 F@2 G H ~@14 A@3 B@3 C D E ~@9 F@2 G H ~@14 A@14 ~@2>".pickRestart({
  A: "~@4 [d4,f4] [db4,e4] [d4,f4] ~@9", B: "~@4 [g4,bb4] [gb4,a4] [g4,bb4] ~@9",
  C: "~@4 [a4,db5] [ab4,c5] [a4,db5] ~@9", D: "d4@2 ~@2 d4@2 ~@2 b3 ~ b3 ~@3 d4 ~",
  E: "~@2 a4 ~ a4 ~ a4 ~ a4 ~ a4 ~ a4 ~ a4 ~", F: "[e4@5 ~ e4@2 ab4 ~ a4@2 ~@2 b4@14 ~@4]/2",
  G: "a4@6 ~@2 a4 ~ b4@2 ~@2 a4@2", H: "c5@7 ~",
})).s("gm_brass_section").gain(0.4).pan(0.4)

// chords · trumpet
const trumpet = note("<~@51 A B C D E F G H I ~@44>".pickRestart({
  A: "~@10 d4 ~ d4 ~ e4 ~", B: "f4 ~ f4 ~@5 f4 ~ f4 ~ f4 ~ g4 ~", C: "a4 ~ a4 ~@7 d5 ~ d5 ~ e5 ~",
  D: "f5 ~ f5 ~@5 f5 ~ f5 ~ e5 ~ d5 ~", E: "c5 ~ bb4 ~@7 e4 ~ e4 ~ f4 ~",
  F: "g4 ~ g4 ~@3 [e4,g4] ~ [e4,g4] ~ [e4,g4] ~ [e4,g4] ~ [f4,a4] ~", // Em F
  G: "[g4,bb4] ~ [g4,bb4] ~@7 [e4,g4,db5] ~ [e4,g4,db5] ~ [f4,g4,d5] ~", // Gm Dbdim G7
  H: "[g4,a4,e5] ~ [g4,a4,e5] ~@3 [g4,a4,e5] ~ [g4,a4,e5] ~ [g4,a4,e5] ~ [f4,a4,d5] ~ [e4,a4,db5] ~", // A7 Dm A
  I: "[f4,a4,d5] ~@15", // Dm
})).s("gm_trumpet").gain(0.71)

// chords · drawbar organ
const drawbar_organ = note("<~@25 A B@2 C A B@2 C D E@2 F G ~@23 A B@2 C A B@2 C D E@2 F G ~@30>".pickRestart({
  A: "[f5,a5,d6]", B: "[a5,c6,f6]/2", C: "[g5,c6,e6]", D: "[a5,d6,f6]", E: "[e6 d6, [e5,ab5,b5]]/2",
  F: "[a4,g5,db6,e6]", G: "[c5,g5,c6,e6] [c5,c6,e6,g6]",
})).s("gm_drawbar_organ").gain(0.32).pan(0.7)

// chords · drawbar organ · soft notes
const drawbar_organ_soft = note("<~@16 A@6 B C ~@28 A@6 B C ~@28 D@8 ~@8>".pickRestart({
  A: "[[f5,a5]@47 ~ [g5,bb5]@47 ~, d6@95 ~]/6", B: "[a5,db6,e6]@15 ~", C: "[f5,a5,d6]@8 [g5,b5,d6]@5 ~ [f5,a5,d6]@2",
  D: "[e5,f5,a5,d6]/8", // Dm
})).s("gm_drawbar_organ").gain(0.16).pan(0.7)

// bass · baritone sax
const bass_2 = note("<~@88 [d2 ~@7]!14 ~@2>").s("gm_baritone_sax").gain(0.35).pan(0.7)

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

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

// drums · hihat
const hihat = s("hh").struct("<~@15 A B C D A@2 E F C G A@13 ~@13 A H A@7 I H A@12 ~@14 A@7 J A@7 ~>".pickRestart({
  A: "x!4", B: "~@2 x ~ x!3 ~", C: "x ~ x ~ x ~ x!2", D: "x ~ x!3 ~ x ~", E: "x ~@3 x ~ x ~ x ~ x ~ x!2 ~@2",
  F: "x!5 ~ x ~", G: "~@2 x!3 ~ x ~", H: "~ x!3", I: "x ~@2 x ~@4", J: "x ~@2 x!2 ~@3 x ~@3 x ~@3",
})).gain(0.64)

// drums · hihat · soft notes
const hihat_soft = s("hh").struct("<~@16 A B C D@2 E F B ~ G@13 ~@66>".pickRestart({
  A: "~@3 x ~@3 x", B: "~ x ~ x ~ x ~@2", C: "~ x ~@3 x ~@2", D: "~ x ~ x ~ x ~ x", E: "~ x ~@6", F: "~@5 x ~ x",
  G: "~ x ~ x ~@4",
})).gain(0.36)

// drums · low tom
const low_tom = s("lt").struct("<~@15 A ~@35 A ~@39 B ~@3 C ~@3 B ~@4>".pickRestart({
  A: "~@9 x ~@6", B: "~@5 x ~@2", C: "~ x ~ x!2 ~@11",
})).gain(0.57)

// drums · mid tom
const mid_tom = s("mt").struct("<~@15 A ~@35 A ~@3 B ~@35 C ~@3 D ~@3 C ~@4>".pickRestart({
  A: "~@10 x!2 ~@2 x ~", B: "~@12 x!3 ~", C: "~@9 x ~ x!2 ~@3", D: "~@5 x ~ x!4 ~ x ~@3",
})).gain(0.5)

// drums · open hat
const open_hat = s("oh").struct("<~@18 A ~@2 A ~@2 B C@13 ~@53 A ~@3 D ~@3 A ~@4>".pickRestart({
  A: "~@7 x", B: "x", C: "~@5 x ~ x", D: "~@2 x ~ x!2 ~@8 x ~",
})).gain(0.64)

// drums · high tom
const high_tom = s("ht").struct("<~@15 A ~@35 A ~@39 B ~@3 C ~@3 B ~@4>".pickRestart({
  A: "~@15 x", B: "~@2 x!2", C: "~@13 x ~ x",
})).gain(0.64)

// drums · crash
const crash = s("cr").struct(`<
  ~@16 A ~@8 A ~@11 B ~@14 A ~@3 A ~@2 A ~ A ~@7 A ~@3 B ~@19 C ~@2 A ~@4 C ~@2
>`.pickRestart({
  A: "x", B: "~@7 x", C: "~@5 x ~@2",
})).gain(0.71)

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

// drums · ride · soft notes
const ride_soft = s("rd").struct("<~@53 A B ~ C D E D ~@2 C@2 ~@2 F ~@3 G H C F ~@30>".pickRestart({
  A: "~ x ~ x ~@3 x", B: "~@3 x ~@4", C: "~ x ~@6", D: "~ x ~@3 x ~@2", E: "~ x ~ x ~ x ~@2", F: "~ x ~ x ~@4",
  G: "~@7 x", H: "~@5 x ~@2",
})).gain(0.29)

// drums · congas
const congas = s("conga:18").struct("<~@91 [~@5 x ~@2] ~@7 [~@5 x ~@2] ~@4>").gain(0.91)

stack(
  bass, electric_guitar_muted, electric_guitar_muted_2, electric_guitar_jazz, piano, brass_section, trumpet,
  drawbar_organ, drawbar_organ_soft, bass_2, kick, snare, hihat, hihat_soft, low_tom, mid_tom, open_hat, high_tom,
  crash, ride, ride_soft, congas
)

More by Little Tony