Strudelify

Ziggy Stardust

David Bowie

KeyG majorTempo80 bpm
0:00/0:00
// Ziggy Stardust — BOWIE DAVID
// 80 bpm, 4/4, key G major. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Tempo changes preserved in elapsed time; displayed bars use the dominant tempo.
// note: duplicate parts dropped: ch 8 pad halo (copy of ch 5 pad warm)
// note: Full arrangement: all 65 bars on a 16-step grid, each part at one level; ghost notes are separate "_soft" parts. Source detail keeps the original performance.
// note: Guitar parts that double another keep only their own notes (fills, solos): guitar program 29.
setcpm(80/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.

// chords · distortion guitar
const distortion_guitar = note(`<
  A B A B A B A B C D E F G ~@5 H F G ~@11 A B A B ~ I J F G ~@11 A B A B A B A K L@4 ~
>`.pickRestart({
  A: "[g2,d3,g3,d4,g4]@4 ~@4 f#4 g4 f#4 g4 f#4@2 d4@2, ~@2 [d3,a3,d4] ~", // G5 D5
  B: "[c3,g3,d4]@3 [b2,g3,d4,g4]@3 [a2,e3,g3,d4,g4]@2", C: "[g2,d3,g3,d4,g4] ~", D: "~@2 d4@8 d4 c#4 d4@2 g4@2",
  E: "c4@4 c3 b2 c3!2", F: "d3@2 e3 d3@2 b2 a2@2", G: "g2 ~", H: "c3@4 c3 b2 c3!2", I: "f#4@6 ~ f#4",
  J: "e4@4 c3 b2 c3!2", K: "[c3,g3,d4]", L: "[~ [g2,d3,g3]@58 ~@5]/4",
})).s("gm_distortion_guitar").gain(0.4).pan(0.4)

// chords · distortion guitar · soft notes
const distortion_guitar_soft = note("<A ~ A ~ A ~ A ~@25 A ~ A ~@17 A ~ A ~ A ~ A ~@6>".pickRestart({
  A: "~@2 [g2,d3,g3,d4,g4]!2 ~@4", // G5
})).s("gm_distortion_guitar").gain(0.15).pan(0.4)

// chords · overdriven guitar
const overdriven_guitar = note(`<
  A B C B C B C B ~ D ~ E ~@7 E ~@2 F ~@8 G C B C B ~@3 E H ~ F I ~@7 G C B C B C B C ~@2 J K ~@2
>`.pickRestart({
  A: "~@4 [g2,d3,g3,d4,g4]@4 ~ g4 ~ g4 ~@4", B: "~@2 d4 ~@2 g3@2 d4 ~@4 g3 d4 g3@2",
  C: "~@4 [g2,d3,g3,d4,g4]@2 ~@3 g4 ~ g4 ~@4", D: "~@11 e4 ~@2 g4@2", E: "~@2 e3 ~@2 b2 ~@2", F: "~@15 b2",
  G: "~@11 [g#3,b3,e4,g#4] ~@4", H: "~@3 f#2", I: "~@10 [c3,c4]!2 ~@4",
  J: "~@5 [b3,d4] [g3,d4] b3 [g3,d4] b3 [g3,d4] [g3,b3] d4 [g3,b3] [b3,d4] g3", // Bm G5 G Bm
  K: "[b3,d4] [g3,d4] b3 [g3,d4]@2 ~ [d3,g3,b3]@4 b3@2 ~@4", // Bm G5 G
})).s("gm_overdriven_guitar").gain(0.4).pan(0.6)

// chords · acoustic guitar steel
const acoustic_guitar_steel = note(`<
  A B A B A B A B C D E F G H I J C D E F G H I J K L K L K L M N A B A B C D E F G H I J K L K L K L M N A B A B A B A
  O P@5
>`.pickRestart({
  A: "[g2,b2,d3,g3,b3,g4]@4 ~@4 [d3,a3,d4,f#4]@2 [d3,a3,d4,f#4]!2 [d3,a3,d4,f#4]@2 [d3,a3,d4,f#4]!2", // G D
  B: "[c3,e3,g3,d4,e4]@3 [c3,e3,g3,d4,e4] [c3,e3,g3,d4,e4]@2 [b2,d3,g3,d4]@2 [b2,d3,g3,d4]!2 [b2,d3,g3,d4]@2 [a2,e3,a3,c4,e4]@2 [a2,e3,a3,c4,e4]!2", // C G Am
  C: "[g2,b2,d3,g3,b3,g4]@2 [g2,b2,d3,g3,b3,g4]@2 [g2,b2,d3,g3,b3,g4]@2 [g2,b2,d3,g3,b3,g4]!4 [g2,b2,d3,g3,b3,g4]@2 [g2,b2,d3,g3,b3,g4]@2 [g2,b2,d3,g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b2,d3,g3,b3,g4]!2 [g2,c3,e3,g3,c4,e4]!2 [a2,e3,g3,c4,e4]!2", // C G C Am7
  K: "[a2,e3,a3,c4,e4,a4]!4 [a2,e3,a3,c4,e4,a4]@2 [a2,e3,a3,c4,e4,a4]@2 [g2,d3,g3,b3,d4,g4]!4 [g2,d3,g3,b3,d4,g4]@2 [g2,d3,g3,b3,d4,g4]@2", // Am G
  L: "[f2,c3,f3,a3,c4,f4] [e2,c3,f3,a3,b3,e4] [f2,c3,f3,a3,c4,f4] [e2,c3,f3,a3,b3,e4] [f2,c3,f3,a3,c4,f4] [e2,c3,f3,a3,b3,e4] [f2,c3,f3,a3,c4,f4] [g2,d3,g3,b3,d4,g4]", // F Fmaj7 F Fmaj7 F Fmaj7 F G
  M: "[d3,a3,d4,f#4]@2 [d3,a3,d4,f#4]@2 [d3,a3,d4,f#4]@2 [d3,a3,d4,f#4]!2 [d3,a3,d4,f#4]@2 [d3,a3,d4,f#4]@2 [d3,a3,d4,f#4]@2 [d3,a3,d4,f#4]!2", // D
  N: "[e2,b2,e3,g#3,b3,e4,g#4]@2 [e2,b2,e3,g#3,b3,e4,g#4]@2 [e2,b2,e3,g#3,b3,e4,g#4]@2 [e2,b2,e3,g#3,e4,g#4]!2 [e2,b2,e3,g#3,b3,e4,g#4]!2 [e2,b2,e3,g#3,b3,e4,g#4]@2 [e2,b2,e3,g#3,b3,e4,g#4]@2 [e2,b2,e3,g#3,e4,g#4]!2", // E
  O: "[c3,e3,g3,d4,e4]", P: "[~ [g2,b2,g3,d4]@58 ~@21, ~ g4@68 ~@11, ~ d3@19 ~@60]/5",
})).s("gm_acoustic_guitar_steel").gain(0.25)

// bass · electric bass finger
const bass = note(`<
  ~@2 A B A B A B C D E F G H I J C D E F G H I K L M L M L M N O A B A B C D E F G H I K L M L M L M N O A B A B A B A
  P Q R@3 ~
>`.pickRestart({
  A: "g2@3 ~ d2@3 ~", B: "c2@3 b1@3 a1 f2", C: "g2@10 d2@2 g2 d2 c2@2", D: "b1@7 f#2 b2@2 b2@2 b2 a#2 b2@2",
  E: "~@2 c2@2 c2 b1 c2 c#2, c3 ~", F: "d2@2 e3 d3@2 b2 a2@2", G: "g2@4 g2 f#2 g2 a2", H: "e3@8 e3@2 b2@2 e3 b2 a#2@2",
  I: "a2@4 a2@3 e2 a2@2 a2@2 a2@2 a1 b1", J: "c2@8 c2@2 b1@2 c2@2 e2 f#2", K: "c2@4 c2 b1 c2 d2",
  L: "a2!4 a2@4 g2!4 g2@4", M: "f2 e2 f2 e2 f2 e2 f2 g2", N: "d2@3 a2 d3@3 a2 d3 c3 a2@2 a2@2 a2@2",
  O: "e2!3 e2@2 e2!2 f#2", P: "c2", Q: "~ g2@10 g1!5", R: "[g2!5 g1@39 ~@4]/3",
})).s("gm_electric_bass_finger").gain(0.48).pan(0.6)

// other · guitar harmonics
const guitar_harmonics = note("<~@13 A B ~@47 C@2 ~>".pickRestart({
  A: "~@6 e5@3 b5@3 e5@4", B: "~ a5", C: "[~@13 g5@5 d5@5 b4@5 ~@4]/2",
})).s("gm_guitar_harmonics").gain(0.57).pan(0.4)

// other · pad sweep
const pad_sweep = note("<~@4 A B C ~@26 D@2 ~@18 D@2 E@2 ~@8>".pickRestart({
  A: "~@2 a5@12 g5 d5", B: "e5 ~@3", C: "~@2 g4 ~@5", D: "[~@3 g5@2 e5 ~@2]/2", E: "[~@6 b5 d6@3 ~@6]/2",
})).s("gm_pad_sweep").gain(0.57).pan(0.6)

// other · pad sweep · soft notes
const pad_sweep_soft = note("<~@4 [~@2 a4@12 g4 d4] [e4 ~@3] ~@59>").s("gm_pad_sweep").gain(0.36).pan(0.6)

// other · brass section
const brass_section = note("<~@24 A@2 B@2 C@2 D E ~@12 F@2 B@2 C@2 D E ~@13>".pickRestart({
  A: "[~@3 c5 d5 c5 a4 c5@2 d5@2 ~@5]/2", B: "[~@4 c5@2 c5@2 d5@2 c5@2 a4@2 g5@4 e5@2 d5 c5 a4@2 ~@8]/2",
  C: "[~@4 c5@2 c5 d5@3 c5@2 a4@2 c5@4 d5@4 ~@6 a4@2 c5@2]/2", D: "d5@2 c5 d5@3 c5 d5@3 c5@2 c5@2 a4@2",
  E: "g#5@2 g#5@2 g#5@2 e5 d5 e5@4 ~@4", F: "[~@2 c5!2 d5 c5 a4 c5@2 d5@2 ~@5]/2",
})).s("gm_brass_section").gain(0.57).pan(0.6)

// drums · kick
const kick = s("bd").struct(`<
  ~@2 A B C B A B D@2 E D@7 E D@4 F G H G H G H G F C B A B D@2 E D@4 F G H G H G H G F C B A B C B C F I ~@4
>`.pickRestart({
  A: "x!2", B: "x ~@2 x ~@4", C: "x ~@6 x!2 ~@7", D: "x ~@4 x ~ x", E: "x ~@3 x!3 ~", F: "x",
  G: "x ~@2 x ~@3 x!2 ~@2 x ~@3 x", H: "x ~@2 x ~@3 x ~@3 x ~@4", I: "~ x ~@14",
})).gain(0.48)

// drums · snare
const snare = s("sd").struct(`<
  ~@2 A B A ~ A B A@2 C A@7 C A@4 D E F E F E F A G A ~ A B A@2 C A@4 D E F E F E F A G A ~ A B A ~ A ~@6
>`.pickRestart({
  A: "~ x ~ x", B: "~@4 x ~@5 x ~ x!3 ~", C: "~@4 x ~ x!2 ~@6 x ~", D: "~@4 x ~@3 x!8", E: "~@4 x!2 ~@6 x!2 ~@2",
  F: "~@4 x!2 ~@2 x!3 ~ x!4", G: "~ x!15",
})).gain(0.48)

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

// drums · mid tom
const mid_tom = s("mt").struct("<~@5 A ~@27 A ~@19 A ~@3 A ~@7>".pickRestart({
  A: "~@12 x!3 ~",
})).gain(0.48)

// drums · high tom
const high_tom = s("ht").struct("<~@5 A ~@27 A ~@19 A ~@3 A ~@7>".pickRestart({
  A: "x!5 ~ x!6 ~@4",
})).gain(0.48)

// drums · crash
const crash = s("cr").struct(`<
  ~@2 A B A B A B C ~ D ~@2 C ~@2 C ~ D ~@2 C ~@2 C ~ C ~ C ~ A C A B A B C ~ D ~@2 C ~@2 C ~ C ~ C ~ A C A B A B A B A
  C E F G ~@2
>`.pickRestart({
  A: "x!2", B: "x ~@2 x ~@4", C: "x", D: "x ~@3 x!4", E: "~ x ~@14", F: "x!16", G: "x!8 ~@8",
})).gain(0.3)

// drums · crash · soft notes
const crash_soft = s("cr").struct("<~@62 [~@8 x!8] [x!12 ~@4] ~>").gain(0.12)

stack(
  distortion_guitar, distortion_guitar_soft, overdriven_guitar, acoustic_guitar_steel, bass, guitar_harmonics,
  pad_sweep, pad_sweep_soft, brass_section, kick, snare, hihat, mid_tom, high_tom, crash, crash_soft
)

More by David Bowie