CSS Transform vs Canvas Waveform
CSS Transform computes RMS volume and drives scale() + box-shadow via a CSS custom property.
Canvas Waveform maps the raw time-domain buffer to a circular plot, drawing amplitude as radius deviation.
Both share a single AnalyserNode and update in the same rAF loop.