Strudelify

clock town theme

Koji Kondo

KeyD majorTempo120 bpm
0:00/0:00
// clock town theme — Koji Kondo
// 120 bpm, 6/8, key D major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Transcription provider: pdmx. https://musescore.com/score/192722; license: https://creativecommons.org/publicdomain/mark/1.0/
// note: Full arrangement: all 96 bars on a 16-step grid, each part at one level. Source detail keeps the original performance.
setcpm(120/3)

// Notation: c3@3 lasts 3 steps · ~ is a rest · [...]/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 · flute
const flute = note(`<
  A B C D A B E F A B C D A B G H ~@8 I J K L I J M H N O P Q N R S T N O H U V W X Y A B C D A B E F A B C D A B G H
  ~@8 I J K L I J M H N O P Q N R S T N O H U V W X Y
>`.pickRestart({
  A: "d4@5 d5@3 c#5@3 b4@2 a4@3", B: "b4 g4", C: "a4@5 e4@3 a4@3 g4@2 e4@3", D: "g4@5 a4@3 f#4@8",
  E: "a4@3 g4@2 e4@3 g4@5 f#4@3", F: "d4", G: "a4@3 g4@2 e4@3 f#4@3 g4@2 e4@3", H: "d5", I: "d5@5 d5@3 d5@3 c#5@2 d5@3",
  J: "e5 a4", K: "g5@3 f#5@2 g5@3 f#5@5 d5@3", L: "e5@5 c#5@3 a4@8", M: "g5@3 f#5@2 g5@3 f#5@5 c#5@3", N: "b4",
  O: "a4 ~", P: "g4", Q: "f#4 ~", R: "a4 g4", S: "f#4", T: "e4 ~", U: "c#5 ~", V: "c#5", W: "c5",
  X: "~@5 a4@3 a5@5 a4@3", Y: "a5",
})).s("gm_flute").gain(0.3)

// bass · tuba · "Euphonium"
const bass = note(`<
  A B C B A B D A@2 B C B A B D A@2 B C B A B D A@2 B C B A B D A E F G H E I J K E F L M N O P@2 A B C B A B D A@2 B C
  B A B D A@2 B C B A B D A@2 B C B A B D A E F G H E I J K E F L M N O P@2
>`.pickRestart({
  A: "d3", B: "c#3", C: "b2", D: "b2 c#3", E: "d4", F: "c#4 ~", G: "b3", H: "a3 ~", I: "c#4 b3", J: "a3", K: "g3 ~",
  L: "f#4", M: "e4 ~", N: "e4", O: "d#4", P: "d4/2",
})).s("gm_tuba").gain(0.3)

// bass · tuba · "C Tuba"
const bass_2 = note(`<
  A B C B A B D A@2 B C B A B D A@2 B C B A B D A@2 B C B A B D A E F G H E I J K E F L M E N O@2 A B C B A B D A@2 B C
  B A B D A@2 B C B A B D A@2 B C B A B D A E F G H E I J K E F L M E N O@2
>`.pickRestart({
  A: "d3", B: "c#3", C: "b2", D: "b2 c#3", E: "g2", F: "f#2 ~", G: "e2", H: "d2 ~", I: "f#2 e2", J: "d2", K: "c#2 ~",
  L: "a2", M: "g2 ~", N: "f#2", O: "f2/2",
})).s("gm_tuba").gain(0.3)

stack(flute, bass, bass_2)

More by Koji Kondo