Strudelify

Mr Moon

Jamiroquai

KeyC majorTempo118 bpm
0:00/0:00
// Mr Moon — Jamiroquai
// 118 bpm, 4/4, key C major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Tempo changes preserved in elapsed time; displayed bars use the dominant tempo.
// note: pitch bends are ignored
// note: bank select 127 (Roland MT-32 map) read through the MT-32 patch table: 
// note: sustain pedal (CC 64) lengthens the held notes
// note: Full arrangement: all 150 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(118/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 · slap bass 1 · "Bass"
const bass = note(`<
  ~@9 A B C D E F G D H B C D H B C D I B J K L M L N L M L O L M L O L M P Q H B C D H B C D H B C D H B C D H B C D H
  B C D H B C D H B C D H B C D H B C K L M L N L M L O L M L O L M P O L M P O L M P Q H B C D H B C D H B C D H B C D
  R B C S T B J S U B J S V B J K H B J W H B J W ~
>`.pickRestart({
  A: "c2 ~@3 c3 ~@3 c2@2 ~@2 c2 ~ c#2 d2", B: "~@4 d2 ~@3 d2 ~@3 a1@3 ~", C: "f1@2 ~@2 f2 ~ d#2 ~ f2 ~@2 f2 ~ d#2 ~ f2",
  D: "~@4 f2 ~ d#2 ~ f2 ~@2 f2 ~ d#2 c2 ~", E: "c2 ~@3 c2 ~@3 c2 ~@3 c2 ~ c#2 d2", F: "~@4 d2 ~@3 d2 d3 ~ d3 ~@4",
  G: "f1 ~@3 f2 ~ d#2 ~ f2 ~@2 f2 ~ d#2 ~ f1", H: "c2 ~@3 c2 ~@3 c2@2 ~@2 c2 ~ c#2 d2",
  I: "c2 ~ c3 ~ c2 ~ c3 ~ c2@2 c3 ~ c2 ~ c#2 d2", J: "f1@2 ~@2 f2 ~ d#2 ~ f2 ~@2 f2 ~ d#2 ~ f1",
  K: "~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,c5] [d4,f#4,c#5]",
})).s("gm_epiano1").gain(0.22)

// other · lead 5 charang · "Lead"
const lead_5_charang = note("<~@44 A B@2 ~@61 A C@2 ~@6 D E@2 ~ D E@2 ~@26>".pickRestart({
  A: "~ [b4,b5] [c5,c6] [c#5,c#6]", B: "[[d5,d6]@15 ~]/2", C: "[[d5,d6]@3 ~]/2", D: "g6@8 f6@5 ~@3",
  E: "[~ f#6@8 ~@7]/2",
})).s("gm_lead_5_charang").gain(0.18)

// other · lead 5 charang · "Lead" · soft notes
const lead_5_charang_soft = note("<~@117 A@2 ~@2 A@2 ~@27>".pickRestart({
  A: "[~@12 a#5@2 a5@5 ~@13]/2",
})).s("gm_lead_5_charang").gain(0.11)

// other · pad choir · "Choir"
const pad_choir = note("<~@61 A@8 B@8 C@8 ~@24 D@2 E F D@2 E F D@2 E F D@2 E F ~@25>".pickRestart({
  A: "[~@12 d4!2 ~ c4@3 ~@10 d4!2 ~ c4@3 ~@10 d4!2 ~ c4@3 ~@10 d4!2 ~ c4@3 ~@10 d4!2 ~ c4@3 ~@10 d4!2 ~ c4@3 ~@10 d4!2 ~ c4@3 ~@10 d4!2 ~ c4]/8",
  B: "[~@12 d4!2 ~ c4@3 ~@8 g3 ~ d4!2 ~ c4@3 ~@10 d4!2 ~ c4@3 ~@10 d4!2 ~ c4@3 ~@10 d4!2 ~ c4@3 ~@10 d4!2 ~ c4@3 ~@10 d4!2 ~ c4@3 ~@10 d4!2 ~ c4]/8",
  C: "[~@12 d4!2 ~ c4@3 ~@10 d4!2 ~ c4@3 ~@10 d4!2 ~ c4@3 ~@10 d4!2 ~ c4@3 ~@10 d4!2 ~ c4@3 ~@10 d4!2 ~ c4@3 ~@10 d4!2 ~ c4@3 ~@14]/8",
  D: "[f4@7 e4@9]/2", E: "f4@7 g4", F: "d4",
})).s("gm_pad_choir").gain(0.45)

// other · epiano1 · "Rhodes Solo"
const epiano1_2 = note("<~@124 A B C D E F G H I@2 J@2 K L M N O P Q R@2 S T U@2 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6!2 [d6,f6] ~ f6 [d6,f6] d6 f6 [d6,f6]@2, ~@3 f6@3 d6@2 ~ d6@2 ~@5", // Dm
  U: "[~@25 [c5,d#5]@7, f6@10 g#5@3 [f#5,a#5]@3 [e5,g#5]@3 [d#5,f#5]@3 [d5,f5]@9 ~, d6@6 a#5@4 c6@21 ~, ~@3 d#6@28 ~, ~@3 c6@4 d6@25]/2", // Cm F# E D#m Dm
})).s("gm_epiano1").gain(0.48)

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

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

// drums · low tom
const low_tom = s("lt").struct("<~@43 [~@14 x!2] ~@32 [~@15 x] ~@30 [~@14 x!2] ~@42>").gain(0.34)

