Strudelify

Grazie Roma

Antonello Venditti

KeyE majorTempo68 bpm
0:00/0:00
// Grazie Roma — Antonello Venditti
// 68 bpm, 4/4, key E major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: pitch bends are ignored
// note: Full arrangement: all 66 bars on a 32-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(68/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 · fretless bass
const bass = note(`<
  A B C B D B E F@2 G H G I J H K L M N O P Q R S T A B C B U B E V@2 W X Y Z AA AB AC AD R S B AE N AF AG AH W X Y Z AA
  AB AC AI AJ AK AJ AL AJ AM AN@2
>`.pickRestart({
  A: "e1@13 ~@2 b1 c#2@15 g#1", B: "a1@14 ~ a1 b1@10 ~ b1@5", C: "e1@15 b1 c#2@16", D: "e2@15 b1 c#2@15 b1",
  E: "e1@15 b1 c#2@15 b1", F: "[a1@14 ~ a1 b1@30 ~@2 e2@15 b1]/2", G: "d#2@15 g#1 a1@13 ~@2 a1",
  H: "b1@9 ~@2 b1@5 e1@15 b1", I: "b1@10 ~ b1@5 e2@14 ~ b1", J: "c#2@15 g#1 a1@13 ~@2 a1", K: "c#2@15 b1 a1@16",
  L: "b1@15 ~", M: "e2@14 ~ e2 d#2@14 ~ g#1", N: "a1@14 ~ a1 b1@9 ~@2 b1@5", O: "e1@15 b1 d#2@16",
  P: "a1@14 ~ a1 b1@12 c#2@3 b1", Q: "e2@15 b1 d#2@14 ~ g#1", R: "a1@13 ~@2 a1 b1@10 ~ b1@5", S: "e1@14 ~ b1 c#2@16",
  T: "a1@14 ~ a1 b1@14 ~@2", U: "e2@15 b1 c#2@15 [g#1,b1]",
  V: "[a1@14 ~ a1 ~@16 f#2@14 ~ f#2 f2@14 ~ a#1, ~@8 b1@15 ~@9]/2", W: "b1@14 ~ b1 c#2@9 ~@2 c#2@5",
  X: "f#1@15 c#2 f2@16", Y: "b1@14 ~ b1 c#2@12 d#2@3 c#2", Z: "f#2@15 c#2 f2@14 ~ a#1",
  AA: "b1@13 ~@2 b1 c#2@10 ~ c#2@5", AB: "f#1@14 ~ c#2 d#2@16", AC: "b1@14 ~ b1 c#2@14 ~@2",
  AD: "e2@14 ~ b1 c#2@15 g#1", AE: "e2@14 ~ b1 c#2@15 b1", AF: "e1@14 ~ b1 c#2@14 ~ g#1", AG: "a1@13 ~@2 a1 b1@15 ~",
  AH: "f#2@14 ~ f#2 f2@14 ~ a#1", AI: "f#1@13 ~@2 c#2 d#2@15 a#1", AJ: "b1@14 ~ b1 c#2@10 ~ c#2@5",
  AK: "f#1@15 c#2 d#2@16", AL: "f#2@15 c#2 d#2@15 c#2", AM: "f#1@15 c#2 d#2@15 c#2",
  AN: "[b1@14 ~ b1 c#2@9 ~@2 c#1@28 ~@9]/2",
})).s("gm_fretless_bass").gain(0.27)

// other · brass section
const brass_section = note("<A B C D E F G H@2 ~@16 A B C D E F G I ~@24 J K L M N O P Q ~>".pickRestart({
  A: "g#4@3 a4 b4@3 e4 ~@19 e5 e5@2 ~ e5",
  B: "e5@2 ~ d#5 d#5@2 ~ d#5@2 ~@2 c#5 c#5@2 ~ c#5 c#5@3 b4 b4@2 ~ g#4 b4@3 c#5@2 ~@3",
  C: "g#4@2 ~ a4 b4@2 ~ b4 ~@19 b4 b4@2 ~ b4",
  D: "b4@3 a4 a4@2 ~ a4@2 ~@2 g#4 g#4@2 ~ g#4 g#4@3 f#4 f#4@2 ~ e4 f#4@3 b4@3 ~@2",
  E: "g#4@2 ~ a4 b4@3 e5@2 ~@2 g#5 ~@3 e5@10 ~@2 e5 e5@2 ~ e5",
  F: "e5@2 ~ d#5 d#5@2 ~ d#5@2 ~@2 c#5 c#5@2 ~ c#5 c#5@2 ~ b4 b4@2 ~ g#4 b4@3 c#5@2 ~@3",
  G: "g#4@2 ~ a4 b4@2 ~ b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4] ~@3 c#3, f#4@13 ~@3", // B F#sus4 B
  AC: "[a#3,c#4,f#4]@8 ~@3 [c#4,f#4,a#4] ~@3 f#3 [c#4,f4,g#4]@7 [c#4,f#4,a#4]@9, f#3@11 ~@5 d#3@16", // F# C# F#
  AD: "[b2,b3,d#4]@11 [b3,d#4] ~@3 b2 ~@11 [b3,d#4,f#4] ~@4, f#4@3 ~, ~ c#3", // B
  AE: "~ f#3@10 [c#4,f#4,a#4] ~@3 f#3 [c#4,f4,g#4]@6 ~ [c#4,f#4,a#4]@9, [a#3,c#4,f#4] ~ d#3@2", // F# C# F#
  AF: "[[b2,b3,d#4,f#4]@11 [b3,d#4,f#4] ~@3 b2 [c#3,b3,d#4,f#4]@37 ~@11]/2", // B
})).s("gm_pad_poly").gain(0.27).pan(0.7)

