Strudelify

Hold Tight

Dee

KeyB majorTempo125 bpm
0:00/0:00
// Hold Tight — Dee
// 125 bpm, 4/4, key B major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: pitch bends are ignored
// note: Full arrangement: all 86 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(125/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 C B D E F G H I J K L M N O P@2 Q R Q D E F G H I J K L M N O P@2 Q@3 S T S U S T V ~@3 A B C B D E F G H I J
  K L M N O W@2 X@2 Y Z ~@3 AA AB AC AB@2 AC AB AC AD
>`.pickRestart({
  A: "e2@3 ~ e2@3 ~ e2 ~ e2 ~ e2@4", B: "e2 ~ e2 ~ e2 ~ e2 ~ e2 ~ e2@2 e2@2 e2@2",
  C: "e2 ~ e2@2 e2 ~ e2@2 e2 ~ e2@2 e2 ~ e2@2", D: "e2@3 ~ e2@3 ~ e2 ~ b1 ~ c#2@2 d#2@2",
  E: "e2@3 ~ e2@3 ~ e2 ~ b1@2 e2@2 g#2@2", F: "a2@3 ~ a2@3 ~ e2 ~ e2 ~ f#2@2 g#2@2",
  G: "a2@3 ~ a2@3 ~ e2 ~ e2@2 a2@2 a#2@2", H: "b2@3 ~ b2@3 ~ f#2 ~ f#2 ~ g#2@2 a2@2",
  I: "b2@3 ~ b2@2 f#2@3 ~ f#2@2 b2@2 a2@2", J: "e2@3 ~ e2@3 ~ b1 ~ b1 ~ e2@2 g#2@2",
  K: "a2@3 ~ a2@3 ~ e2 ~ e2@2 a2@2 g#2@2", L: "f#2 ~ f#2 ~ f#2 ~ f#2 ~ f#2 ~ c#3@2 f#2@2 a#2@2",
  M: "b2 ~ b2@2 b2 ~ b2@2 f#2 ~ f#2@2 b2@4", N: "e2 ~ e2@2 e2 ~ b1@2 e2 ~ b1@2 e2@2 g#2@2",
  O: "a2 ~ a2@2 a2 ~ e2@2 e2 ~ e2 ~ e2@2 e2@2", P: "f#2 ~ f#2@2 f#2 ~ f#2@2 b1 ~ b1 ~ e2@2 e2@2",
  Q: "b1 ~ b1@2 b1 ~ b1@2 b1 ~ b1 ~ b1@2 b1@2", R: "d#2 ~ d#2@2 d#2 ~ d#2@2 b2 ~ b2 ~ b2@2 b2@2",
  S: "b1@3 ~ b1 ~ b1 ~ e2@3 ~ e2@2 e2@2", T: "b1@3 ~ b1 ~ b1@2 e2@3 ~ e2@2 e2@2",
  U: "b1@3 ~ b1 ~ b1 ~ e2 ~ e2@2 e2@2 e2@2", V: "b1 ~ b1@2 ~@12", W: "f#2 ~ f#2@2 f#2 ~ f#2@2 b2 ~ b2 ~ e2@2 e2@2",
  X: "b2 ~ b2@2 b2 ~ b2@2 b2 ~ b2 ~ b2@2 b2@2", Y: "b2 ~ b2@2 b2 ~ b2@2 b1 ~ b1 ~ b1@2 b1@2", Z: "e2 ~@7",
  AA: "b1@3 ~ b1@3 ~ b1 ~ b1 ~ b1@4", AB: "b1 ~ b1 ~ b1 ~ b1 ~ b1 ~ b1@2 b1@2 b1@2",
  AC: "b1 ~ b1@2 b1 ~ b1@2 b1 ~ b1@2 b1 ~ b1@2", AD: "e2@3 ~@13",
})).s("gm_electric_bass_finger").gain(0.61)

// chords · distortion guitar
const distortion_guitar = note(`<
  ~@2 A B A C A C A B D E F G A E H G A E F I J G@2 A B D E F G A E H G A E F I J G@2 K L K L K L M ~ A B A C A C A B D
  E F G A E H G A E F I J G@2 N ~ O P Q R Q R S R T S U