// drums · hihat
const hihat = s("hh").struct(`<
  ~@4 A B C D E D E D@2 F@15 G D H D@3 H D@3 H D@3 H D ~ F@31 I F@7 G D@23 ~ F@19 I J F@2 I J F@2 I J F@2 K ~@9
>`.pickRestart({
  A: "~@15 x", B: "~ x ~ x ~ x ~ x ~ x ~ x ~ x ~ x", C: "~@2 x ~ x ~ x ~ x ~ x ~ x ~ x!2", D: "x!8",
  E: "x ~ x ~ x ~ x ~ x ~ x ~ x ~ x!2", F: "x!16", G: "x!5 ~ x ~ x ~ x ~ x ~ x ~", H: "x!5 ~ x!2", I: "x!15 ~",
  J: "x ~@3 x!12", K: "x!4 ~@12",
})).gain(0.24)

// drums · open hat
const open_hat = s("oh").struct(`<
  ~@8 A ~@3 B ~@7 C ~@3 B ~@5 C ~@3 C ~@3 C ~@3 C ~@13 C ~@3 C ~@3 B ~@3 C ~@3 B ~@3 B ~@3 B ~@35 C ~@11 D ~@3 D ~@3 D
  ~@4 E@8 ~
>`.pickRestart({
  A: "~ x", B: "~@5 x ~ x", C: "~@5 x ~@2", D: "~@15 x", E: "~ x ~ x ~ x ~ x",
})).gain(0.34)

// drums · mid tom
const mid_tom = s("mt").struct("<~@140 [~@2 x ~@3 x ~@2 x ~@3 x ~@2] ~@9>").gain(0.24)

// drums · crash
const crash = s("cr").struct("<~@4 A ~@4 B ~@3 B ~@23 B ~@6 C B ~@47 B ~@14 C B ~@7 B ~@3 B ~@19 B ~@8>".pickRestart({
  A: "~@15 x", B: "x", C: "~ x!3",
})).gain(0.34)

// drums · bongos
const bongos = s("bongo:18").struct(`<
  A B C D E F G H G H G H G ~@96 H G H I H G H G H G H I H G H I H G H I H G H I H G H I H G H I H G H I H G H I ~
>`.pickRestart({
  A: "~@15 x", B: "~@8 x ~@6 x", C: "~@5 x ~@2", D: "x ~@4 x ~@2", E: "~ x ~@9 x ~@4", F: "~@3 x ~@7 x ~@4",
  G: "~@3 x ~@9 x ~@2", H: "~ x ~ x", I: "~@3 x ~@7 x ~ x ~@2",
})).gain(0.72)

// drums · congas
const congas = s("conga:13").struct("<A B C D E F G H@6 ~@96 H@40 ~>".pickRestart({
  A: "~@11 x ~@4", B: "~ x ~ x", C: "~@4 x ~@8 x ~@2", D: "~@5 x ~@8 x ~", E: "~@6 x ~@8 x", F: "~@7 x ~@7 x", G: "~ x",
  H: "x!2",
})).gain(0.87)

// drums · congas · soft notes
const congas_soft = s("conga:13").struct("<~@13 [x!2]!16 ~@16 [x!2]!4 ~@101>").gain(0.55)

// drums · congas
const congas_2 = s("conga:18").struct(`<
  A B C D E F G H I H I H I ~@96 H I H J H I H I H I H J H I H J H I H J H I H J H I H J H I H J H I H J H I H J ~
>`.pickRestart({
  A: "~@11 x ~ x ~@2", B: "~ x ~@2 x!2 ~ x ~ x ~@2 x ~ x ~", C: "~ x ~@2 x!2 ~@2 x ~@2 x ~ x ~ x",
  D: "~@2 x ~@2 x!2 ~ x ~@3 x ~ x ~", E: "x ~@2 x ~@2 x!2 ~ x ~@2 x ~@2 x", F: "~ x ~@3 x ~ x!2 ~ x ~ x ~@2 x",
  G: "~@2 x ~@2 x ~@2 x!2 ~ x ~@2 x ~", H: "x ~ x ~@3 x ~ x!2 ~ x ~ x ~@2", I: "x ~ x ~@2 x ~@2 x!2 ~ x ~@2 x ~",
  J: "x ~ x ~@2 x ~@2 x!2 ~@4 x ~",
})).gain(0.87)

// drums · congas · soft notes
const congas_soft_2 = s("conga:18").struct("<~@13 [~ x ~ x]!16 ~@16 [~ x ~ x]!4 ~@101>").gain(0.55)

// drums · congas
const congas_3 = s("conga:33").struct("<A B C D E F G@7 ~@96 G@40 ~>".pickRestart({
  A: "~@15 x", B: "~@3 x!2 ~@3 x ~@2 x ~@4", C: "x ~@2 x!2 ~@4 x ~@2 x ~@3", D: "~ x ~@2 x!2 ~@4 x ~@2 x ~@2",
  E: "~@2 x ~@2 x!2 ~@3 x ~@3 x ~", F: "~@3 x ~@2 x!2 ~@3 x ~@2 x ~", G: "~@4 x ~@2 x!2 ~@3 x ~@2 x",
})).gain(0.87)

// drums · woodblocks
const woodblocks = s("woodblock:4").struct("<A B C D E F G@23 ~@16 G@4 ~@60 G@40 ~>".pickRestart({
  A: "~@13 x ~@2", B: "~ x ~@4 x ~@3 x ~@3 x ~", C: "~@2 x ~@4 x ~@3 x ~@3 x", D: "~@3 x ~@3 x ~@4 x ~@3", E: "x!4",
  F: "~ x ~@3 x ~@3 x ~@3 x ~@2", G: "~ x ~ x ~ x ~ x",
})).gain(0.2)

stack(
  bass, epiano1, lead_5_charang, lead_5_charang_soft, pad_choir, epiano1_2, kick, snare, low_tom, hihat, open_hat,
  mid_tom, crash, bongos, congas, congas_soft, congas_2, congas_soft_2, congas_3, woodblocks
)

More by Jamiroquai