1998 (Strudel)

A late-90s uplifting-trance homage to Binary Finary’s “1998” — about 4:40 at 137 BPM in D major, then it loops. Original lead and arrangement, not a transcription. Use Play and Stop to start and halt the track, and edit the code live. On a keyboard, Ctrl+Enter re-evaluates and Ctrl+. stops.

Open in strudel.cc
// "1998" — late-90s uplifting-trance homage (Binary Finary vibe).
// Original arrangement and lead melody. Not a transcription,
// and it does not sample the original recording.
// 137 BPM, D major (I–vi–IV–V), 160 bars, about 4:40, then loops.
//
//  Intro       16 bars   0:00–0:28
//  Build       16 bars   0:28–0:56
//  First drop  32 bars   0:56–1:52
//  Breakdown   16 bars   1:52–2:20
//  Big build   16 bars   2:20–2:48
//  Main drop   48 bars   2:48–4:12
//  Outro       16 bars   4:12–4:40

samples('github:switchangel/pad')
setcps(137/60/4) // 137 BPM, one cycle = one bar of 4/4

const dm = (pat) => s(pat).bank("RolandTR909")

// Two bars each: D, Bm, G, A
const roots  = "<d2 d2 b1 b1 g1 g1 a1 a1>"
const chords = "<[d4,f#4,a4] [d4,f#4,a4] [b3,d4,f#4] [b3,d4,f#4] [g3,b3,d4] [g3,b3,d4] [a3,c#4,e4] [a3,c#4,e4]>"

// Original hook over that progression (not the 1998 lead)
const hook = "<[f#5 a5 d6 a5] [f#5 e5 d5 a4] [b4 d5 f#5 e5] [f#5 a5 g5 f#5] [g5 b5 d6 b5] [a5 g5 f#5 d5] [c#5 e5 a5 f#5] [e5 f#5 d5 c#5]>"
const hookLow = "<[f#4 a4 d5 a4] [f#4 e4 d4 a3] [b3 d4 f#4 e4] [f#4 a4 g4 f#4] [g4 b4 d5 b4] [a4 g4 f#4 d4] [c#4 e4 a4 f#4] [e4 f#4 d4 c#4]>"

const kick = dm("bd*4").gain(.42)
  .duckorbit(2).duckattack(.12).duckdepth(.55)
// Keep orbit 2 alive on the downbeat (bass is offbeat, otherwise duck logs an error)
const sidechain = note("d1").s("sawtooth").gain(0.0001).decay(.05).sustain(0).orbit(2)
const clap = dm("~ cp ~ cp").gain(.45)
const hats = dm("[~ hh]*8").gain(.3)
const ohats = dm("[~ ~ ~ oh]*2").gain(.28)
// Crash only on phrase starts (every 8 bars), quieter and darker
const crashHit = dm("cr").gain(.16).lpf(7000)
const crash = crashHit.mask("<1 0!7>")

const bass = (cutoff) => note(roots).struct("[~ x x x]*4")
  .s("sawtooth").lpf(cutoff).lpq(7)
  .decay(.15).sustain(0).gain(.5).orbit(2)

const bassClosed = bass(280)
const bassOpen   = bass(950)
const bassRise   = bass(saw.range(280, 1600).slow(16))
const bassFall   = bass(saw.range(900, 200).slow(16))

const sawChords = note(chords).s("supersaw")
  .lpf(2800).gain(.18).room(.5).delay(.2).orbit(2)
const sawWide = note(chords).s("supersaw")
  .lpf(sine.range(1600, 4200).slow(16))
  .gain(.2).room(.62).delay(.25).phaser(1.2).orbit(2)

const lead = note(hook).s("supersaw")
  .lpf(5200).clip(.85).gain(.16)
  .delay(.35).room(.48)
const leadLow = note(hookLow).s("supersaw")
  .lpf(2400).clip(.9).gain(.16).delay(.28).room(.4)