>`.pickRestart({
  A: "[b2,e3]@2 [b2,e3]@2 b2!2 e3!2, e2!2, ~@2 e3 b2", // E5
  B: "[b2,e3]@2 [b2,e3]@2 b2 ~ e3 [b2,e3], e2!2, ~@2 e3 ~, ~@5 b2@2 ~", // E5
  C: "b2!5 ~ e3 [b2,e3], e2!2, e3!3 ~, ~@5 b2@2 ~", D: "[a2,e3]@2 [a2,e3]@2 a2!2 e3!2, ~@2 e3 a2",
  E: "a2!5 ~ e3 [a2,e3], e3!3 ~, ~@5 a2@2 ~", F: "[b2,f#3]@2 [b2,f#3]@2 b2!2 f#3!2, ~@2 f#3 b2",
  G: "b2!5 ~ f#3 [b2,f#3], f#3!3 ~, ~@5 b2@2 ~", H: "c#3!6 f#3!2, f#3!3 c#3",
  I: "[b2,f#3]@2 [b2,f#3]@2 b2 ~ f#3 [b2,f#3], ~@2 f#3 ~, ~@5 b2@2 ~", J: "b2!2 f#3!2 b2!2 f#3!2, f#3 b2 f#3 b2",
  K: "b2 ~ f#3 [b2,f#3] b2!2 e3!2, f#3 ~ e3 b2, ~ b2@2 ~ e2@4", // B5
  L: "b2!2 f#3!2 b2 ~ e3 [b2,e3], f#3 b2 e2@2, ~@2 e3 ~, ~@5 b2@2 ~", M: "b2!2 ~@6, f#3 ~@3", N: "[b2,e3] ~@7",
  O: "b2!4", P: "b2@2 b2@2 b2!4", Q: "[f#2,b2]@2 [f#2,b2]@2 f#2!2 b2!2, ~@2 b2 f#2",
  R: "f#2!5 ~ b2 [f#2,b2], b2!3 ~, ~@5 f#2@2 ~", S: "f#2!2 [f#2,b2] f#2!2 ~ b2 [f#2,b2], b2@2 ~ b2@3 ~@2, ~@5 f#2@2 ~",
  T: "f#2!4 [f#2,b2] [f#2,b2]@2 [f#2,b2], b2!2 ~@2", U: "[b2,e3] ~@3",
})).s("gm_distortion_guitar").gain(0.49).pan(0.3)

// chords · rock organ
const rock_organ = note(`<
  ~@4 A@4 B@2 C@2 D@2 E F G H E F I@2 J@3 B@2 C@2 D@2 E F G H E F I@2 J@3 K L@2 K@3 M ~@3 A@4 B@2 C@2 D@2 E F G H E F
  I@2 J@3 ~@4 N@8 O
