Strudelify

Push

Moist

KeyB minorTempo104 bpm
0:00/0:00
// Push — Moist
// 104 bpm, 4/4, key B minor. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: sustain pedal (CC 64) lengthens the held notes
// note: Full arrangement: all 96 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(104/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 · "bass"
const bass = note(`<
  ~@5 A B A B A B A B A B A C D E F G E H D A B A B A B A B A B A C D E F G E H D I J I J I J I J I J I J K L K M N O P
  Q D E F G E H D R S T S T U V U V U V U V U V U V U V U V W@4 ~
>`.pickRestart({
  A: "b1@3 ~ b1@2 ~ b1@2 f#2 b1@2 e2@2 a1@2", B: "g1@3 ~ g1@2 ~ g1 ~ g1 g1@2 a1@2 d2@2", C: "g1@3 ~ g1@2 ~ g1@4 ~ g1@4",
  D: "f#1!8", E: "a1!8", F: "e1!8", G: "g1!8", H: "e1@2 e1@2 e1 ~ e1@2 e1 ~ e1@2 e1 ~ e1@2",
  I: "b1@4 b1 ~ b1@2 d2@2 d2@2 f#2@2 a1@2", J: "g1@2 g1!2 e1!4", K: "b1 ~ b1@6 d2 ~ d2@6", L: "g2 ~ g2@6 e2 ~ e2@6",
  M: "a1 ~ a1@4 g1@10", N: "b1@4 b2@2 b1@2 d2 ~ d2!2 f#2@2 a1@2", O: "g1@3 ~ g1@4 e1 ~ e1 ~ e1 ~ e1@2",
  P: "b1@4 b2@2 b1@2 d2 ~ d2@2 f#2@2 a1@2", Q: "g1@2 g1@2 e1!4",
  R: "f#1 f#1@2 f#1 f#1@2 f#1 f#1@2 f#1 f#1@2 f#1@2 f#1@2", S: "b1!4 d2@2 f#2 d2", T: "g1!4 e1!4",
  U: "b1!2 b2 b1 d2!2 f#2 d2", V: "g1!2 g2 g1 e1!2 e2 e1", W: "[b1@31 ~]/4",
})).s("gm_electric_bass_finger").gain(0.2)

// chords · church organ · "pipes"
const church_organ = note(`<
  ~@5 A@4 B@4 C@4 D E F G E F H A@4 B@4 C@4 D E F G E F H I@12 J@4 K@2 L@2 D E F G E F H@2 I@20 M@4 ~
>`.pickRestart({
  A: "[~@6 a4@2 g4@5 g4 ~@8 a4@2 g4@5 g4 f#4 d4, [b3,d4]@26 f#4 ~ f#4@16 ~@20, ~@15 d4@14 ~@3, ~@16 b3@13 ~@3]/4", // Bm
  B: "[~@6 e4@2 g4@5 g4 ~@8 e4@2 g4@5 g4 ~ d4, [b3,d4]@13 ~ f#4@8 ~@8 f#4@2, ~@15 d4@14 ~@3, ~@16 b3@13 ~@3]/4", // Bm
  C: "[~@6 e4@2 g4@5 g4 ~@8 e4@2 g4@8, [b3,d4]@13 ~@2 d4@17, ~ b3]/4", D: "[c#4,f#4]", E: "[a3,e4]", F: "[b3,e4]",
  G: "[g3,b3,d4]@15 ~", H: "c#4", I: "[~@3 f#4 g4@2 [e3,e4]@2, b3, f#3 g3, ~ d4@2 ~]/2", J: "[b3@51 ~@13]/4",
  K: "[~@3 f#4 [g3,g4]@2 [e3,e4]@2, b3@15 ~, f#3 ~, ~ d4@2 ~]/2", // G E
  L: "[~@3 f#4 [g3,g4]@2 [e3,e4]@2, b3, f#3 ~, ~ d4@2 ~]/2", M: "[b3,d4,f#4,b4]/4",
})).s("gm_church_organ").gain(0.2)

