home/ atoms/ punctual-lo-mid-hi-output-vs-input

Punctual's lo/mid/hi analyse the program's own audio output; ilo/imid/ihi analyse microphone input — reading lo with no audio output gives 0

Punctual provides built-in spectral analysis references, but the source differs between names. lo, mid, hi (and fft b) analyse the audio coming from the program’s own >> audio output. If there is no audio statement in the program, lo/mid/hi are approximately 0 and visuals driven by them will not react. To drive visuals from external audio (microphone), use ilo, imid, ihi (and ifft b) and grant microphone permission. The fft b / ifft b variants take a bipolar index (−1 = lowest, 1 = highest frequency) and return a unipolar 0..1 value — they are not arrays. This is distinct from Hydra’s a.fft[] array-index pattern.

Examples

lo >> rgb; — reacts to the program’s own audio. ilo >> rgb; — reacts to mic input. fft (-0.8) >> rgb; — low-band reactivity from own audio.

Assessment

A Punctual program has only visual statements and no >> audio. Explain why lo >> rgb produces no movement, and give the correct way to make visuals react to a microphone.

“**`lo`/`mid`/`hi` analyse the OUTPUT; `ilo`/`imid`/`ihi` analyse the INPUT (mic).**”
context/ · L1-instruments/punctual/gotchas.md · chunk 1