Strudelify

Clock Town - Day 1

Koji Kondo

KeyD majorTempo165 bpm
0:00/0:00
// Clock Town - Day 1 — Koji Kondo
// 165 bpm, 12/8, key D major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Transcription provider: pdmx. https://musescore.com/score/4998990; license: https://creativecommons.org/publicdomain/zero/1.0/
// note: Full arrangement: all 50 bars on a 24-step grid, each part at one level. Source detail keeps the original performance.
setcpm(165/6)

// Notation: c3@3 lasts 3 steps · ~ is a rest.
// A part's distinct bars are riffs (A, B, C...) played in order: edit a riff to change every repeat.

// other · flute · "Fløyte"
const flute = note("<~@6 A B C D ~@4 E F E G ~@7 H ~@4 A B C D ~@4 E F E G ~@7 H>".pickRestart({
  A: "g6 a6@11 g6@12", B: "f#6@12 e6@11 ~", C: "a6@12 g6@11 ~", D: "f#6@4 ~@2 e6@4 ~@2 d6@11 ~", E: "a5@11 ~ d6@11 ~",
  F: "c#6@11 ~ b5@11 ~", G: "e6@4 ~@2 c#6@4 ~@2 d6@11 ~", H: "~@4 a5@2 a6@2 ~@2 a5@2 a6@11 ~",
})).s("gm_flute").gain(0.3)

// other · oboe · "Obo"
const oboe = note("<~@2 A B A C A B A C ~@16 A B A C A B A C ~@16>".pickRestart({
  A: "d4 ~ d5 c#5 b4 a4 b4@3 g4@3", B: "a4 ~ e4 a4 g4 e4 g4@2 a4 f#4@3", C: "a4 g4 e4 g4 ~ f#4 d4@6",
})).s("gm_oboe").gain(0.4)

// other · clarinet · "B♭-klarinett"
const clarinet = note("<~@10 A B A C A D A C ~@16 A B A C A D A C ~@8>".pickRestart({
  A: "d5@2 ~@2 d5 ~ d5@2 c#5@2 d5@2 e5@6 a4@6", B: "g5 f#5 g5 f#5 ~ d5 e5@3 a4@3", C: "g5 f#5 g5 f#5 ~ c#5 d5@6",
  D: "g5@2 f#5@2 g5@2 f#5@2 ~@2 d5@2 d5 e5@3 c#5@2 a4@6",
})).s("gm_clarinet").gain(0.4)

// other · bassoon · "Fagott"
const bassoon = note("<~@2 A B A C A B A C A B A C A B A C ~@8 A B A C A B A C A B A C A B A C ~@8>".pickRestart({
  A: "d3 c#3", B: "b2@2 c#3 ~", C: "b2@2 ~ c#3@2 ~ d3@4 ~@2",
})).s("gm_bassoon").gain(0.25)

// other · violin · "Fiolin"
const violin = note(`<
  ~@2 A B A C A B A C A D A C A D A C E F G H E I J K A B A C A B A C A D A C A D A C E F G H E I J K
>`.pickRestart({
  A: "d4 c#4", B: "b3@2 c#4 ~", C: "b3@3 ~@3 c#4@3 ~@3 d4@8 ~@4", D: "b3 c#4", E: "b4@2 a4 ~", F: "g4@2 f#4 ~",
  G: "b4@6 a4@2 ~ g4 ~@2", H: "f#4@2 e4 ~", I: "d5@2 c#5 ~", J: "c#5 c5", K: "b4@3 ~",
})).s("gm_violin").gain(0.25)

// other · viola · "Bratsj"
const viola = note(`<
  ~@2 A B A C A B A C A D A C A D A C E F G H E I J K A B A C A B A C A D A C A D A C E F G H E I J K
>`.pickRestart({
  A: "d4 c#4", B: "b3@2 c#4 ~", C: "b3@3 ~@3 c#4@3 ~@3 d4@8 ~@4", D: "b3 c#4", E: "d4@2 c#4 ~", F: "b3@2 a3 ~",
  G: "d4@6 c#4@2 ~ b3 ~@2", H: "a3@2 g3 ~", I: "f#4@2 e4 ~", J: "e4 d#4", K: "d4@3 ~",
})).s("gm_viola").gain(0.25)

// other · cello
const cello = note(`<
  ~@2 A B A C A B A C A D A C A D A C E F G H E I J K A B A C A B A C A D A C A D A C E F G H E I J K
>`.pickRestart({
  A: "d3 c#3", B: "b2@2 c#3 ~", C: "b2@3 ~@3 c#3@3 ~@3 d3@8 ~@4", D: "b2 c#3", E: "g3@2 f#3 ~", F: "e3@2 d3 ~",
  G: "g3@6 f#3@2 ~ e3 ~@2", H: "d3@2 c#3 ~", I: "a3@2 g3 ~", J: "g3 f#3", K: "f3@2 d3 ~",
})).s("gm_cello").gain(0.25)

// drums · tambourine
const tambourine = s("tb").struct(`<
  A@3 B A B A B A B A B A B A B A B A B A B A B A C A B A B A B A B A B A B A B A B A B A B A B A C
>`.pickRestart({
  A: "~@3 x ~ x ~@3 x ~@2", B: "~@3 x ~ x ~@6", C: "x!24",
})).gain(0.25)

// drums · congas
const congas = s("conga:13").struct("<A@5 B A@3 ~ A@3 B A@3 ~ A@6 B ~ A@3 B A@3 ~ A@3 B A@3 ~ A@6 B ~>".pickRestart({
  A: "~@2 x!3 ~", B: "~ x ~",
})).gain(0.79)

// drums · congas
const congas_2 = s("conga:33").struct(`<
  A B A B A C A B A D A B A C A B A D A B A B A B E F A B A C A B A D A B A C A B A D A B A B A B E F
>`.pickRestart({
  A: "x ~ x ~@2 x ~@5 x", B: "x ~ x ~@2 x ~@3 x ~@2", C: "x ~ x ~@3 x ~@2 x ~@2", D: "x ~ x!2", E: "x!2 ~ x ~@2",
  F: "x",
})).gain(0.79)

stack(flute, oboe, clarinet, bassoon, violin, viola, cello, tambourine, congas, congas_2)

More by Koji Kondo