Strudelify

Everyday

Buddy Holly

KeyE majorTempo110 bpm
0:00/0:00
// Everyday — Buddy Holly
// 110 bpm, 4/4, key E major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: sustain pedal (CC 64) lengthens the held notes
// note: Full arrangement: all 80 bars on a 16-step grid, each part at one level. Source detail keeps the original performance.
setcpm(110/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 · acoustic bass · "Bass"
const bass = note("<[e2@3 e2@5]!4 ~@76>").s("gm_acoustic_bass").gain(0.35).pan(0.8)

// bass · electric bass finger · "Bass"
const bass_2 = note(`<
  ~@4 A B C B D B E F A B D B D B E G H I J@2 K L M N@2 A O D B D P E F D Q R B A S A T A U A V H W J@2 K L M N@2 X Y Z
  Y Z AA AB AC AB AC AD@2 AE@6 AF AG AH AI
>`.pickRestart({
  A: "e1@6 c#2@9 ~", B: "f#1@8 b1@7 ~", C: "g#1@7 ~ c#2@7 ~", D: "g#1@8 c#2@7 ~", E: "e1@6 e2@9 ~", F: "e2@6 e2@9 ~",
  G: "e2@7 ~ e2@6 ~@2", H: "a1@5 ~ a1 ~ e1@5 ~ e1 ~", I: "a1@5 ~ a1 ~ e1@5 ~@3",
  J: "[d2@5 ~ d2@7 ~ d2@7 ~ d2 ~ d2@5 ~ d2 ~]/2", K: "g1@5 ~ g1 ~ g1@4 g2@4", L: "g1@5 ~ g1 ~ d2@5 ~ d2 ~",
  M: "c2@5 ~ c2 ~ g1@5 ~ g1 ~", N: "[b1@5 ~ b1 ~ f#1@5 ~ b1@7 ~ b1 ~ e1@5 ~ e1 ~]/2", O: "f#1@7 ~ b1@7 ~",
  P: "f#1@6 b1@9 ~", Q: "f#1 c#2", R: "b1@7 ~ f#2@6 ~@2", S: "f#1@8 b0@7 ~", T: "f#1 b0", U: "f#1@7 ~ b0@7 ~",
  V: "f#1@7 ~ e1@7 ~", W: "a1@5 ~ a1 ~ a1@5 ~ a1@2", X: "e1@5 ~ c#2@7 ~ c#2 ~", Y: "f#1@5 ~ f#1 ~ b1@5 ~ b1 ~",
  Z: "g#1@5 ~ g#1 ~ c#2@5 ~ c#2 ~", AA: "f#1@5 ~ b1@7 ~ b1 ~", AB: "e1@5 ~ e2@7 ~ e2 ~", AC: "e2@5 ~ e2@7 ~ e2 ~",
  AD: "[e2@5 ~ e2 ~ e1@5 ~ c#2@7 ~ c#2 ~ f#1@5 ~ f#1 ~]/2", AE: "[b0@5 ~ b0 ~ e1@5 ~ c#2@7 ~ c#2 ~ f#1@5 ~ f#1 ~]/2",
  AF: "b0@5 ~ b0 ~ e1@5 ~ e1 ~", AG: "b1@5 ~ b1 ~ e2@4 ~@2 e2 ~", AH: "b1@7 ~ e2@2 ~@2 b1@4", AI: "e2 ~@7",
})).s("gm_electric_bass_finger").gain(0.35).pan(0.8)

// chords · epiano1 · "Piano"
const epiano1 = note(`<
  A B C B D E F G H I J@2 K L M N O@3 P Q@2 R@2 S T U V W X Y Z AA AB AC AD AE AF@3 AG AH AI X AJ AK AL AM AN AO@2 AP@3
  AQ AR@3 AS@2 AT AU@2 AV AW@3 AX AY AZ BA@3 BB BC@2 BD@4
>`.pickRestart({
  A: "[g#3,b3,e4]@3 ~@2 [a3,c#4,e4]@3", B: "[f#3,b3,d#4]@3 [a3,c#4,e4]@5", C: "[g#3,b3,e4]@3 [a3,c#4,e4]@5",
  D: "[g#3,e4]@3 ~@2 [b3,e4]@2 ~", E: "~ [a3,e4]@2 ~@2 [f#3,d#4]@3", F: "~ f#4@2 ~@2 e4@2 ~, b3@3 b3@4 ~",
  G: "~ [a3,e4]@2 ~@2 [a3,d#4]@3", H: "~ f#4@3 ~ [b3,e4]@3, b3 ~", I: "[a3,e4]@4 ~ [a3,e4]@3",
  J: "[~ [g#3,e4]@2 ~@2 c#4@2 ~@2 d#4@2 [e3,c#4]@5, ~@3 e3@4 f#3@4 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@24 [g#4,b4]@17 ~@3 b4@6 ~@14]/4", // A5 E G#m
})).s("gm_epiano1").gain(0.25).pan(0.4)

// chords · string ensemble 1 · "Strings"
const string_ensemble_1 = note(`<
  ~@20 A@2 B@2 C D E F@2 ~@20 G@2 B@2 C H E F@2 I J K J K L M N M N O@2 P@2 Q@4 R@4
>`.pickRestart({
  A: "[~@6 e6@25 ~, e5, ~ c#6@7]/2", B: "[[g5,e6]@3 [a5,f#6]@4 [g5,e6]@5 [a5,f#6]@4]/2", C: "[b5,g6]@2 [b5,g6] [g5,e6]",
  D: "g6 d6, b6", E: "[g5,e6]", F: "[f#5@4 b5@3 [e5,c#6]@9, d#6@7 ~@9]/2", G: "[e5@24 a5@7 ~, c#6@31 ~]/2",
  H: "[b5,g6]", I: "[g#5,e6]@3 [b5,e6]@5", J: "[a5,e6] [f#5,d#6]", K: "[b5,f#6] [b5,e6]", L: "[a5,e6]@3 [a5,e6]@5",
  M: "[g#5,e6]@3 [e5,c#6]@5", N: "[f#5,d#6]@3 [e5,c#6]@5", O: "[[e5,c#6]@4 [g#5,e6]@3 [b5,e6]@5 [a5,e6]@4]/2",
  P: "[[a5,f#6]@7 e6 [g#5,e6]@6 [b5,e6]@10 [a5,e6]@8]/2", Q: "[[a5,e6]@8 [g#5,e6]@6 [b5,g#6]@9 e6 [a5,e6]@8]/2",
  R: "[[a5,e6]@8 [g#5,e6]@16 [g#5,e6]@25 ~@15]/4", // A5 C#m
})).s("gm_string_ensemble_1").gain(0.1)

// chords · acoustic guitar nylon · "Guitar" · A
const acoustic_guitar_nylon = note(`<
  [~@2 b3@2 e4 ~@5 c#3@2 ~@2 e3@2, e3@5 ~ e3@6 [a3,c#4]@4]
  [~@2 f#3@2 b3 ~ e3@6 ~@2 e3 ~, e3@5 ~@7 a3@4]
  [~@2 b3@2 e4 ~@5 c#3@2 ~@2 e3@2, e3@5 ~ e3@6 [a3,c#4]@4]
  [~@2 f#3@2 b3@2 e3@6 ~@2 e3 ~, e3@3 ~@3 a3@2]
  ~@76
>`).s("gm_acoustic_guitar_nylon").gain(0.25).pan(0.7)

// chords · acoustic guitar steel · "Guitar"
const acoustic_guitar_steel = note(`<
  ~@4 A@4 B C D E F G H I J@2 K@2 L@4 M@2 N O@2 P Q R G S T U V B W X Y Z AA AB@2 AC AD AE AF AG@8 AH@2 AI AJ AK B AL@3
  AM@4 AN@4 AO@2 AP@4
>`.pickRestart({
  A: "[[e2,e3,b3]@6 [c#3,e3,b3]@8 [f#2,e3,a3]@8 f#3 ~@5 d#4@2 b3@6 d#4@4 [c#3,e3,b3]@6 [f#2,e3,a3]@8 f#3 ~ a3@4 b3@4, ~@12 [b2,d#3,f#3,b3]@3 [g#2,f#3,g#3]@5 ~@8 [b2,d#3,f#3]@4]/4", // E5 C#m7 F#m7 C#m7 F#m7 B G#7 B
  B: "[g#2,f#3,b3]@6 g#3 ~ [c#3,e3,b3]@6 g#3 ~", C: "[f#2,e3,a3]@6 f#3 ~ [b2,e3,a3]@6 f#3 ~",
  D: "~@4 e4@2 [c#3,e3,a3]@9 ~, [e2,e3,g#3,b3]@3 ~@5", E: "~@4 d#4@2 [c#3,e3,a3]@9 ~, [d#3,e3,f#3,b3]@3 ~@5",
  F: "~@4 e4@2 [c#3,e3,b3]@8 g#3 ~, [e2,e3,g#3,b3]@3 ~@5", G: "[f#2,e3,a3]@6 f#3 ~ [b2,d#3,b3]@6 f#3 ~",
  H: "[g#2,f#3,b3]@3 b3@2 ~ g#3@2, ~@3 c#4@5, ~@5 e3@3", I: "[f#2,e3,a3]@3 a3@2 ~ f#3@2, ~@3 b3@5, ~@5 d#3@3",
  J: "[b3@2 ~@2 g#3@2 [c#3,e3,b3]@8 a3@6 c#4@4 [b2,e3,a3]@6 f#3 ~, d#4@3 ~@13, ~ f#3@2 ~@4 [f#2,e3,f#3]@5 ~@4]/2", // C#m7 Esus4 F#7
  K: "[[e2,e3,b3]@3 [c#3,e3,a3]@4 ~@4 b3@5, ~@7 e3@9, ~@9 d#3@7, ~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O M N M P ~@3
>`.pickRestart({
  A: "[e4,e5] [d#4,d#5] [b3,b4] [a3,a4]@3 ~@2", B: "[~@5 b4 c#5 e5@2 e5 c#5 e5@2 c#5 ~@2]/2", C: "~@6 g#4 b4",
  D: "b4 g#4", E: "e4@6 ~ b3", F: "b4 a4", G: "g#4 f#4", H: "e4 ~@3", I: "a4@4 a4!2 a4@2", J: "g#4 ~@3", K: "a4 b4",
  L: "[e4,e5] [d#4,d#5] [b3,b4] [a3,a4]@5", M: "~ a4", N: "a4!2 a4@2 g#4@2 ~@2", O: "a4!2 a4@2 e4@2 ~@2",
  P: "a4!2 a4@2 e4@4",
})).s("gm_synth_brass_2").gain(0.35).pan(0.4)

// drums · kick
const kick = s("bd").struct(`<
  A@3 B@2 C B C B C B@3 C B C B C B D C E C E C E C E F B C B C B C B G B C B C B C B C B C B G C E C E C E C E C E C E
  C E C E C E C@3 H C H C H C H I J K
>`.pickRestart({
  A: "x!2", B: "x ~@2 x!2 ~@3", C: "x ~@2 x!2 ~@2 x", D: "~@5 x ~ x", E: "x ~@2 x!3 ~ x", F: "x ~@2 x ~@4",
  G: "~@4 x!2 ~@2", H: "x!2 ~ x!2 ~@2 x", I: "~@4 x ~@2 x", J: "x!2 ~ x ~ x!2 ~", K: "x",
})).gain(0.46).pan(0.3)

// drums · rim
const rim = s("rim").struct("<[~@2 x ~@2 x ~@2] [~ x ~ x]!2 ~@77>").gain(0.26).pan(0.3)

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

// drums · low tom
const low_tom = s("lt").struct("<~@19 A ~@8 B ~@24 C ~@9 C ~@13 D ~@2>".pickRestart({
  A: "~ x!4 ~ x ~", B: "~@13 x!2 ~", C: "~@5 x ~@2", D: "~@5 x!2 ~@9",
})).gain(0.52).pan(0.3)

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

// drums · mid tom
const mid_tom = s("mt").struct("<~@28 [~@11 x!2 ~@3] ~@48 [~@3 x!2 ~@11] ~@2>").gain(0.59).pan(0.3)

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

// drums · high tom
const high_tom = s("ht").struct("<~@28 [~ x] ~@48 x ~@2>").gain(0.59).pan(0.3)

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

// drums · ride
const ride = s("rd").struct(`<
  ~@3 A@2 ~@5 A@3 ~@5 A ~@3 B ~@4 C ~ A ~@4 A@3 ~@4 A ~ A ~ A ~ A ~@3 B ~@4 C ~ A ~@4 A@5 C ~ C ~ C ~ C ~@5
>`.pickRestart({
  A: "~@3 x ~@4", B: "~@3 x ~@3 x", C: "~@7 x",
})).gain(0.59).pan(0.3)

// drums · tambourine
const tambourine = s("tb").struct(`<
  ~@5 A ~ A ~ A ~@3 A ~ A ~ A ~@12 A ~ A ~ A ~@3 A ~ A ~ A ~ A ~ A ~@33
>`.pickRestart({
  A: "~@3 x",
})).gain(0.59).pan(0.3)

// drums · cabasa
const cabasa = s("cabasa:4").struct("<~@20 A@8 ~@2 A@6 ~@13 A@8 ~@2 A@6 ~@15>".pickRestart({
  A: "x!8",
})).gain(2.33).pan(0.3)

stack(
  bass, bass_2, epiano1, string_ensemble_1, acoustic_guitar_nylon, acoustic_guitar_steel, synth_brass_2, kick, rim,
// … 2 more lines

More by Buddy Holly