Strudelify
Bella cover art

1997 · Lorenzo 1997 - L'Albero

Bella

Jovanotti

KeyD majorTempo102 bpm
0:00/0:00
// Bella — Jovanotti
// 102 bpm, 4/4, key D major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: pitch bends are ignored
// note: Full arrangement: all 108 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 25.
setcpm(102/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(`<
  ~@5 A B C D E B F D G H I J@2 K L M N B C D E B F D G H I J@2 O P M Q B C D E B F D R B C D E B F D S T U V W X Y O Z
  M Q B C D E B F D R B C D E B F D AA B C D E B F D R B C D E B F D AA B C D E B F D AA B C D AB
>`.pickRestart({
  A: "~@7 a1 d2@2 a1@2 d2 ~@2 a1", B: "d2!2 ~ d2 ~ e2 ~ e1 a1@2 b1@2 c#2 ~@3",
  C: "f#2 g2 a2 a2@2 f#2 e2@2 b1@2 a1@2 b1 ~@2 a1", D: "b1!2 a1 b1 ~ a1 ~@2 g1@4 g2@2 g1@2",
  E: "a1@4 a2@3 a1 d2@2 a1@2 d2 ~@2 a1", F: "f#2 g2 ~ a2@2 f#2 e2@2 b1@2 a1@2 b1 ~@2 a1",
  G: "a1@4 a2@3 ~ e2 ~@2 b1 d2 e2 ~ a1", H: "~ d3 ~ a2 ~ a1!2 b1 d2@3 d2 f#2 a2 b2 a2",
  I: "d3 ~ d3@2 e3@3 ~ e2 ~@2 b1 d2 e2 ~ a1",
  J: "[~ d3 ~ a2 ~ a1!2 b1 d2 ~@2 d2 ~@2 d2@4 c#2 ~ d2@2 d#2@2 e2 ~@2 b1 d2 e2 ~ a1]/2",
  K: "~ a1 b1 a1 c2 a1 c#2 ~ d2@4 c#2@4", L: "b1@4 a1@4 e2 ~@2 b1 d2 e2 ~ a1",
  M: "~ a1@3 a2@2 a1@2 d2@2 ~ d2 f#2 d2 b2 d2", N: "a2@2 ~ a2@3 ~ a1 d2@2 a1@2 d2 ~@2 a1, ~@3 e3 ~@4",
  O: "~ a1 b1 a1 c2 a1 c#2 ~ d2@2 d3@2 c#2@2 c#3@2", P: "b1@2 b2@2 a1@2 a2@2 e2 ~@2 b1 d2 e2 ~ a1",
  Q: "a2@2 ~ a2@3 e3@2 d2@2 a1@2 d2 ~@2 a1", R: "a1@4 a2@3 ~ d2@2 a1@2 d2 ~@2 a1", S: "a2 g2 f#2 e2@4 ~",
  T: "~@14 e2 ~", U: "~ e2 ~@5 b1 e2!2 ~@5 e1", V: "a1!2 ~@3 a1 b1 c#2 d2!3 ~ d2 ~ b1 d2",
  W: "~ b1 d2 ~ f#2 a2@2 b1 e2!2 ~@5 e1", X: "a1!2 ~@2 a2 ~ g2 ~ f#2!2 d3@5 ~",
  Y: "e3 ~ c#2 ~ d2 d#2@3 e2 ~@2 b1 d2 e2 ~ a1", Z: "b1@2 b2@2 a1@2 a2@2 e2 ~ d2 e2 ~ d2 e2 a1",
  AA: "a2@2 g2@2 f#2@2 e2@2 d2@2 a1@2 d2 ~@2 a1", AB: "a1@4 a2@3 a1 d2@2 a1@2 ~@4",
})).s("gm_electric_bass_finger").gain(0.48)

// other · electric guitar jazz
const electric_guitar_jazz = note(`<
  ~ A@2 B C D@2 E F D@2 E F G@2 ~@2 H@2 I@2 D@2 E F D@2 E F J@3 ~@4 K@2 L E F D@2 E F M@2 E F N@2 ~ O P@3 ~@7 D@2 E F
  D@2 E F D@2 E F D@2 E F D@2 E Q D@2 E Q D@2 E F D@2 E F D@2 E F D@2 E F D@2 E F R
>`.pickRestart({
  A: "[[f#4,a4]@29 ~@3]/2", B: "d5 a4 f#4 d4", C: "a3@4 d3@11 ~", D: "[~@6 [g#4,c#5]@21 ~ d6@3 ~]/2",
  E: "~@4 a5@3 ~@5 f#5@3 ~", F: "~@4 d5@3 ~@5 a4@3 ~", G: "[~@4 a4@5 ~@7, ~ d4@2 f#4@6 ~@7, ~ e4@2 ~@5]/2",
  H: "[~@8 d5@13 ~@3 a4@7 ~]/2", I: "[g4@3 ~ f#4@3 ~ e4@14 ~@10]/2",
  J: "[~@8 a4@10 ~@5 b4@7 ~ a4@3 ~ g4@3 ~ f#4@9, ~ d4@2 f#4@6 ~@15, ~ e4@2 ~@9]/3",
  K: "[~@2 d4!2 d4@2 ~ c#4 c#4@2 ~ b3@4 c#4@3 d4@4 e4@2 g4@4 ~@4]/2", L: "~@12 d6@3 ~",
  M: "[~@8 a4@14 ~@6 d6@3 ~, ~@2 d4@19 ~@11, ~@4 e4@17 ~@11, ~@3 f#4@8 ~@5]/2",
  N: "[~@4 a4@7 ~@5, ~@2 d4@19 ~@11, ~@4 e4@17 ~@11, ~@3 f#4@8 ~@5]/2", O: "~@8 b4@3 ~ b4@2 ~@2", P: "[b4@13 ~@3]/3",
  Q: "~@4 d5@3 ~@9", R: "~@3 [g#4,c#5]@4 ~",
})).s("gm_electric_guitar_jazz").gain(0.39)

// other · electric guitar jazz
const electric_guitar_jazz_2 = note(`<
  ~@4 A@3 ~@2 B@2 ~@10 B@2 ~@2 B@2 ~@14 B@2 ~@6 B@2 ~@12 B@2 ~@2 B@2 ~@2 B@2 ~@2 B@2 ~@2 B@2 ~ C@3 ~ C@3 ~@2 B@2 ~@2 B@2
  ~@2 B@2 ~@2 B@2 ~@2 D
>`.pickRestart({
  A: "[~@14 d4@7 ~ f4@18 ~@8]/3", B: "[~@3 f4@9 ~@4]/2",
  C: "[~@8 a4@3 f4@9 ~@4, ~@5 d4@6 ~@13, ~@6 e4@5 ~@13, ~@7 f#4@4 ~@13]/3", D: "~@6 f4@9 ~",
})).s("gm_electric_guitar_jazz").gain(0.37)

// chords · pad warm
const pad_warm = note("<~@5 A@6 B@3 ~@7 C@6 D@3 ~@7 C@6 E@8 D@3 ~@9 C@6 E@24 F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
  G: "[~@21 a4@2 [c#4,e4]@9, ~@7 a3@25, ~@7 [d4,f#4]@16 ~@9]/2", // C#m D
  H: "[~@5 a4@2 ~@14 a4@2 [g3,g4]@8 [a3,c#4,e4]@8 ~@14 a4@2 ~@14 a4@2 ~@14 a4@2 [g3,g4]@8 [a3,c#4,e4]@8 [d4,f#4]@7 ~@2, ~@7 d4@24 ~@8 [d4,f#4]@16 [c#4,e4]@16 d4@24 ~@17, ~@7 [b3,f#4]@16 ~@16 a3@32 [b3,f#4]@16 ~@25]/7", // G A G A D C#m B5
})).s("gm_pad_warm").gain(0.1).pan(0.4)

