Strudelify

With your XXX...

Taku Iwasaki

KeyD majorTempo40 bpm
0:00/0:00
// With your XXX... — Taku Iwasaki
// 40 bpm, 4/4, key D major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Transcription provider: pdmx. https://musescore.com/score/5931424; license: https://creativecommons.org/publicdomain/zero/1.0/
// note: Full arrangement: all 13 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
setcpm(40/4)

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

// chords · piano · "Piano, upper"
const piano = note("<A B C B D E F G A H C I ~>".pickRestart({
  A: "[f#4,d5]@2 [g4,e5] [a4,f#5] [g4,d5]@2 [b4,g5] f#5", B: "[g4,d5]@2 [a4,f#5] e5 [g4,d5]@4",
  C: "[f#4,d5]@2 [g4,e5] f#5 [g4,d5]@2 [b4,g5] f#5", D: "[c#5,a5]@2 g5 f#5 [b4,d5]@4", E: "[d5,a5]@2 g5 f#5 [g4,e5]@4",
  F: "[c#5,a5]@2 g5 f#5 [b4,d5]@2 [a4,f#5] e5", G: "[g#4,d5]@2 c#5 d5 [a4,d5,e5]@2 b4 c#5",
  H: "[g4,d5]@2 [a4,f#5] e5 [g4,d5]@2 a4 g4", I: "[g4,d5] g4 f#5 e5 [f#4,a4,d5]@4",
})).s("gm_piano").gain(0.5)

// chords · piano · "Piano, upper" · soft notes
const piano_soft = note("<~@2 A ~@2 B ~ C ~@2 A D ~>".pickRestart({
  A: "~@3 a4 ~@4", B: "~ d5", C: "~@2 g4 ~", D: "~@2 [g4,c#5] ~@5",
})).s("gm_piano").gain(0.3)

stack(piano, piano_soft)