Strudelify

Rock the Boat

Forrest

KeyD majorTempo111 bpm
0:00/0:00
// Rock the Boat — Forrest
// 111 bpm, 4/4, key D major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: duplicate parts dropped: ch 5 "El. Guitar" electric guitar clean (copy of ch 4 "Brass" synth brass 1); ch 6 "Hammond organ" drawbar organ (copy of ch 4 "Brass" synth brass 1); ch 7 "Tenor Sax" tenor sax (copy of ch 4 "Brass" synth brass 1)
// note: Full arrangement: all 88 bars on a 16-step grid, each part at one level. Source detail keeps the original performance.
setcpm(111/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 · piano
const piano = note(`<
  A B A B A B A B C D E F C G H I J K@2 L@2 M N@2 ~ O P O Q A B A B C D E F C G H I J K@2 L@2 M N@2 ~ O P O Q A B A B A
  R A R A B A R A B A R C D S ~@15
>`.pickRestart({
  A: "[a3,d4,f#4]@7 [a3,d4,f#4]", B: "[b3,d4,g4]@13 ~ [b3,d4,g4] ~", C: "[d4,f#4,a4]@15 ~",
  D: "[d4,f4,a#4]@10 [c4,e4,g4]@5 ~", E: "[d4,f#4,a4]", F: "[b3,d4,f#4]@15 ~", G: "[e4,g4,b4]@15 ~",
  H: "[c#4,f#4,a4]@8 [d4,f#4,a4]@3 ~ [c#4,f#4,a4]@4", I: "[b3,e4,g4], c4 ~@15", J: "[c#4,f#4,a4]@7 ~",
  K: "[c#4,f#4,a4]@2 ~ [b3,e4,g4]@5 [c#4,f#4,a4]@2 ~ [b3,e4,g4]@5", // F#m Em F#m Em
  L: "[[d4,f#4,a4]@8 [d4,f#4,a#4]@5 ~ [d4,f#4,b4]@8 [d4,f#4,a#4]@9 ~]/2", M: "[d4,g4,b4]@7 ~ [d4,f#4,a4]@7 ~",
  N: "[[e4,g4,b4]@5 ~ [c#4,e4,a4]@18 ~@8]/2", O: "[b3,d4,g4]", P: "[a3,c#4,e4]@15 ~", Q: "[a3,c#4,e4]@7 ~",
  R: "[b3,d4,g4]@13 ~ [b3,d4,g4]@2", S: "[f#3,a3,d4]@15 ~",
})).s("gm_piano").gain(0.55).pan(0.8)

// chords · epiano1 · "El. Piano"
const epiano1 = note(`<
  A B A B A B A B C D E F G H I J K L M N@2 O P ~@2 Q R S R A B A B C D E F G H I J K L M N@2 O P ~@2 Q R S R A B A B A
  B A B A B A B A B A B C D T ~@15
>`.pickRestart({
  A: "[d4,f#4,a4]@2 ~ [d4,f#4,a4]!2 ~@3 [d4,f#4,a4]@2 ~ [d4,f#4,a4]!2 ~@3", // D
  B: "[d4,g4,b4]@2 ~ [d4,g4,b4]!2 ~@3 [d4,g4,b4]@2 ~ [d4,g4,b4]!2 ~@3", // G
  C: "[d4,f#4,a4]@3 [d4,f#4,a4]!2 ~@3 [d4,f#4,a4]@2 ~ [d4,f#4,a4]!2 ~@3", // D
  D: "[d4,f4,a#4]@2 ~ [d4,f4,a#4]!2 ~@3 [d4,f4,g#4,a#4] ~ [c4,e4,g4]@5 ~", // A# A#7 C
  E: "[d4,f#4,a4]@3 [d4,f#4,a4]!2 ~ [d4,f#4,a4] ~@2 [d4,f#4,a4] ~ [d4,f#4,a4]!2 ~ [d4,f#4,a4] ~", // D
  F: "[b3,d4,f#4]@2 ~ [b3,d4,f#4]!2 ~ [b3,d4,f#4] ~@2 [b3,d4,f#4] ~ [b3,d4,f#4]!2 ~ [b3,d4,f#4] ~", // Bm
  G: "[d4,f#4,a4]@2 ~ [d4,f#4,a4]!2 ~ [d4,f#4,a4] ~@2 [d4,f#4,a4] ~ [d4,f#4,a4]!2 ~ [d4,f#4,a4] ~", // D
  H: "[e4,g4,b4]@2 ~ [e4,g4,b4]!2 ~ [e4,g4,b4] ~@2 [e4,g4,b4] ~ [e4,g4,b4]!2 ~ [e4,g4,b4] ~", // Em
  I: "[c#4,f#4,a4]@2 ~ [c#4,f#4,a4]!2 ~ [c#4,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15 ~",
})).s("gm_epiano1").gain(0.63).pan(0.3)

// bass · electric bass finger · "El. Bass"
const bass = note(`<
  A B A B A B A B C D E F G H I J K L M N@2 O P ~ Q R S R T A B A B C D E F G H I J K L M N@2 O P ~ Q R S R T A B A B A
  B A B A B A B A B A B C D U ~@15
>`.pickRestart({
  A: "d3@2 ~ d3 a2@2 b2@2 d3@2 ~ d3 b2@2 a2@2", B: "g2@2 ~ g2 b2@2 d3@2 g2@2 ~ g2 b2@2 d3@2",
  C: "d3@2 ~ d3 a2@2 b2@2 d3@2 ~ d3 a2@2 b2@2", D: "a#2@2 ~ a#2 d3@2 f3@2 a#2@2 c3@5 ~",
  E: "d3@2 ~ d3 a2 ~ a2@2 d3@2 ~ d3 d3@2 c#3@2", F: "b2@2 ~ b2 f#2 ~ f#2@2 b2@2 ~ b2 b2@2 c#3@2",
  G: "d3@2 ~ d3 a2 ~ a2@2 d3@2 ~ d3 a2@2 d3@2", H: "e3@2 ~ e3 b2 ~ b2@2 e3@2 ~ e3 b2@2 e3@2",
  I: "f#3@2 ~ f#3!2 ~ f#3@2 d3@3 ~ c#3@3 ~", J: "e3@2 ~ e3 b2@2 b2@2 e3@2 ~ e3 b2@2 e3@2",
  K: "f#2@2 ~ f#2 f#2@2 f#2 ~ f#2@2 ~ f#2!2 ~ f#2 ~", L: "f#2@2 ~ e2@5 f#2@3 e2@5", M: "a2@2 ~ a2@5 a2@2 ~ a2@4 ~",
  N: "[d2@5 ~ d2@2 f#2@6 b2@8 a#2@9 ~]/2", O: "g2@2 ~ g2@2 ~ g2 ~ f#2@2 ~ f#2!2 ~ f#2 ~", P: "e2@2 ~ e2 e2@2 a2@9 ~",
  Q: "~@6 d2 e2", R: "g2@2 ~ g2 d3@2 b2@2 g2@2 ~ g2 d3@2 b2@2", S: "a2@2 ~ a2 e3@2 c#3@2 a2@2 ~ a2 e3@2 c#3@2",
  T: "a2@2 ~ a2 e3@2 c#3 ~ a2@2 ~ a2 e3@2 c#3 ~", U: "d2@15 ~",
})).s("gm_electric_bass_finger").gain(0.51).pan(0.7)

// drums · kick
const kick = s("bd").struct("x!4").gain(0.61)

// drums · snare
const snare = s("sd").struct("~ x ~ x").gain(0.61)

// drums · hihat
const hihat = s("hh").struct("x!16").gain(0.49)

// drums · low tom
const low_tom = s("lt").struct("~@3 x ~@3 x").gain(0.61)

// drums · congas
const congas = s("conga:13").struct("~ x ~ x").gain(1.96)

// drums · congas
const congas_2 = s("conga:18").struct("~@3 x ~@3 x").gain(1.96)

// drums · congas
const congas_3 = s("conga:33").struct("~@3 x ~@7 x ~@4").gain(1.96)

stack(piano, epiano1, bass, kick, snare, hihat, low_tom, congas, congas_2, congas_3)