Strudelify

Waterfall

Atlantic Ocean

KeyG minorTempo134 bpm
0:00/0:00
// Waterfall — Atlantic Ocean
// 134 bpm, 4/4, key G minor. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Full arrangement: all 111 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(134/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.

// other · percussive organ · "ORGAN 2"
const percussive_organ = note("<~@5 A@8 ~@5 B@11 ~ B@24 ~@17 B@11 ~ B@24 ~@4>".pickRestart({
  A: "eb4@2 bb4@2 g4@2 ab4 eb4@2 bb4@3 g4@2 ab4@2", B: "d6!8 ~ eb6!7",
})).s("gm_percussive_organ").gain(0.4)

// bass · electric bass finger · "FINGERDBAS"
const bass = note(`<
  ~@5
  [eb1@2 bb1@2 g1@2 ab1 eb1@2 bb1@3 g1@2 ab1@2]!8
  ~@17
  [bb1@3 ~ f2@3 ~ eb2@3 eb2@4 ~]!36
  ~@17
  [bb1@3 ~ f2@3 ~ eb2@3 eb2@4 ~]!28
>`).s("gm_electric_bass_finger").gain(0.3)

// chords · pad poly · "POLYSYNTH" · Bb Eb5 Bb Eb5 Bb Eb5
const pad_poly = note(`<
  ~@14
  [bb2@2 [bb3,d4] ~ [bb3,d4] ~ [bb3,d4] ~ eb3 [bb3,eb4] ~ [bb3,eb4]@2 ~ [bb3,eb4]@2]!15
  ~
  [bb2@2 [bb3,d4] ~ [bb3,d4] ~ [bb3,d4] ~ eb3 [bb3,eb4] ~ [bb3,eb4]@2 ~ [bb3,eb4]@2]!24
  ~@13
  [bb2@2 [bb3,d4] ~ [bb3,d4] ~ [bb3,d4] ~ eb3 [bb3,eb4] ~ [bb3,eb4]@2 ~ [bb3,eb4]@2]!40
  ~@4
>`).s("gm_pad_poly").gain(0.4)

// chords · synth strings 1 · "SYN STR 1"
const synth_strings_1 = note("<~@14 A@14 B@2 A@24 ~@4 A@8 ~ A@40 ~@4>".pickRestart({
  A: "d5 eb5, [g4,bb4]", B: "[d5 eb5@2 ~, [g4,bb4]]/2",
})).s("gm_synth_strings_1").gain(0.24)

// drums · kick
const kick = s("bd").struct(`<
  ~ A@3 B A@3 B A@3 B ~@17 A@3 B A@3 B A@3 B A@3 B A@3 B A@3 B A@3 B A@3 B A@3 B ~@17 A@3 B A@3 B A@3 B A@3 B A@3 B A@3
  B A@3 B
>`.pickRestart({
  A: "x!4", B: "x ~ x ~ x ~ x!2",
})).gain(0.56)

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

// drums · clap
const clap = s("cp").struct("<~ A B@2 C ~@3 D B@4 ~@9 E@7 ~ E@36 ~@9 E@7 ~ E@28>".pickRestart({
  A: "~@4 x ~@2 x ~@2 x ~ x ~@2 x", B: "~@2 x ~ x ~@2 x ~@2 x ~ x ~@2 x", C: "~@2 x ~ x ~@2 x ~@2 x ~@5", D: "~@15 x",
  E: "~@4 x ~@4 x ~@2 x ~@3",
})).gain(0.48)

// drums · clap · soft notes
const clap_soft = s("cp").struct("<~ A B@2 C ~@3 D E B@3 ~@98>".pickRestart({
  A: "~@9 x ~@3 x ~@2", B: "~@5 x ~@3 x ~@3 x ~@2", C: "~@5 x ~@3 x ~@6", D: "~@7 x", E: "~ x ~@3 x ~@3 x ~@3 x ~@2",
})).gain(0.24)

// drums · hihat
const hihat = s("hh").struct("<~ A@4 B ~@3 C@4 B ~@16 C@24 ~@4 C@8 ~@17 C@24 ~@4>".pickRestart({
  A: "x!4", B: "x", C: "x ~@3 x ~@3 x!2 ~@2 x ~@3",
})).gain(0.08)

// drums · open hat
const open_hat = s("oh").struct("<~ A@4 ~@4 A@4 ~@17 A@24 ~@4 A@8 ~@17 A@24 ~@4>".pickRestart({
  A: "~ x ~ x ~ x ~ x",
})).gain(0.48)

// drums · mid tom
const mid_tom = s("mt").struct("<A ~@12 A ~@15 A ~@7 A ~@7 A ~@7 A ~@12 A ~@15 A ~@7 A ~@7 A ~@7 A ~@3 A>".pickRestart({
  A: "~@7 x",
})).gain(0.4)

// drums · crash
const crash = s("cr").struct("<~@30 A ~@7 A ~@7 A ~@7 A ~@3 A ~@8 A ~@15 A ~@7 A ~@7 A ~@7 A ~@3>".pickRestart({
  A: "x",
})).gain(0.4)

// drums · tambourine
const tambourine = s("tb").struct("<~@26 A@3 ~@9 A@16 ~@25 A@3 ~ A@24 ~@3 B>".pickRestart({
  A: "x!3 ~ x!3 ~ x!2 ~ x!2 ~@3", B: "~@12 x!3 ~",
})).gain(0.32)

// drums · tambourine · soft notes
const tambourine_soft = s("tb").struct("<~@26 A@3 ~@9 A@16 ~@25 A@3 ~ A@24 ~@3 B>".pickRestart({
  A: "~@3 x ~@3 x ~@2 x ~@2 x!3", B: "~@15 x",
})).gain(0.16)

// drums · rim
const rim = s("rim").struct(`<
  ~@30
  [~@7 x ~@2 x ~@2 x ~ x]!24
  ~@4
  [~@7 x ~@2 x ~@2 x ~ x]!8
  ~@17
  [~@7 x ~@2 x ~@2 x ~ x]!24
  ~@4
>`).gain(0.4)

stack(
  percussive_organ, bass, pad_poly, synth_strings_1, kick, snare, clap, clap_soft, hihat, open_hat, mid_tom, crash,
  tambourine, tambourine_soft, rim
)