Strudelify

Purple Rain

Prince/Cory Henry

KeyG majorTempo63 bpm
0:00/0:00
// Purple Rain — Prince/Cory Henry
// 63 bpm, 4/4, key G major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: pitch bends are ignored
// note: Transcription provider: pdmx. https://musescore.com/score/6207799; license: https://creativecommons.org/publicdomain/zero/1.0/
// note: Full arrangement: all 16 bars on a 32-step grid, each part at one level. Source detail keeps the original performance.
setcpm(63/4)

// 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 · violin
const violin = note("<g4 ~@14 [c5@3 b4@3 a4 ~ g5 f5 d5 c#5 c5 a#4 g4 f4]>").s("gm_violin").gain(0.3)

// bass · acoustic bass
const bass = note("<A B C D A B C D E F G H E F G H>".pickRestart({
  A: "g2@3 g2 g2@3 f#2", B: "e2@3 e2 e2@3 d#2", C: "d2@3 d2 d2@3 c#2", D: "c2@3 c2 c2@4", E: "g2", F: "e2", G: "d2",
  H: "c2",
})).s("gm_acoustic_bass").gain(0.3)

stack(violin, bass)