// chords · church organ · "pipes" · soft notes
const church_organ_soft = note(`<
  ~@5 A ~@2 B A B ~ B A C@2 ~ D E F ~ E F G A ~@2 B A B ~ B A C@2 ~ D E F ~ E F G ~@20 D E F ~ E F G@2 ~@25
>`.pickRestart({
  A: "f#4@3 ~", B: "~@10 f#4 ~@5", C: "[~@10 f#4 ~ f#4@17 ~@3]/2", D: "a#3", E: "c#4", F: "g#3", G: "[a#3,f#4]",
})).s("gm_church_organ").gain(0.1)

// chords · rock organ · "r.organ"
const rock_organ = note(`<
  ~@5 A@2 B@2 A@2 B@2 A@2 C@2 D E F@2 E G D A@2 B@2 A@2 B@2 A@2 C@2 D E F@2 E G D H@12 I@4 J@2 K@2 D E F@2 E G D@2 H@20
  L@4 ~
>`.pickRestart({
  A: "[b5@13 g6 f#6 d6, ~@26 f#6 ~@5]/2", B: "[b5@26 [f#6,g6] ~ f#6@2 d6@2]/2", C: "b5/2", D: "f#5", E: "[e5,a5]",
  F: "[e5 [d5,g5], b4]/2", G: "[b4,e5]", H: "[~@12 f#6@4 [g5,g6]@7 ~ e6@8, b5, f#5@16 ~@7 e5@8 ~, ~ d6@2 ~]/2",
  I: "[b5@13 ~@3]/4", J: "[~@3 f#6 g6@2 e6@2, b5@31 ~, ~ d6@2 ~]/2", K: "[~@3 f#6 g6@2 e6@2, b5, ~ d6@2 ~]/2",
  L: "[b5,d6,b6]/4", // Bm
})).s("gm_rock_organ").gain(0.24)

// chords · rock organ · "r.organ" · soft notes
const rock_organ_soft = note("<~@17 A B C ~ B C A ~@12 A B C ~ B C A ~@20 A B C ~ B C A@2 ~@20 D@4 ~>".pickRestart({
  A: "[c#5,a#5]", B: "c#5", C: "g#5", D: "[f#5,f#6]/4",
})).s("gm_rock_organ").gain(0.12)

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

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

// drums · low tom
const low_tom = s("lt").struct("<~@3 A B ~@3 C ~@18 C ~@34 D ~@23 D ~@3 E ~@5>".pickRestart({
  A: "x!4", B: "x!3 ~", C: "~@3 x", D: "~@14 x!2", E: "~@7 x",
})).gain(0.56)

// drums · hihat
const hihat = s("hh").struct("<A ~@8 B C@6 D ~@11 B C@6 D ~@19 E F G ~ H I J ~@34>".pickRestart({
  A: "x!4", B: "~ x!4 ~ x ~", C: "x!5 ~ x ~", D: "~ x!3 ~@4", E: "x!13 ~ x!2", F: "x ~ x!14", G: "x!14 ~@2",
  H: "~ x!3 ~ x!11", I: "x!16", J: "~@2 x!2 ~ x!7 ~ x!3",
})).gain(0.4)

// drums · hihat · soft notes
const hihat_soft = s("hh").struct("<~@9 A@7 ~@12 A@7 ~@20 B C ~@4 C ~@34>".pickRestart({
  A: "~@5 x ~ x", B: "~@13 x ~@2", C: "~ x ~@14",
})).gain(0.24)

// drums · mid tom
const mid_tom = s("mt").struct("<~@8 A ~@18 A ~@34 B ~@23 B ~@3 B ~@5>".pickRestart({
  A: "~@11 x ~@4", B: "~@12 x!2 ~@2",
})).gain(0.56)

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

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

// drums · ride
const ride = s("rd").struct("<~@43 A B@3 A B C ~@21 A B A B A B A B A B A ~ A D@2 E D E D ~@6>".pickRestart({
  A: "~ x!3", B: "x!4", C: "x ~ x!2", D: "~ x ~ x", E: "~ x ~@2",
})).gain(0.56)

stack(
  bass, church_organ, church_organ_soft, rock_organ, rock_organ_soft, kick, snare, low_tom, hihat, hihat_soft, mid_tom,
  open_hat, crash, ride
)