Strudelify

Dica

Fabi

KeyE majorTempo115 bpm
0:00/0:00
// Dica — Fabi
// 115.3 bpm, 4/4, key E major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: pitch bends are ignored
// note: sustain pedal (CC 64) lengthens the held notes
// note: Full arrangement: all 115 bars on a 24-step grid, each part at one level. Source detail keeps the original performance.
setcpm(115.3/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(`<
  ~@8 A B A C A B A C D E D E D E F G H B H I H B H I H B H I H B J K D E D E D E F G J B J I J B J I J B J I J B J L
  ~@3 M N D E D E D E F O ~@8 J B J I J B J I J B J I J B J I J B J I J B J I J B P@4
>`.pickRestart({
  A: "a1@3 ~ a1@2 a2@3 ~@3 b1@3 ~ b1@2 b1@4 b1@2", B: "e1@3 ~ e2@2 e1@3 ~ f#1@6 f#2@2 f#1@3 ~ f#2@2",
  C: "e1@3 ~ e2@2 e1@3 ~ f#2@2 f#1@4 f#2@2 f#1@3 ~ e2@2", D: "f#1@3 ~ f#1 ~@5 f#1@2 f#1@3 ~ f#1 ~@3 f#1 ~ a1@2",
  E: "b1@3 ~ b1@2 ~@4 a1 ~ a1@3 ~ b1@2 ~@4 a1@2", F: "f#1@3 ~@3 f#1@4 ~@2 f#1@3 ~ f#1 ~@3 f#1 ~ a1@2",
  G: "b1@3 ~ b1@3 ~ b1@2 ~@2 b1@3 ~ e2@4 f#2@4", H: "a1@4 ~@2 a1@4 ~@2 b1@3 ~ b1@2 b1@4 b1@2",
  I: "e1@3 ~ e2@2 e1@3 ~ f#1@6 f#2@2 f#1@3 ~ e2@2", J: "a1@4 ~@2 a1@4 ~@2 b1@3 ~@3 b1@4 ~@2", K: "e1",
  L: "e1@3 ~ e2@2 e1@3 ~ f#1@7 ~ f#1@5 ~", M: "d1@10 a1 a#1", N: "b1@17 ~ b1@2 a1@2 g#1@2",
  O: "b1@3 ~ b1@3 ~ b1@2 ~@2 b1@3 ~ a1@4 g#1@4", P: "[a1@4 ~@2 a1@4 ~@2 b1@3 ~@3 b1@4 d1@74]/4",
})).s("gm_electric_bass_finger").gain(0.64)

// other · electric guitar jazz
const electric_guitar_jazz = note(`<
  A@2 B C A@6 B C A@4 D E D F D G ~ H A@2 B C A@6 B C A@4 D E D F D G ~ H A@2 B C A@6 B C A@4 ~@21 A@2 B C A@6 B C A@6 B
  C A@6 I@4
>`.pickRestart({
  A: "[~@4 c#4@2 e4@2 c#4@2 e4 ~@5 c#4@2 e4@2 c#4@2 e4@26]/2",
  B: "~@4 c#4@2 e4@2 c#4@2 e4@2 ~@4 c#4@2 ~ c#4@2 ~ f#4@2, ~@9 e4 ~@2", C: "~@2 c#4 ~@2 b3@7",
  D: "~@6 [c#4,f#4]@3 ~ f#4@2 ~@6 [c#4,f#4]@3 ~ f#4 ~", E: "~@6 a4@4 a4 ~@7 a4@2 e4@2 e4@2",
  F: "~@6 [e4,a4]@4 [e4,a4] ~@7 [e4,a4]@2 e4@2 a4@2", G: "~@6 a4@4 e4 ~@7 [e4,a4]@2 b4@2 a4@2",
  H: "[f#4,c#5]@4 [f#4,c#5]@5 ~ [f#4,c#5]@2 [e4,b4]@2 ~@10", // F#5 E5
  I: "[~@4 c#4@2 e4@2 c#4@2 e4 ~@5 c#4@2 e4@2 c#4@2 e4@74]/4",
})).s("gm_electric_guitar_jazz").gain(0.4).pan(0.3)

// other · lead 1 square
const lead_1_square = note("<~@4 A ~ B C D E F G D E F ~@17 A ~ B ~ A ~ B ~@25 H I J ~@48>".pickRestart({
  A: "~@2 b5 ~@3 b5 ~@3 b5 ~@3 b5 ~@3 b5@2 ~@2 b5 ~", B: "~@2 c#6 ~@3 c#6 ~@3 c#6 ~@3 b5 ~@3 b5@2 ~@2 b5 ~",
  C: "~@20 c#5 ~ e5 ~", D: "b5 ~ b5 ~ b5 ~ b5 ~ g#5 ~ g#5 ~",
  E: "g#5@2 ~@2 f#5@2 ~@2 f#5@2 ~@2 f#5@2 ~@2 e5@2 ~@4 e5 ~", F: "c#6 ~ c#6 ~ c#6 ~ b5 ~ b5 ~ b5 ~",
  G: "g#5@2 ~@2 g#5@2 ~@2 g#5@2 ~@2 g#5@2 ~@6 c#5 ~ e5 ~", H: "~@2 b5 ~@3 b5 ~@3 b5 ~@3 b5 ~@3 b5@2 ~@2 g#5 ~",
  I: "~@2 g#5 ~@3 g#5 ~@3 g#5 ~@3 g#5@2 ~@8", J: "e5 ~ c#6 ~@3 c#6 ~@3 c#6 ~@3 b5 ~@3 b5 ~@3 b5 ~",
})).s("gm_lead_1_square").gain(0.19)

// chords · epiano2
const epiano2 = note(`<
  ~@8 A B A B A B A B C D C D E D F G A B A B A B A B A B A B A B H ~ C D C D E D F G A B A B A B H ~ A B A B A B H ~@6
  C D C D E D F I ~@8 A B A B A B A B A B A B A B A B A B A B A B A B A B J@4
>`.pickRestart({
  A: "~@6 [b3,c#4,e4,g#4]@3 ~@9 [a3,b3,c#4,e4]@3 ~ [b3,e4,g#4]@2", B: "~@6 [b3,f#4,g#4]@3 ~ c#4 ~@7 [a3,b3,e4]@3 ~@3",
  C: "[b3,c#4,e4] ~ [b3,c#4,e4] ~ [b3,c#4,e4] ~ [b3,c#4,e4] ~", // C#m7
  D: "[a3,b3,d4,f#4] ~ [a3,b3,d4,f#4] ~ [a3,b3,d4,f#4] ~ [a3,b3,d4,f#4] ~", // Bm7
  E: "[b3,c#4,e4]@2 [b3,c#4,e4]@2 ~@2 [b3,c#4,e4]@3 ~@3 [b3,c#4,e4]@2 [b3,c#4,e4]@2 ~@2 [b3,c#4,e4]@3 ~@3", // C#m7
  F: "[b3,e4,g#4]@3 ~ [b3,e4,g#4]@2 ~@2 [b3,e4,g#4]@2 ~@2 [b3,e4,g#4]@3 ~ [b3,e4,f#4]@3 ~ [b3,e4,g#4]@2 ~@2", // E Bsus4 E
  G: "[b3,c#4,d#4,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]!12",
  F: "~@2 e4 a4@2 c#5 ~@5 b4, a2@11 ~ b2@12, ~ e3@2 ~ f#3@2, ~@2 a3@2 b4@3 ~, ~@3 b3",
  G: "f#4@2 ~ f#4@2 b4 f#4@2 ~@3 c#5, e3@5 ~ f#2@6, ~@4 e4@9 ~@5 a4@6, ~@2 b3@3 ~@3 [c#3,e4]@4", // C#m
  H: "~@11 b4, a2@5 c#5@2 ~@5, ~@2 e4@5 ~@2 [b3,f#4]@3, ~ e3@2 b2@3, ~@6 [a3,a4]@7 ~@3 [f#3,d#4]@8", // B5 A D#m
  I: "[f#4@2 ~ f#4@2 ~@10 a4@2 ~@4 b3@2 ~@9 g#4 ~@5 a3 [a3,d4]@2 [a3,d4,e4] [a3,d4]@3 [a3,d4,f#4]@3, e3@10 ~@2 f#2@12 a2@10 c#5@6 ~@2 f#4@7 ~@5 f#4@6 f#2@10 c#5@14 ~@12, ~@4 e4@11 ~ [c#3,e4]@8 ~@4 e3@7 ~ b2@10 b4@7 ~@5 b4@14 [a2,d3]@24, ~@4 b3@6 a4@6 ~@2 a4@6 ~@4 e4@9 ~@3 d#4@9 ~@3 [b3,g#4]@10 ~@2 b3@9 ~@23, ~@22 c#5@8 a3@6 ~@4 f#3@7 ~ e3@14 ~@4 f#4@12 f#4@6 e4@12]/4", // D5 Asus4 D5 D C#m D5 E
  J: "[f#2,b2,c#4,e4,a4] ~@11", // F#m7
  K: "[a2@3 ~@3 [g#3,c#4,e4,g#4]@3 ~ [e3,c#4,e4,g#4]@2 b2@3 ~ b2@2 [b2,f#3,b3,d#4,f#4]@4 [d3,a3,d4,f#4]@50, ~ a2@2 ~@15]/3", // C#m B D
})).s("gm_acoustic_guitar_steel").gain(0.14).pan(0.9)

// chords · acoustic guitar steel
const acoustic_guitar_steel_2 = note(`<
  A B C B C B D E F G F G F G F G ~@8 H G H G H G H G H G H G H G I J ~@8 F G F G F G F G F G F G F G F K C B L M N ~@8
  O P Q@5 R H G H G H G H G H G H G H G H G H G H G H G H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acoustic guitar steel
const acoustic_guitar_steel_3 = note("<~@68 A B@3 C@2 D@2 E@2 ~@6 F@2 ~@3 G@2 ~@7 H I ~@5 J K ~@8>".pickRestart({
  A: "~@12 e4@3 ~ e4@3 ~ e4@2 ~@2", B: "[f#4@2 ~@2 f#4@28 ~@4 b4@26 ~ a4@4 ~ a4@4]/3",
  C: "[~ d4@8 ~ b3@19 ~@11 a3@3 ~ b3@3 ~]/2", D: "[d4@4 ~ a3@5 e3@19 ~@19]/2",
  E: "[f#4@5 ~ f#4@5 ~ f#4@5 ~ f#4@13 ~@17]/2", F: "[~@12 d#4@29 ~@7]/2",
  G: "[~@4 e5 ~ e5 ~ e5@4 e5@4 b4@4 ~@2 b4@13 ~@13]/2", H: "~@4 e5@4 e5@3 ~ e5@3 ~ b4@3 ~ b4@3 ~", I: "b4@17 ~@7",
  J: "~@4 e5@3 ~ e5@3 ~ e5@4 b4@3 ~ b4@2 ~@2", K: "b4@2 ~",
})).s("gm_acoustic_guitar_steel").gain(0.64)

// drums · kick
const kick = s("bd").struct("<~@8 [x!4]!56 ~@5 [x!4]!8 ~@8 [x!4]!26 [x ~@2 x ~@2 x ~@2 x ~ x] ~@3>").gain(0.8)

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

// drums · low tom
const low_tom = s("lt").struct("<~@7 [~@5 x ~ x!2 ~@3] ~@60 [~@3 x!9] ~@14 [~@10 x!2] ~@31>").gain(0.48)

// drums · hihat
const hihat = s("hh").struct("<~@7 [~@2 x!2] [x!4]!56 ~@5 [x!4]!8 ~@8 [x!4]!27 ~@3>").gain(0.4)

// drums · mid tom
const mid_tom = s("mt").struct("<~@7 [~ x ~@2] ~@60 [~@3 x!9] ~@46>").gain(0.4)

// drums · open hat
const open_hat = s("oh").struct(`<
  ~@8
  [~@2 x ~@2 x ~@2 x ~@2 x]!56
  ~@5
  [~@2 x ~@2 x ~@2 x ~@2 x]!8
  ~@8
  [~@2 x ~@2 x ~@2 x ~@2 x]!27
  ~@3
>`).gain(0.4)

// drums · high tom
const high_tom = s("ht").struct("<~@7 [~ x ~@10] ~@75 [~@2 x] ~@31>").gain(0.64)

// drums · crash
const crash = s("cr").struct("<~@8 A ~@7 A ~@6 B A ~@15 A ~@23 A ~@4 A ~@15 A ~@7 A ~@7 A ~@9 B ~@3>".pickRestart({
  A: "x", B: "~@11 x",
})).gain(0.48)

// drums · tambourine
const tambourine = s("tb").struct("<A@7 ~ A@8 ~@8 A@8 ~@32 A@4 ~@17 A@27 ~@3>".pickRestart({
  A: "~ x ~ x",
})).gain(0.56)

stack(
  bass, electric_guitar_jazz, lead_1_square, epiano2, acoustic_guitar_steel, acoustic_guitar_steel_2,
  acoustic_guitar_steel_3, kick, snare, low_tom, hihat, mid_tom, open_hat, high_tom, crash, tambourine
)

More by Fabi