// chords · string ensemble 1
const string_ensemble_1 = note(`<
  ~@17 A B@2 C D E F@2 ~@8 G H@3 I J K@2 L M N O P@2 Q@2 G R@2 S I T U@2 ~@9
>`.pickRestart({
  A: "[e3,g#4]@2 f#4 e4, b3, ~ d#3", B: "[[a2,a3,c#4]@4 d#4@2 e4 f#4 [e3,g#4]@4 f#4@2 e4@2, ~ b3@3, ~ b2 ~ d#3]/2",
  C: "[a2,c#4]@4 d#4@2 e4 f#4, a3@31 ~, ~ b2", D: "[e3,g#4,g#5]@2 [f#4,f#5] [e4,e5], b3, ~ d#3",
  E: "[a2,c#4,c#5]@4 [d#4,d#5]@2 [e4,e5] [f#4,f#5], a3@31 ~, ~ b2", // A D# E F#
  F: "[[e3,g#4,g#5]@2 [f#4,f#5] e5 a2@2 ~ [b3,d#4,b4], b3@32 [a3,c#4,c#5]@25 ~@7, ~ c#3 ~ b2, ~@3 e4@4 ~]/2", // E F# B A
  G: "[f#3,a#4]@2 g#4 f#4, c#4, ~ f3", // F#
  H: "[[b2,b3,d#4]@4 f4@2 f#4 g#4 [f#3,a#4]@4 g#4@2 f#4@2 [b2,d#4]@4 f4@2 f#4 g#4, ~@16 c#4@49 ~@15 c#3@16, ~@16 c#3@16 ~@16 f3@16 b3@31 ~]/3", // B F# B
  I: "[f#3,a#4,a#5]@2 [g#4,g#5] [f#4,f#5], c#4, ~ f3", // F# G# F#
  J: "[b2,d#4,d#5]@4 [f4,f5]@2 [f#4,f#5] [g#4,g#5], b3@31 ~, ~ c#3", // B F F# G#
  K: "[[f#3,a#4,a#5]@16 [g#4,g#5]@8 f#5@8 b2@16 ~@9 g#5@2 ~@3 d#6@2, c#4@32 [b3,d#4,d#5]@24 f#5@2 ~ a5@2 c#6@2 ~, ~@16 d#3@17 ~@15 c#3@16, ~@3 f#4@4 [c#4,f4,c#5], ~@30 b5 ~]/2", // F# G# B C#
  L: "e6@16 f#5@3 g#5@2 ~@2 a5@3 b5@2 d#6@3 ~", M: "e6@16 d#6@4 c#6@4 b5@3 c#6@4 ~", N: "b5@16 ~ g#5@3 a5@4 b5@4 e5@4",
  O: "e6@4 d#6 c#6 b5 c#6", P: "[b5@4 g#5 a5 b5 e5@7 [a4,c5,f#5]@2]/2",
  Q: "[[b4,g#5]@32 c#5@24 ~ b4@7, e5@7 d#5, ~@16 a4@15 ~]/2", // E
  R: "[[b2,b3,d#4]@4 f4@2 f#4 g#4 [f#3,a#4]@4 g#4@2 f#4@2, ~ c#4@3, ~ c#3 ~ f3]/2", // B F#
  S: "[b2,d#4]@4 f4@2 f#4 g#4, b3@31 ~, ~ c#3", T: "[b2,d#4,d#5]@4 [f4,f5]@2 [f#4,f#5] [g#4,g#5], b3, ~ c#3",
  U: "[[f#3,a#4,a#5]@2 [g#4,g#5] f#5 b2@2 ~ [c#4,f4,c#5], c#4@32 [b3,d#4,d#5]@25 ~@7, ~ d#3 ~ c#3, ~@3 f#4@4 ~]/2", // F# G# C# B
})).s("gm_string_ensemble_1").gain(0.17).pan(0.7)

