Strudelify

E tutto un attimo

Anna Oxa

KeyD majorTempo114 bpm
0:00/0:00
// E tutto un attimo — Anna Oxa
// 114 bpm, 4/4, key D major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: pitch bends are ignored
// note: Full arrangement: all 111 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 28.
setcpm(114/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(`<
  ~@4 A B@2 A B A C@2 D A C E B A C@2 D A C E F G H I J K L M C N O M N C P B A C@2 D A C E F G H I J K L M N Q O R A M
  O I S T U I@2 V U W I X M F G H I J K L M N Q O X Y Z AA X Z Y AA W I AB@2 AC AD AE AF O AG AH AI AH AI AH AI AH AJ
>`.pickRestart({
  A: "g1@5 ~ g1 ~ g1@6 g1 ~", B: "g1@5 ~ g1 ~ g1@7 ~", C: "d2@5 ~ d2 ~ d2@7 ~", D: "c2@5 ~ c2 ~ c2@7 ~",
  E: "d2@5 ~ d2 ~ d2@6 g1 ~", F: "e1@5 ~ e1 ~ e1@7 ~", G: "f#1@5 ~ f#1 ~ f#1@6 f#1 ~",
  H: "g1@5 ~ g1 ~ g1@2 g1@3 ~ g1 ~", I: "a1@5 ~ a1 ~ a1@6 a1 ~", J: "b1@5 ~ b1 ~ b1@2 b1@3 ~ b1 ~",
  K: "c2@2 c2@3 ~ c2 ~ c2@2 c2@3 ~ c2 ~", L: "c#2@2 c#2@3 ~ c#2 ~ c#2@2 c#2@3 ~ c#2 ~", M: "d2@5 ~ d2 ~ d2@6 d2 ~",
  N: "d2@2 d2@3 ~ d2 ~ d2@7 ~", O: "d2@2 d2@3 ~ d2 ~ d2@2 d2@3 ~ d2 ~", P: "d2@2 d2@3 ~ c2 ~ c2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"~@2 e3 ~@5 e4 ~ e3 ~@3 g#3 ~",
  I: "~@2 e3 ~ a3 ~@3 e4 ~ e3 ~@3 e3 ~", J: "~@2 f#3 ~ b3 ~ f#3 ~ d4 ~ d4@2 c#4@2 b3 ~",
  K: "~@2 e3 ~ a3 ~ e3 ~ a3 ~ a3 ~ e3 ~ e3 ~", L: "~@2 d3 ~ d3 ~ d3 ~ a3 ~ a3 ~ d3 ~ d3 ~",
  M: "~@2 d#3 ~ d#3 ~@3 f#3 ~ d#3 ~ a3 ~ d#3 ~",
})).s("gm_electric_guitar_muted").gain(0.16).pan(0.8)

// other · electric guitar muted · soft notes
const electric_guitar_muted_2 = note("<~@24 [~@6 g3 ~@7 g3 ~] ~@22 [~@6 g3 ~@7 g3 ~] ~@26 [~@6 g3 ~@7 g3 ~] ~@36>")
  .s("gm_electric_guitar_muted").gain(0.12).pan(0.8)

// chords · synth strings 1
const synth_strings_1 = note(`<
  A@4 B@4 C@2 D@2 E F D@2 C@2 D@2 E F D@2 G H F I J K L M@2 N@2 M@2 O@2 C@2 D@2 E F D@2 G H F I J K L M@2 N@2 K P N@2
  Q@2 R@2 Q@2 R@2 S T U V G H F I J K L M@2 N@2 W@2 X@2 W@2 X@2 Y Z AA@2 AB AC AD AE S AF W@2 X@2 W@2 AG@2
>`.pickRestart({
  A: "g3/4", B: "[b3 c4, [g2,d3,g3,d4]]/4", C: "[g2,g3,b3,d4]/2", D: "[d3,f#3,a3,d4]/2", E: "[c3,g3,c4,e4]",
  F: "[g2,g3,b3,d4]", G: "[e2,g3,b3,d4]", H: "[f#2,f#3,a3,d4]", I: "[a2,g3,c4,e4]", J: "[b2,b3,d4,g4]",
  K: "[c3,c4,e4,g4]", L: "[c#3,c#4,e4,b4]", M: "[d3,b3,d4,g4]/2", N: "[d3,a3,d4,f#4]/2",
  O: "[[d3,a3,d4,f#4]@22 [g3,c4]@2 [g3,c4]@2 [a3,d4]@2 [a3,d4]@3 ~]/2", P: "[g2,b3,d4,g4]", Q: "[e3,c#4,e4]/2",
  R: "[e3,b3,e4]/2", S: "[d3,d4,f#4,a4]", T: "[a2,c#4,e4,a4]", U: "[e3,b3,e4,g#4]", V: "[d3,a3,d4,f#4]",
  W: "[e3,c#4,e4,a4]/2", X: "[e3,b3,e4,g#4]/2", Y: "[d3,f#4,a4]", Z: "[a2,c#4,e4]",
  AA: "[[e3,g#3,e4]@5 ~@9 [f#2,a3,c#4,e4]@18]/2", AB: "[g#2,g#3,b3,e4]", AC: "[a2,a3,c#4,e4]", AD: "[b2,a3,d4,f#4]",
  AE: "[c#3,c#4,e4,a4]", AF: "[d#3,d#4,f#4,c#5]", AG: "[[e3,b3,e4,g#4]@11 ~@5]/2",
})).s("gm_synth_strings_1").gain(0.16).pan(0.4)

// chords · pad halo
const pad_halo = note(`<
  A@4 B@2 C@2 ~@16 D E F G H I J K@2 L@2 K@2 M@2 ~@8 D E F G H I J K@2 L@2 N O L@2 P@2 Q@2 P@2 Q@2 R S T U D E F G H I J
  K@2 L@2 P@2 Q@2 P@2 Q@2 R S V@2 W X Y Z AA Z P@2 Q@2 P@2 AB@2
>`.pickRestart({
  A: "[b3 ~ [a2,g3,d4]@2, d3, [b2,g3] ~, ~ a3@3]/4", B: "[g3,b3,d4]/2", C: "[g3,c4,d4]/2", D: "[e3,b3,g4]",
  E: "[f#3,d4,a4]", F: "[g3,b3,d5]", G: "[a3,e4,c5]", H: "[b3,g4,b4]", I: "[c4,e4,c5]", J: "[c#4,g4,b4]",
  K: "[g4,b4]/2", L: "[f#4,a4]/2", M: "[[f#4,a4]@11 ~@5]/2", N: "[e4,c5]", O: "[g4,b4]", P: "[a4,c#5]/2",
  Q: "[g#4,b4]/2", R: "[f#4,d5]", S: "[a4,c#5]", T: "[g#4,b4]", U: "[f#4,a4]", V: "[[g#4,b4]@5 ~@9 [f#3,a4]@18]/2",
  W: "[g#3,b4]", X: "[c#4,e5]", Y: "[b3,d5]", Z: "[a3,c#5]", AA: "[a3,d5]", AB: "[[g#4,b4]@11 ~@5]/2",
})).s("gm_pad_halo").gain(0.14).pan(0.7)

// chords · electric guitar clean
const electric_guitar_clean = note(`<
  ~@2 A@2 ~@2 B@2 ~@16 C D E F G H I J ~ K ~ J ~ K ~@2 L ~ M@2 ~@3 C D E F G H I J ~ K ~ N O P@2 Q R S@2 Q R S@2 T R U@2
  C D E F G H I J ~ K ~ V ~ W ~ V ~ W ~ T X ~@8 V ~ W ~ V ~ W ~
>`.pickRestart({
  A: "[~@8 d4@2 ~@4 d4@2 c4@2 g3@9 ~@5, ~@4 g3@13 ~@15, ~@6 c4@4 g4@11 ~@11]/2",
  B: "[~@10 d4@21 ~, ~@2 g3@29 ~, ~@4 d4@5 ~@23, ~@6 g4@25 ~]/2", C: "~@2 g3@2 ~@2 d4@9 ~, e3@4 b3@11 ~",
  D: "~@2 f#3@2 ~@2 d4@9 ~, ~@4 a3@11 ~", E: "~@2 g3@2 ~@2 d4@9 ~, ~@4 b3@11 ~", F: "~@2 g3@2 ~@2 e4@9 ~, ~@4 c4@11 ~",
  G: "~@2 b3@2 ~@2 g4@9 ~, ~@4 d4@11 ~", H: "~@2 c4@2 ~@2 g4@9 ~, ~@4 e4@11 ~", I: "~@2 c#4@2 ~@2 g4@9 ~, ~@4 e4@11 ~",
  J: "[b3,d4,g4]", K: "[a3,d4,f#4]", L: "~@5 d4@3, ~ g3@7, ~@4 d4@5 ~@7, ~@6 g4@7 ~@3",
  M: "[~@10 d5@13 ~@9, ~ d4@8 ~@7, ~@2 g4@7 ~@7, ~@3 a4@6 ~@7]/2",
  N: "~@2 g3@2 ~@2 g3@3 ~ g3@2 ~@2 g3@2, ~@2 c4@3 ~ c4@2", O: "~@2 g3@2 ~@2 g3@3 ~ g3@2 ~@2 g3@2, ~ d4 ~ d4",
  P: "[~@2 a3@2 ~@2 a3@3 ~ a3@2 ~@2 a3@3 ~ a3@2 ~@2 a3@3 ~@5 a3@2, ~@2 d4@3 ~ d4@3 ~ d4@3 a3@2 ~, ~@7 d4]/2",
  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~ c#6 c#6@3 c#6 c#6@3 e6 e6@4 ~, ~@6 c#5@3 ~ e5@4 e5@3 ~ a5@3 ~ a5@4 c#6@5 ~]/2",
})).s("gm_piano").gain(0.35).pan(0.8)

// chords · overdriven guitar
const overdriven_guitar = note(`<
  ~@4 A@6 B@2 C A B@2 A@2 B@2 C A B@2 D B A E A C F A@2 B@2 A@2 B G A@2 B@2 C A B@2 D B A E A C F A@2 B@2 C A B@2 E@2
  D@2 E@2 D@2 B E D B D B A E A C F A@2 B@2 E@2 D@2 E@2 D@2 B E ~ H I@2 J@3 K L E D@2 E@2 D M
>`.pickRestart({
  A: "[g2,d3] ~ [g2,d3] ~ [g2,d3] ~ [g2,d3] ~ [g2,d3] ~ [g2,d3] ~ [g2,d3] ~ [g2,d3] ~", // G5
  B: "[a2,d3] ~ [a2,d3] ~ [a2,d3] ~ [a2,d3] ~ [a2,d3] ~ [a2,d3] ~ [a2,d3] ~ [a2,d3] ~", // D5
  C: "[g2,c3] ~ [g2,c3] ~ [g2,c3] ~ [g2,c3] ~ [g2,c3] ~ [g2,c3] ~ [g2,c3] ~ [g2,c3] ~", // C5
  D: "[b2,e3] ~ [b2,e3] ~ [b2,e3] ~ [b2,e3] ~ [b2,e3] ~ [b2,e3] ~ [b2,e3] ~ [b2,e3] ~", // E5
  E: "[a2,e3] ~ [a2,e3] ~ [a2,e3] ~ [a2,e3] ~ [a2,e3] ~ [a2,e3] ~ [a2,e3] ~ [a2,e3] ~", // A5
  F: "[g2,c#3] ~ [g2,c#3] ~ [g2,c#3] ~ [g2,c#3] ~ [g2,c#3] ~ [g2,c#3] ~ [g2,c#3] ~ [g2,c#3] ~", // Gdim
  G: "[a2,d3] ~ [a2,d3] ~ [a2,d3] ~ g3@2 g3@2 a3@2 a3@3 ~", H: "~@2 c#5 c#5@2 c#5!3",
  I: "[g#5@2 f#5@2 b4@2 g#4@4 a4@2 b4@2 e4@6 ~@2 e3!2 f#3@2 g#3@2 a3@2 b3@2]/2",
  J: "[a3@2 g#3@2 a3@2 b3@4 a3@2 f#4@2 e4@11 ~ f#4@2 a4@2 a4@4 f#4@2 a4@2 a4@10]/3", K: "~ f#4 e4 d#4@2 e4 f#4 a4",
  L: "[a2,e3] ~ [a2,e3] ~ [a2,e3] ~ [a2,e3] ~ [a2,e3] ~ [a2,e3] ~ [a2,e3] ~ [a2,e3] ~, c#5", // A5
  M: "[b2,e3] ~ [b2,e3] ~ [b2,e3] ~ [b2,e3] ~@9", // E5
})).s("gm_overdriven_guitar").gain(0.15)

// chords · brass section
const brass_section = note(`<
  ~@33 A B ~@2 C D ~@17 A B ~@4 E@2 F@2 E@2 F@2 ~@13 A B ~@2 G H ~@2 G H ~@2 I ~@9 G H ~@2 G J
>`.pickRestart({
  A: "~@4 [e4,g4] [d4,f#4] [f#4,a4] ~", B: "~ [e4,g4] [d4,f#4] [f#4,a4] ~ [f#4,a4] ~@2",
  C: "~@2 [e4,g4] [d4,f#4] [f#4,a4] ~@2 [e4,g4]", D: "[d4,f#4] [f#4,a4] ~ [g3,c4]!2 [a3,d4]!2 ~", E: "~@3 [a4,c#5]@5",
  F: "~@3 [g#4,b4]@5", G: "~@4 [f#4,a4] [e4,g#4] [g#4,b4] ~", H: "~ [f#4,a4] [e4,g#4] [g#4,b4] ~ [g#4,b4] ~@2",
  I: "[g#4,e5] ~ [g#4,e5] [g#4,e5]@2 ~@11", J: "~ [f#4,a4] [e4,g#4] [g#4,b4] ~@4",
})).s("gm_brass_section").gain(0.37).pan(0.7)

// other · orchestra hit
const orchestra_hit = note("<~@62 [a4 ~]!2 [e4 ~]!3 [a4 ~] [e4 ~]!2 ~@41>").s("gm_orchestra_hit").gain(0.45).pan(0.3)

// chords · pad sweep
const pad_sweep = note("<~@73 A@3 ~@35>".pickRestart({
  A: "[~@5 f#6@2 ~@7 f#6@2 ~@8 f#6@2 ~@3 f#6@2 d6@3 ~@14, ~ a6@20 f#5@6 a6@7 ~@14, ~@4 a5@7 f#5@5 d6@7 ~@3 d6@5 ~@17, ~@7 d6@6 a5@9 ~ a5@10 ~@15, ~@9 d5@10 ~ d5@19 ~@9]/3",
})).s("gm_pad_sweep").gain(0.06).pan(0.2)

// chords · pad sweep · soft notes
const pad_sweep_soft = note("<~@75 [~@3 f#6@2 a6@2 ~@9, ~ f#5@5 ~@10, ~ a5@2 ~@5] ~@35>")
  .s("gm_pad_sweep").gain(0.04).pan(0.2)

// chords · brass section
const brass_section_2 = note(`<
  ~@33 A B ~@2 C D ~@17 A B ~@4 E@2 F@2 E@2 F@2 ~@13 A B ~@2 G H ~@2 G H ~@2 I ~@9 G H ~@2 G J
>`.pickRestart({
  A: "~@4 [e5,g5] [d5,f#5] [f#5,a5] ~", B: "~ [e5,g5] [d5,f#5] [f#5,a5] ~ [f#5,a5] ~@2",
  C: "~@2 [e5,g5] [d5,f#5] [f#5,a5] ~@2 [e5,g5]", D: "[d5,f#5] [f#5,a5] ~ [g4,c5]!2 [a4,d5]!2 ~", E: "~@3 [a5,c#6]@5",
  F: "~@3 [g#5,b5]@5", G: "~@4 [f#5,a5] [e5,g#5] [g#5,b5] ~", H: "~ [f#5,a5] [e5,g#5] [g#5,b5] ~ [g#5,b5] ~@2",
  I: "[g#5,e6] ~ [g#5,e6] [g#5,e6]@2 ~@11", J: "~ [f#5,a5] [e5,g#5] [g#5,b5] ~@4",
})).s("gm_brass_section").gain(0.2).pan(0.2)

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

// drums · snare
const snare = s("sd").struct(`<
  ~@3 A B@26 C B@7 D B@3 E B@10 F B@3 G B@3 H B@7 F B@3 E B@6 F B@3 I B@7 F B@2 J B@6 K B@7 F
>`.pickRestart({
  A: "~@3 x", B: "~ x ~ x", C: "~@4 x ~@7 x ~ x!2", D: "~ x!3", E: "~@2 x ~@3 x!2", F: "~ x ~@2",
  G: "~@4 x ~@3 x ~@3 x ~ x!2", H: "~@4 x ~@3 x ~@2 x!3 ~@2", I: "~@4 x ~@3 x!2 ~@2 x ~@3", J: "x ~ x!2 ~@12",
  K: "~@2 x ~ x!4",
})).gain(0.45)

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

// drums · mid tom
const mid_tom = s("mt").struct(`<
  ~@3 A ~@3 A ~@15 A ~@6 A B@7 C ~@7 A ~@6 D B@3 ~ B@3 E B@7 F B@3 A ~@6 F B@3 G B@7 F ~@9 D B@7 H
>`.pickRestart({
  A: "~@5 x ~@2", B: "~@3 x", C: "~ x ~@6", D: "~@4 x!4", E: "~@14 x!2", F: "~@5 x!3", G: "~@11 x ~@4",
  H: "~ x ~ x ~@4",
})).gain(0.4)

// drums · mid tom · soft notes
const mid_tom_soft = s("mt").struct("<~@3 A ~@30 A ~@3 A ~@26 A ~@22 A ~@17 A ~@4>".pickRestart({
  A: "~@11 x ~@4",
})).gain(0.17)

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

// drums · high tom
// … 16 more lines

More by Anna Oxa