// chords · pad choir
const pad_choir = note("<~@25 A@4 ~@12 A@4 ~@4 A@4 ~@14 A@4 ~@4 A@4 ~@4 A@4 ~@4 A@16 B>".pickRestart({
  A: "[~@8 [a4,d5]@11 ~ [a4,d5]@2 ~@2 [e4,a4]@11 ~ [e4,a4]@2 ~@2 [f#4,b4]@15 ~@9]/4", B: "~@4 [a4,d5]@3 ~",
})).s("gm_pad_choir").gain(0.22).pan(0.6)

// other · violin
const violin = note("<~@5 A ~@3 B@2 C ~@41 D@3 E F G H I J K L ~@3 M N O ~@17 P@4 Q R S T U V W X ~@9>".pickRestart({
  A: "e3@5 ~@11", B: "[~@8 e6@13 ~ e6 d6 c#6@8]/2", C: "a5@4 g5@3 ~@9", D: "[d#4@13 ~ c5 b4]/3",
  E: "g4@6 ~ f#4 a4 f#4 ~ a4 ~ a4@3", F: "f#4@4 b4@2 ~@2 f#4 a4@2 ~ [f#4,a4] a4@3",
  G: "a4 a4@2 [f#4,a4] d5 d#5 e5 d5 f#5 a5 f#5 d5 [d#5,e5] b4 d5@2, ~ f#4 ~@14", H: "e5@4 ~@4 b3@3 e4@3 a4@2",
  I: "f#4@3 ~ b3@3 f#4 g4@2 e4!2 f#4 [d4,e4] b3 e4", J: "d4 ~ e4@5 d4 e4 f#4!2 ~ f#4 ~ b3 d4",
  K: "~ c#4 b3 a#3 a3 e3 a3 e3 f#3 d4!2 b3 d4 e3 g3 e3", L: "a3@2 b3@2 c#4@2 d4@5 ~@5", M: "~@8 e5 ~@2 e5@4 ~",
  N: "e5 c#5 d5 c#5 e5 c#5 e5 c#5@4 e5 ~ f#4 e4 d4", O: "~ c#4@5 ~@10",
  P: "[~@11 b3 d4@2 b3 d4@3 b3@2 ~@7 c#4 e4@2 c#4 e4@3 c#4@2 ~@7 f#4 a4@2 f#4 a4@2 a4@3 ~@4 a4@2 a4 f#4@2 f#4 d4 b3]/4",
  Q: "d4@2 f#3 g3 a3 g3 f#3 g3 a3@3 ~@4 b3", R: "d4@2 b3 d4@3 b3@2 ~@7 c#4", S: "e4@2 c#4 e4@3 c#4@2 ~@7 f#4",
  T: "a4@2 f#4 a4@2 a4@3 a4@2 a4 f#4@2 f#4 d4 b3", U: "d4@2 f#3 g3 a3 g3 f#3 g3 a3@3 ~@5", V: "f#4 g4 ~ g#4 ~ a4 ~@10",
  W: "c#5 d5 ~ e5@3 d5 c#5 d5@4 f#5@2 ~@2", X: "a5@2 ~@3 b4 d5 b4 d5@2 a4 f#4 a4@2 e4 d4",
})).s("gm_violin").gain(0.32).pan(0.4)