// chords · synth strings 1
const synth_strings_1 = note(`<
  A B C D E D F G@6 H@2 I@2 J B K L M N O P Q B F D E D R S@2 T U V W X Y Z AA AB AA AB AA AB AA AB AC T U V W X Y Z AD
  ~ AD ~ AD ~ AD ~@2
>`.pickRestart({
  A: "[g#3,b3,e4]@10 [b3,e4,g#4] ~@5 [d#4,f#4]@6 [e4,g#4]@8 ~@2, ~@16 b3@15 ~", B: "[a3,c#4,e4]",
  C: "[g#3,b3,e4]@9 ~ [b3,e4,g#4] ~@5 [d#4,f#4]@6 [e4,g#4]@8 ~@2, e3@16 b3@15 ~", D: "[a3,c#4,e4]@31 ~",
  E: "[g#3,b3,e4]@9 ~ [b3,e4,g#4] ~@5 [d#4,f#4]@6 [e4,g#4]@9 ~, ~@16 b3@15 ~", // E D#m E
  F: "[g#3,b3,e4]@9 ~ [b3,e4,g#4] ~@5 [d#4,f#4]@6 [e4,g#4]@8 ~@2, ~@16 b3@15 ~", // E D#m E
  G: "[[a3,c#4,e4]@47 ~ [g#3,e4]@16 [f#3,f#4]@15 ~ [a3,c#4]@32 g#3@14 ~@2 [f#3,f#4]@16 [a3,c#4,e4]@32 [g#3,b3,e4]@9 ~ [b3,e4,g#4] ~@5, ~@48 b3@32 e4@47 ~@65, ~@112 b3@33 ~@47]/6", // A C#m F# A F# A E
  H: "[[d#4,f#4]@6 [e4,g#4]@9 ~ [a3,c#4,e4]@32 [g#3,b3,e4]@9 ~ [b3,e4,g#4] ~@5, b3@15 ~@49]/2", // D#m E A E
  I: "[[d#4,f#4]@6 [e4,g#4]@9 ~ [a3,c#4,e4]@45 ~@3, b3@15 ~@49]/2", J: "[g#3,e4]@8 [f#3,f#4]@7 ~, b3",
  K: "[g#3,e4]@16 [f#3,f#4]@15 ~, b3", L: "[a3,c#4,e4]@3 [a3,c4,f#4]", M: "[e4,g#4] [f#4,b4], b3@31 ~",
  N: "[c#4,e4,a4]@31 ~", O: "[b3,e4,g#4]@31 ~", P: "[c#4,e4]@24 [b3,d#4]@7 ~, a3@31 ~",
  Q: "[g#3,b3,e4]@10 [b3,e4,g#4] ~@5 [d#4,f#4]@6 [e4,g#4]@9 ~, ~@16 b3@15 ~", // E D#m E
  R: "[g#3,b3,e4]@9 ~ [b3,e4,g#4] ~@5 [d#4,f#4]@6 [e4,g#4]@9 ~, e3@16 b3@15 ~", // E D#m E
  S: "[c#4@16 [a#3,f#4]@8 [g#3,g#4]@7 ~, [a3,e4]@47 ~@17, ~ c#4]/2", T: "[b3,d#4,f#4]",
  U: "[a#3,f#4]@16 [g#3,g#4]@15 ~, c#4", V: "[b3,d#4,f#4]@3 [b3,d4,g#4]", W: "[f#4,a#4] [g#4,c#5], c#4@31 ~",
  X: "[d#4,f#4,b4]@31 ~", Y: "[c#4,f#4,a#4]@31 ~", Z: "[d#4,f#4]@24 [c#4,f4]@7 ~, b3@31 ~", AA: "[g#3,b3,e4]@9 ~@23",
  AB: "[a3,c#4]@15 ~", AC: "[a#3,f#4]@8 [g#3,g#4]@7 ~, c#4", AD: "[a#3,c#4,f#4]@5 ~@11",
})).s("gm_synth_strings_1").gain(0.15).pan(0.3)

