home/ atoms/ p5live-off-rig-reactivity

P5LIVE is not part of the 4-bin Strudel+Hydra rig — a.fft[] does not exist in P5 and must never be emitted there

The 4-bin FFT shim (a.fft[0..3]) is the Hydra audio bridge; it does not exist in P5LIVE. P5LIVE’s audio reactivity comes from p5.sound, HY5, or the Strudel-hap bridge — not the rig’s FFT shim. Emitting a.fft[] into a P5 patch creates a dead reference that silently fails. The composer must track which audio source is in use: the 4-bin contract (audio-reactive-map, spectral-band-split, tempo-locked-change) is n/a for P5LIVE. These paradigms are composer vocabulary for the wider framework set, not new capabilities of the 4-bin browser rig.

Examples

In Hydra: osc(30).modulate(noise(3), ()=>a.fft[0]*2) — valid. In P5LIVE: the equivalent must use amplitude() from p5.sound, not a.fft[0].

Assessment

Explain why writing a.fft[0] in a P5LIVE sketch produces a dead reference. Name the correct audio source to use in P5LIVE for reactivity and state which 4-bin contract features are n/a there.

“P5LIVE is **not** part of this Strudel+Hydra 4-bin rig. Its audio reactivity comes from p5.sound / HY5 / the Strudel-hap bridge — **not** the `a.fft[0..3]` shim”
context/ · L2-composer/visual/immediate-mode.md · chunk 1