const warmPad = note(chords).s("gm_pad_warm")
  .clip(1).gain(.32).room(.9)
const strings = note(chords).s("gm_string_ensemble_1")
  .clip(1).gain(.26).room(.85)
const gatedPad = note(chords).s("gm_pad_poly")
  .struct("[x ~]*8").gain(.26).room(.35).orbit(2)
const choir = note(chords).s("gm_choir_aahs")
  .clip(1).gain(.16).room(.95)
const atmos = s("swpad:0").gain(.18).room(.95).clip(1)

const riser = s("white")
  .hpf(200).lpf(saw.range(400, 11000).slow(16))
  .gain(saw.range(.03, .55).slow(16)).room(.35)

const buildRoll = dm("<~ sd*4 sd*8 sd*16>/4")
  .gain(saw.range(.2, .85).slow(16))
const bigRoll = dm("<sd*4 sd*8 sd*16 sd*32>/4")
  .gain(saw.range(.25, 1).slow(16))

const preload = s("swpad:0").gain(0) // start the pad download in the intro

arrange(
  // Intro: four-on-the-floor and a tightly filtered rolling bass
  [16, stack(sidechain, kick, bassClosed, crash, hats.gain(.12).mask("<0!8 1!8>"), preload)],

  // Build: hats, opening filter, snare rolls
  [16, stack(sidechain, kick, clap, hats, ohats.mask("<0!8 1!8>"), bassRise, buildRoll, crash,
             riser.gain(saw.range(0, .35).slow(16)))],

  // First drop: supersaw chords + lead
  [16, stack(sidechain, kick, clap, hats, ohats, crash, bassOpen, sawChords, lead)],
  [16, stack(sidechain, kick, clap, hats, ohats, crash, bassOpen, sawWide, lead, gatedPad)],

  // Breakdown: pads and lead, no kick, long reverb
  [16, stack(sidechain, warmPad, strings, choir, atmos, lead.gain(.3).room(.8).delay(.45))],

  // Big build: snare roll, riser, kick only on the last bar
  [16, stack(
    sidechain,
    kick.mask("<0!15 1>"),
    clap.gain(.35),
    hats.gain(.22),
    bassRise,
    warmPad.gain(.25),
    bigRoll,
    riser,
    crashHit.mask("<0!15 1>")
  )],

  // Main drop: everything, then a wider second phrase and a last lift
  [16, stack(sidechain, kick, clap, hats, ohats, crash, bassOpen, sawWide, lead, gatedPad)],
  [16, stack(sidechain, kick, clap, hats, ohats, crash, bassOpen, sawWide, lead, leadLow, gatedPad, strings.gain(.18))],
  [16, stack(sidechain, kick, clap, hats, ohats, crash, bassOpen, sawWide, lead, leadLow, gatedPad, strings.gain(.2),
             choir.gain(.12))],

  // Outro: close the filter and fade (per-layer gains so the crash stays quiet)
  [16, stack(
    sidechain,
    kick.gain(saw.range(.42, .05).slow(16)),
    bassFall.gain(saw.range(.5, .06).slow(16)),
    crash.gain(saw.range(.16, .02).slow(16)),
    hats.gain(saw.range(.18, .02).slow(16)),
    warmPad.gain(saw.range(.32, 0).slow(16))
  )]
)

The chords are a generic D-major trance progression, and the lead is an original melody — not the track’s transcribed hook.

Sounds: Roland TR-909 drums from tidal-drum-machines (bundled with Strudel; the pack states no license). Pads from switchangel/pad (Unlicense, public domain). GM pads, strings and choir are FluidR3 soundfonts via Strudel’s gm_* instruments (MIT). Bass, supersaw leads, the hoover-ish stab, the 303-style acid line (sawtooth + ladder filter envelope), the hardstyle kick tail (sine + pitch envelope + distort), reverse bass, and the noise riser use Strudel’s built-in synths. No new sample packs.