Strudelify
KeyF minorTempo79 bpm
0:00/0:00
// Radar — Britney Spears
// 79 bpm, 4/4, key F minor. Source: midi.
// Generated by strudelify. One cycle = one bar.
// note: Full arrangement: all 25 bars on a 16-step grid, each part at one level. Source detail keeps the original performance.
setcpm(79/4)

// Notation: c3@3 lasts 3 steps · ~ is a rest · [c3,e3] is a chord · [...]/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 · string ensemble 1
const string_ensemble_1 = note("<A@24 ~>".pickRestart({
  A: "[~@3 [eb4,g4,bb4]@4 [c4,eb4,ab4]@4 [c4,f4,ab4]@4 [d4,f4,bb4]@4 [bb3,eb4,g4]@4 [ab3,c4,eb4]@4 [ab3,c4,f4]@4 [bb3,d4,f4]@4 [f4,ab4,c5]@4 [eb4,g4,c5]@4 [f4,ab4,c5]@4 [eb4,g4,c5]@4 [f4,ab4,db5]@4 [ab4,c5,eb5]@4 [f4,bb4,d5]@5]/8", // Eb Ab Fm Bb Eb Ab Fm Bb …
})).s("gm_string_ensemble_1").gain(0.2)

// other · piano
const piano = note("<A@2 B@2 C@3 D@3 B@2 C@3 D@3 B@2 C@3 E@2>".pickRestart({
  A: "[~@10 g4@2 ab4@7 ~@3 ab3@2 c4@2 eb4@2 f4@4]/2", B: "[~@10 g4@2 ab4@7 ~@3 f3@2 ab3@2 eb4@2 d4@4]/2",
  C: "[~@3 [f4,ab4,c5]@2 f4 g4 [eb4,g4,c5]@2 c4@2 [f4,ab4,c5]@2 f4 g4 [eb4,g4,c5]@2 c4@2 f4 ab4 db5@2 ab4]/3", // Fm Cm Fm Cm
  D: "[eb5@2 ab5@4 ~@6 bb4@2 eb5@4 d5@4 ~@4 g4@2 ab4@7 ~@3 ab3@2 c4@2 eb4@2 f4@4]/3",
  E: "[eb5 ab5@2 ~@3 bb4 eb5@2 d5@2 ~@5]/2",
})).s("gm_piano").gain(0.46)

stack(string_ensemble_1, piano)

More by Britney Spears