>`.pickRestart({
  A: "[~ b5, [e5,g#5]]/4", B: "[[e5,g#5,b5]@31 ~]/2", C: "[[c#5,e5,a5]@31 ~]/2", D: "[d#5,f#5,b5]/2",
  E: "[e5,g#5,b5]@15 ~", F: "[c#5,e5,a5]@15 ~", G: "[c#5,f#5,a5]@15 ~", H: "[d#5,f#5,b5]", I: "[[d#5,f#5,b5]@31 ~]/2",
  J: "[b5@30 g5 [a5,b5,c#6] [d6,e6,f#6] [b5,f#6,b6]@15, [d#5,f#5], ~@33 [g6,a6] ~@14]/3", K: "[d#5,f#5,b5] [e5,g#5,b5]",
  L: "[d#5,f#5,b5]@7 ~ [e5,g#5,b5]@8", M: "[d#5,f#5,b5] ~@7", N: "[f#4,b4,d#5]/4", O: "[g#4,b4,e5]@3 ~@13",
})).s("gm_rock_organ").gain(0.24).pan(0.8)

// other · overdriven guitar
const overdriven_guitar = note("<~@41 A B C D E B F G ~@37>".pickRestart({
  A: "~@7 a4", B: "b4@6 b4@2 a4@5 ~ a4@2", C: "d#4@5 ~ d#4@2 e4@3 f#4@3 e4@2", D: "b3@5 ~ b3@2 a3@5 ~ a3@2",
  E: "d#3@5 ~ d#3@2 e3@2 f#3@2 e3@2 d#3@2", F: "d#4@5 ~ d#4@2 e4@2 f#4@2 e4@4", G: "b2 ~@3",
})).s("gm_overdriven_guitar").gain(0.59).pan(0.7)

// drums · kick
const kick = s("bd").struct("<[x!4]!85 x>").gain(0.66)

// drums · snare
const snare = s("sd").struct("<A@23 B C A@15 B C A@29 B C A@11 D ~>".pickRestart({
  A: "x!4", B: "x!8", C: "x!8 ~@8", D: "x!4 ~@12",
})).gain(0.59)

// drums · low tom
const low_tom = s("lt").struct("<~@84 [~@12 x!4] ~>").gain(0.59)

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

// drums · hihat · soft notes
const hihat_soft = s("hh").struct("<[~@2 x!2]!23 ~@2 [~@2 x!2]!15 ~@8 [~@3 x]!8 [~@2 x!2]!15 ~@15>").gain(0.22)

// drums · mid tom
const mid_tom = s("mt").struct("<~@24 A ~@16 A ~@30 A ~@11 B ~>".pickRestart({
  A: "~@8 x!8", B: "~@8 x!4 ~@4",
})).gain(0.52)

// drums · open hat
const open_hat = s("oh").struct("<~@23 A B ~@15 C B D C@5 B ~@22 C B E F G@3 H I C@4 J B>".pickRestart({
  A: "x!2 ~ x!5", B: "x", C: "x!8", D: "~ x!7", E: "~ x!2 ~ x ~ x!2", F: "x!3 ~ x ~ x ~", G: "x!3 ~ x ~ x!2",
  H: "x!5 ~ x!2", I: "x!3 ~ x!4", J: "x!5 ~@3",
})).gain(0.37)

// drums · open hat · soft notes
const open_hat_soft = s("oh").struct("<~@23 A ~@49 B C B@3 D E ~@6>".pickRestart({
  A: "~ x ~@2", B: "~@3 x ~ x ~@2", C: "~@3 x ~ x ~ x", D: "~@5 x ~@2", E: "~@3 x ~@4",
})).gain(0.22)

// drums · high tom
const high_tom = s("ht").struct("<~@84 [~@4 x!4 ~@8] ~>").gain(0.59)

// drums · crash
const crash = s("cr").struct("<~@25 A ~@16 A ~@13 A ~@16 A ~@11 A>".pickRestart({
  A: "x",
})).gain(0.37)

// drums · tambourine
const tambourine = s("tb").struct("<~@6 A@31 B C@4 A@6 D ~@5 C@19 D ~@5 C@6 D>".pickRestart({
  A: "x!4", B: "x ~ x!6", C: "x!8", D: "x",
})).gain(0.52)

// drums · tambourine · soft notes
const tambourine_soft = s("tb").struct("<~@6 [~ x ~ x ~ x ~ x]!31 [~ x ~@6] ~@4 [~ x ~ x ~ x ~ x]!6 ~@38>").gain(0.3)

stack(
  bass, distortion_guitar, rock_organ, overdriven_guitar, kick, snare, low_tom, hihat, hihat_soft, mid_tom, open_hat,
  open_hat_soft, high_tom, crash, tambourine, tambourine_soft
)

More by Dee