// chords · acoustic guitar steel
const acoustic_guitar_steel = note(`<
  ~@5 A B C D E B C D F G H I J K L G M B C D E B C D F G H I J K L G M B C D E B C D E B C D E B C D N ~ O P Q@2 R@4 S
  B C D E B C D E B C D E B C D E B C D E B C D E B C D E B C D E B C D E B C D E B C D T
>`.pickRestart({
  A: "~@8 [a3,d4,f#4]@3 [a3,d4,f#4]!2 ~@3, ~@8 d3@5 ~@3", // D
  B: "[d3,a3,d4,f#4] [a3,d4,f#4] ~ [d3,a3,d4,f#4]@2 [d4,f#4] ~@2 [a3,c#4,e4]@3 [a3,c#4,e4]!2 ~@3, ~@8 e3@5 ~@3", // D A
  C: "[e3,a3,c#4,e4] [a3,c#4,e4] ~ [e3,a3,c#4,e4]@2 [c#4,e4] ~@2 [b3,d4,f#4]@3 [b3,d4,f#4]!2 ~@3, ~@8 f#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3,c#4,f#4,a4]@3 [a3,c#4,f#4,a4] [c#4,f#4,a4] ~@2 [c#4,f#4,a4], ~@3 a3@4 ~@17 d3@4 c#3@4 b2@4 ~@28, ~@5 a4@51 ~@8, ~@32 d4 ~@31]/4", // F#m F#5 Em F#m A5 F#m D Em …
  S: "[a3,c#4,f#4,a4] [c#4,f#4,a4] [c#4,f#4] c#4 [c#4,f#4,a4] [c#4,f#4]@3 [a3,d4,f#4]@3 [a3,d4,f#4]!2 ~@3, ~@3 a3@5 d3@5 ~@3, ~@5 a4 ~@10", // F#m F#5 F#m F#5 D
  T: "[g3,b3,d4,f#4] [b3,d4,f#4]!2 [g3,b3,d4,f#4]@2 [d4,f#4] ~@2 [a3,d4,f#4]@3 [a3,d4,f#4] ~@4, ~@8 d3@5 ~@3", // Gmaj7 Bm Gmaj7 D
})).s("gm_acoustic_guitar_steel").gain(0.16).pan(0.3)

// chords · acoustic guitar steel
const acoustic_guitar_steel_2 = note(`<
  ~@10 A B C D ~@25 A E D ~ A E D ~ A E D ~ A E D ~@11 A E D ~ A E D ~ A E D ~ A E D ~ A E D ~ A E D ~ A E D ~ A E D ~ A
  E D ~ A E D ~ A E ~
>`.pickRestart({
  A: "~@8 [e5,b5]!8", B: "[e5,b5]!8 [e5,a5,b5]!8", C: "[e5,a5,b5]!8 [e5,a5]!8", D: "[e5,a5]!8 ~@8",
  E: "[e5,b5]!8 [e5,a5]!8", // E5 A5
})).s("gm_acoustic_guitar_steel").gain(0.14)

// chords · acoustic guitar steel
const acoustic_guitar_steel_3 = note("<~@14 A B A C A ~ A B ~@8 A B A C A ~ A B ~@70>".pickRestart({
  A: "~ a3 ~@14", B: "~@3 a3@5 ~@8, ~@3 c#4 ~@12", C: "~@3 a3@4 ~@9, ~@3 c#4 ~@12",
})).s("gm_acoustic_guitar_steel").gain(0.11).pan(0.9)