// other · pad choir
const pad_choir = note("<~@57 A B C D E F G H ~>".pickRestart({
  A: "a#4@3 b4 c#5@3 f#4 ~@19 f#5 f#5@2 ~ f#5",
  B: "f#5@2 ~ f5 f5@2 ~ f5@2 ~@2 d#5 d#5@2 ~ d#5 d#5@3 c#5 c#5@2 ~ a#4 c#5@3 d#5@2 ~@3",
  C: "a#4@2 ~ b4 c#5@2 ~ c#5 ~@19 c#5 c#5@2 ~ c#5",
  D: "c#5@3 b4 b4@2 ~ b4@2 ~@2 a#4 a#4@2 ~ a#4 a#4@3 g#4 g#4@2 ~ f#4 g#4@3 c#5@3 ~@2",
  E: "a#4@2 ~ b4 c#5@3 f#5@2 ~@2 a#5 ~@3 f#5@10 ~@2 f#5 f#5@2 ~ f#5",
  F: "f#5@2 ~ f5 f5@2 ~ f5@2 ~@2 d#5 d#5@2 ~ d#5 d#5@2 ~ c#5 c#5@2 ~ a#4 c#5@3 d#5@2 ~@3",
  G: "a#4@2 ~ b4 c#5@2 ~ c#5@2 ~@18 c#5!2 ~@2 c#5",
  H: "c#5@2 ~ b4 b4@2 ~ b4 ~@3 a#4 a#4@2 ~ a#4 a#4@2 ~ g#4 g#4@2 ~ f#4 g#4@2 ~ c#5@2 ~@3",
})).s("gm_pad_choir").gain(0.27)

// drums · kick
const kick = s("bd").struct("<A B A B A B A@2 C A@3 D A@3 E A@9 B A B A B A@27 B A B A B A B ~>".pickRestart({
  A: "x!2", B: "x ~@15 x ~@10 x ~@4", C: "~ x", D: "x ~@10 x ~@4 x ~@15", E: "x",
})).gain(0.45)

// drums · kick · soft notes
const kick_soft = s("bd").struct("<A B A B A B A B C@7 ~@2 A@7 B A B A B A@11 B A@15 B A B A B A B A B ~>".pickRestart({
  A: "~@15 x ~@15 x", B: "~@15 x ~@16", C: "~@31 x",
})).gain(0.27)

// drums · rim
const rim = s("rim").struct("<~@8 [~@3 x] [~ x ~ x]!7 ~@50>").gain(0.45)

// drums · snare
const snare = s("sd").struct("<A@7 B ~@9 A@7 B A@7 B A@7 B A@7 C A@7 B A@8 ~>".pickRestart({
  A: "~ x ~ x", B: "~ x ~@2", C: "~@8 x ~@15 x ~@2 x!2 ~@3",
})).gain(0.45)

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

// drums · mid tom
const mid_tom = s("mt").struct("<~@16 A ~@7 B ~@7 C ~@7 B ~@7 C ~@7 B ~@9>".pickRestart({
  A: "~@19 x ~@4 x ~@2 x!2 ~@3", B: "~@27 x ~@4", C: "~@29 x ~ x",
})).gain(0.45)

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

// drums · high tom
const high_tom = s("ht").struct("<~@16 A ~@7 B ~@7 C ~@7 B ~@15 B ~@9>".pickRestart({
  A: "~@7 x ~@4 x ~@19", B: "~@3 x", C: "~@24 x!2 ~ x!2 ~@3",
})).gain(0.45)

// drums · crash
const crash = s("cr").struct(`<
  A ~@3 A ~@2 B ~@8 A@2 ~@3 A ~@3 A ~@3 A ~@2 B A ~@3 A ~@3 A ~@3 A ~@3 A ~@3 A ~@3 A ~@3 A ~@2 C ~
>`.pickRestart({
  A: "x", B: "~ x", C: "~@27 x ~@4",
})).gain(0.32)

// drums · tambourine
const tambourine = s("tb").struct("<~@17 [~ x ~ x]!8 ~@4 [~@3 x]!4 [~ x ~ x]!8 [~@3 x]!8 [~ x ~ x]!8 ~@9>").gain(0.45)

// drums · cabasa
const cabasa = s("cabasa:4").struct("<A ~ A ~ A ~ A ~@18 A ~ A ~ A ~ A ~@25 A ~ A ~ A ~ A ~@2>".pickRestart({
  A: "~@12 x ~@2 x ~@16",
})).gain(1.6)

// drums · claves
const claves = s("clave:2").struct("<A ~ A ~ A ~ A ~@18 A ~ A ~ A ~ A ~@25 A ~ A ~ A ~ A ~@2>".pickRestart({
  A: "~@7 x",
})).gain(1.54)

// … 4 more lines

More by Antonello Venditti