// Neon dream loop - neon night drive
setcps(0.517)

$DRUMS: stack(
  s("sbd ~ sbd [~ sbd]").gain(.8).decay(.35),
  s("~ noise ~ noise")
    .gain(.22)
    .hpf(1200)
    .decay(.12)
    .room(.18),
  s("noise*8")
    .gain(.08)
    .hpf(5200)
    .decay(.035)
    .pan(sine.range(-.35,.35).slow(4))
)

$BASS: note("d2 ~ a1 c2")
  .s("sawtooth")
  .lpf(650)
  .gain(.72)

$MEL: note("<d4 f4 a4 c5>*2")
  .s("triangle")
  .gain(.58).room(.55).delay(.25)

$SYNTH: note("<f4 a4 d5> <e4 g4 c5>")
  .s("supersaw")
  .gain(.44)
  .slow(2)
  .room(.7)

1/1
$DRUMS
Piano
Wave
$BASS
Piano
Wave
$MEL
Piano
Wave
$SYNTH
Piano
Wave