// drums · kick
const kick = s("bd").struct("<~ A B@2 C D E@8 F@2 E@3 G E H E@8 F@2 E@3 G E H E@15 I J K E@7 H E@44>".pickRestart({
  A: "x ~@2 x ~@6 x ~@2 x ~@2", B: "x ~@2 x ~@6 x ~@2 x ~ x", C: "x ~@2 x ~@12", D: "~@8 x ~@2 x ~@4",
  E: "~@2 x ~@2 x ~@2 x ~@2 x ~@4", F: "~@2 x ~@2 x!2 ~ x ~@2 x ~@4", G: "~@2 x ~@2 x ~ x!2 ~@2 x ~@4",
  H: "~@2 x ~@5 x ~@2 x ~@4", I: "~@2 x ~@2 x ~@10", J: "~@7 x", K: "~ x ~@6 x ~@2 x ~@4",
})).gain(0.66)

// drums · kick · soft notes
const kick_soft = s("bd").struct(`<
  ~ A ~@12 B@2 ~ C ~ D ~@10 B@2 ~ C ~ D ~@20 C ~ C ~ C ~ C ~@9 C ~ C ~ C ~ C ~@9 C ~ C ~ C ~ C ~@5 C ~ C ~@5
>`.pickRestart({
  A: "~@15 x", B: "~@7 x ~@8", C: "~@3 x ~@12", D: "~@3 x ~@2 x ~@9",
})).gain(0.37)

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

// drums · hihat
const hihat = s("hh").struct(`<
  ~
  [~ x ~ x!5]!4
  [x!4 ~ x ~ x]!48
  [x!4 ~@4]
  ~
  [~@5 x ~ x]
  [x!4 ~ x ~ x]!51
  [x!4 ~ x ~@2]
>`).gain(0.44)

// drums · hihat · soft notes
const hihat_soft = s("hh").struct("<~ A@4 B C@47 D ~ E C@51 D>".pickRestart({
  A: "~@7 x ~ x ~ x ~ x ~ x", B: "~ x ~ x ~ x ~@9 x", C: "~ x ~ x ~ x ~ x ~@7 x", D: "~ x ~ x ~ x ~ x ~@8", E: "~@15 x",
})).gain(0.22)

// drums · open hat
const open_hat = s("oh").struct("<~ [x!2 ~@2]!4 [~@2 x!2]!48 ~@2 [~@2 x!2]!53>").gain(0.44)

// drums · tambourine
const tambourine = s("tb").struct(`<
  ~@5 A B@3 C D@3 E ~@7 A B@3 C D@3 E ~@7 A B@3 C D@3 F B@3 C D@3 E ~@9 A B@3 C D@3 F B@11 C D@3 F B@19 G
>`.pickRestart({
  A: "~@10 x!3 ~ x!2", B: "x ~ x!3 ~ x!3 ~ x!3 ~ x!2", C: "x ~ x!3 ~ x!3 ~ x ~@3 x ~", D: "~ x ~ x ~ x ~ x",
  E: "~ x ~ x ~@4", F: "~@2 x ~@3 x ~@3 x!3 ~ x!2", G: "x ~ x!3 ~ x!3 ~ x ~@5",
})).gain(0.37)

// drums · splash
const splash = s("cr").struct("<~ A ~@35 B ~@7 B ~@8 C D ~@7 B ~@7 B ~@7 B ~@7 B ~@7 B ~@7 B ~@4>".pickRestart({
  A: "x", B: "~ x", C: "~@7 x", D: "~ x ~@6 x ~@7",
})).gain(0.44)

// drums · congas
const congas = s("conga:13").struct("<~@54 [~@15 x] [~ x!2 ~ x ~@11] ~@52>").gain(1.42)

// drums · congas
const congas_2 = s("conga:18").struct("<~@54 [~@15 x] [x ~@2 x ~@12] ~@52>").gain(1.42)

// drums · woodblocks
const woodblocks = s("woodblock:5").struct("<~@54 [~@8 x!8] ~@53>").gain(0.75)

// drums · shaker
const shaker = s("sh").struct(`<
  ~@5
  [~@2 x!3 ~ x!3 ~ x!3 ~ x!2]
  [x ~ x!3 ~ x!3 ~ x!3 ~ x!2]!47
  [x ~ x!3 ~ x!3 ~@7]
  ~
  [~@8 x ~ x!3 ~ x!2]
  [x ~ x!3 ~ x!3 ~ x!3 ~ x!2]!51
  [x ~ x!3 ~ x!3 ~ x!3 ~@3]
// … 18 more lines

More by Jovanotti