Strudelify

Ziplock

Lit

KeyF♯ majorTempo106 bpm
0:00/0:00
// Ziplock — Lit
// 106 bpm, 4/4, key F# major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: metre changes (4/4 at bar 1, 2/4 at bar 61, 4/4 at bar 62) are rendered on a constant 4/4 grid of one bar per cycle
// note: Full arrangement: all 94 bars on a 16-step grid, each part at one level. Source detail keeps the original performance.
// note: Guitar parts that double another keep only their own notes (fills, solos): Rythem 2.
setcpm(106/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.

// chords · distortion guitar · "Lead Guitar"
const distortion_guitar = note(`<
  ~@4 A B A B A B A B ~@8 C D E F@2 G H I J K L M N O A B A B ~@8 C D E F@2 G H I J K L M N O P Q@6 R@2 ~@6 S T@8 U@7
  V@2 ~
>`.pickRestart({
  A: "[c#3,f#3] ~ [c#3,f#3] ~ [c#3,f#3] ~ [c#3,f#3] ~ [g#3,c#4] ~ [g#3,c#4] ~ [g#3,c#4] ~ [g#3,c#4] ~, f#2@7 ~ c#3@7 ~", // F#5 C#5
  B: "[f#3,b3] ~ [f#3,b3] ~ [f#3,b3] ~ [f#3,b3] ~ [f#3,b3] ~ [f#3,b3] ~ [f#3,b3] ~ [f#3,b3] ~, b2@15 ~", // B5
  C: "[c#3,g#3,c#4]!4 g#3!2 [g#3,c#4]!2, ~@2 [c#3,c#4] c#3", D: "f#3!2 [f#3,b3]!6, b2@7 ~, b3 ~@3",
  E: "[f#2,c#3,f#3] [c#3,f#3]!7, ~ f#2@7", F: "[e2,b2,e3]@7 ~", G: "[e2,b2]@3 ~, e3@7 ~",
  H: "[c#3,f#3]@2 [c#3,f#3]!6, f#2", I: "[f#3,b3] f#3 [f#3,b3]!5 f#3, b2@7 ~",
  J: "c#3!2 [c#3,f#3]!2 c#3!2 [c#3,f#3]!2, f#2@7 ~, f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 [f#3,b3]!4 [f#3,b3]!3 f#3 [c#3,f#3]@2 [c#3,f#3]!2 [c#3,f#3]!4 [f#3,b3] f#3 [f#3,b3]!2 [f#3,b3]!3 f#3 c#3!2 [c#3,f#3]!2 c#3!2 [c#3,f#3]!2 [f#3,b3]!4 [f#3,b3]!3 f#3 [d#3,g#3]!4 [d#3,g#3]!4 [f#3,b3]!4, f#3@2 ~@2 b2@7 ~ f#2@8 b2@7 ~ f#2@7 ~ b2@7 ~ g#2@7 ~ b2@4, ~@14 f#3 ~ f#3 ~@11]/7", // F#5 B5 F#5 B5 F#5 B5 G#5 B5
  V: "[[f#3,b3]!4 [d#3,g#3]!4 [d#3,g#3]!4 ~@4, ~ g#2@2 ~]/2", // B5 G#5
})).s("gm_distortion_guitar").gain(0.5)

// other · overdriven guitar · "Rythem"
const overdriven_guitar = note("<~@5 A ~ A ~ A ~ A ~@23 A ~ A ~@23 B C B C B C B C ~@25>".pickRestart({
  A: "a#3 b3!4 a#3!4 b3!4 a#3@2 ~", B: "~@8 a#3 b3!4 a#3!3", C: "a#3 b3!4 a#3@2 ~@9",
})).s("gm_overdriven_guitar").gain(0.5)

// other · distortion guitar · "Rythem 2"
const distortion_guitar_2 = note("<~@8 A B@3 ~@18 C@4 A B@3 ~@18 D@4 ~@29 E@4 ~>".pickRestart({
  A: "f#4@2 ~ f#4 a#4 f#4@2 f#4", B: "a#4 f#4@2 f#4 a#4 f#4@2 f#4",
  C: "[~ f#4 a#4 f#4@2 f#4 a#4 f#4@2 f#4 a#4 f#4@2 f#4 a#4 f#4@2 f#4 a#4 f#4@2 f#4 a#4 f#4@2 f#4 a#4 f#4 a#4 ~@3]/4",
  D: "[~ f#4 a#4 f#4@2 f#4 a#4 f#4@2 f#4 a#4 f#4@2 f#4 a#4 f#4@2 f#4 a#4 f#4@2 f#4 a#4 f#4@2 ~@7]/4",
  E: "[~@5 f#4 a#4 f#4@2 f#4 a#4 f#4@2 f#4 a#4 f#4@2 f#4 a#4 f#4@2 f#4 a#4 f#4@2 f#4 ~@6]/4",
})).s("gm_distortion_guitar").gain(0.5)

// bass · electric bass finger · "Bass"
const bass = note(`<
  ~@4 A B A B A B A B C D E F E F E F G B H I J@2 K B H B L B L M A B A B C D E F E F E F G B H I J@2 K B H B L B L M N
  O P O P O P O Q@8 O P R S@3 T P T U T P T V W V X ~
>`.pickRestart({
  A: "f#2!4 c#3!4", B: "b2!8", C: "f#2@7 ~", D: "b2", E: "f#2", F: "b2@7 ~", G: "c#3!8", H: "f#2!8", I: "e2!7 ~",
  J: "e2@7 ~", K: "f#2@4 f#2!4", L: "g#2!8", M: "b2!5 ~@3", N: "~@4 f#2!4", O: "c#3!4 b2!4", P: "b2!4 f#2!4",
  Q: "[b2!4 f#2@7 ~ b2@8 f#2@8 b2@7 ~ f#2@8 b2@7 ~ f#2@8 c#3!4]/8", R: "f#2!4 e2!4",
  S: "[e2!3 ~ e2@7 ~ e2@7 ~ f#2@4]/3", T: "f#2!4 b2!4", U: "b2!4 f#2@4", V: "b2!4 g#2!4", W: "g#2!4 b2!4",
  X: "g#2!4 ~@4",
})).s("gm_electric_bass_finger").gain(0.5)

// chords · electric guitar clean · "Clean Guitar"
const electric_guitar_clean = note("<~@12 A B A C A C A D ~@18 A B A C A C A D ~@48>".pickRestart({
  A: "[f#2,c#3]@13 ~@3", B: "[b2,f#3]@7 ~", C: "[b2,f#3]@13 ~@3", D: "[b2,f#3]@3 ~",
})).s("gm_electric_guitar_clean").gain(0.5)

// chords · electric guitar muted · "Muted"
const electric_guitar_muted = note("<~@12 A B C B C B C ~@19 A B C B C B C ~@49>".pickRestart({
  A: "~@14 [f#2,c#3] c#3", B: "~@14 [b2,f#3]!2", C: "~@14 [f#2,c#3]!2",
})).s("gm_electric_guitar_muted").gain(0.22)

// other · percussive organ · "Organ Thingie"
const percussive_organ = note("<~@39 [~ f#5@2 c#5@5] ~ [~ f#5@2 c#5@5] ~ [~ f#5@2 c#5@5] ~@50>")
  .s("gm_percussive_organ").gain(0.2)

// other · distortion guitar · "Solo Guitar"
const distortion_guitar_3 = note("<~@60 A B C D E F G H I ~@25>".pickRestart({
  A: "~@8 f#4@3 ~ f#4 ~ f#4@2", B: "a#4 f#4@2 f#4 a#4 f#4@2 f#4", C: "a#4@2 f#4@5 ~ f#4@4 f#4 ~ f#4@2",
  D: "a#4@2 f#4@3 ~ f#4@2 a#4@2 f#4@3 ~ f#4@2", E: "a#4@2 f#4@6 f#4@3 ~ f#4 ~ f#4@2",
  F: "g#4 f#4@2 f#4 a#4 f#4 g#4 f#4", G: "f4@4 d#4 ~ c#4@2 f#4@2 c#4@2 f#4@2 ~@2",
  H: "a#4@2 f#4@3 ~ f#4 ~ f#4!4 f4 f4@3", I: "d#4!4 c#4!4 ~@8",
})).s("gm_distortion_guitar").gain(0.56)

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

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

// drums · hihat
const hihat = s("hh").struct("<~@12 A@8 B ~@17 A@8 B ~@21 C A@5 D E ~@18>".pickRestart({
  A: "x!8", B: "x", C: "~@4 x!4", D: "x!5 ~@3", E: "~ x",
})).gain(0.56)

// drums · low tom
const low_tom = s("lt").struct("<~@92 [~@7 x ~@8] ~>").gain(0.56)

// drums · mid tom
const mid_tom = s("mt").struct("<~@92 [~@3 x!4 ~@9] ~>").gain(0.56)

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

// drums · crash
const crash = s("cr").struct(`<
  ~@4 A ~ A ~ A ~ A ~ A ~@7 A ~@2 A@2 B A ~ A ~ A@3 ~ A ~ A ~ A ~@7 A ~@2 A@2 B A ~ A ~ A@3 ~ C ~ C ~ C ~ C ~ C ~@6 C
  ~@2 C@3 D ~ C ~ C ~ C ~ C@3 ~@2
>`.pickRestart({
  A: "x", B: "x ~@2 x", C: "~ x", D: "~ x!2 ~",
})).gain(0.56)

// drums · ride
const ride = s("rd").struct("<~@26 A@7 B ~@18 A@7 B C A@7 ~@13 C A@10 ~@2>".pickRestart({
  A: "x!8", B: "x!4 ~@4", C: "~@4 x!4",
})).gain(0.56)

// drums · cabasa
const cabasa = s("cabasa:4").struct("<A B C@2 D@8 ~@8 D@6 ~@8 D@4 ~@8 D@6 ~@23 E D@5 F ~@12>".pickRestart({
  A: "x ~ x!11 ~ x!2", B: "x!16", C: "x!5 ~ x!10", D: "x!8", E: "~@4 x!4", F: "x!4 ~@4",
})).gain(2.03)

stack(
  distortion_guitar, overdriven_guitar, distortion_guitar_2, bass, electric_guitar_clean, electric_guitar_muted,
  percussive_organ, distortion_guitar_3, kick, snare, hihat, low_tom, mid_tom, open_hat, crash, ride, cabasa
)

More by Lit