The AV shim exposes four per-band tuning controls — setScale, setCutoff, setSmooth, setBins — that adjust how a.fft responds without changing the sketch
The Hydra audio shim (injected by web/src/main.js) provides tunable controls callable from any Hydra sketch: a.setScale(k) multiplies every band’s response (default 8); a.setCutoff(c) subtracts a noise floor (default 0); a.setSmooth(s) sets one-pole smoothing 0–1, where higher values produce slower/steadier response (default 0.5); a.setBins(n) re-slices into n bands (but going off 4 is non-portable). These knobs let the performer tune reactivity without rewriting the mapping thunks — raise scale if the visuals are underdynamic, lower smooth for snappier response, add cutoff to eliminate ambient noise.
Examples
a.setSmooth(0.8) — steadier, calmer response; good for brightness which should swell slowly. a.setSmooth(0.2) — snappier but jittery; good for a hi-hat driven hue-shift if the hats are loud.
Assessment
The rotation parameter reacts to high-mid but jitters unpleasantly between frames. Which shim knob addresses this and in which direction should it be adjusted? What trade-off does that adjustment introduce?