Audio effects node
Spectral Field
Runs a Field kernel once per frequency bin. Audio goes in, is cut into a spectrum (STFT), your kernel runs on every bin, and the result is turned back into sound. Inside the kernel read bin, bins, binhz, hop and sr, and write mag, phase or freq. mag.at(k) reads another bin, state keeps memory per bin, and a second audio input adds a spectrum for cross-synthesis. Size (512 to 8192, default 2048) trades time for frequency detail, and latency is one Size. Cutoff (20 to 20000 Hz, default 2000) and Mix are exposed. The starter kernel is a low-pass. Everyday use: a custom EQ, a spectral filter or a robot-voice effect. Also called an FFT effect or a spectral processor.

What it does
Spectral Field is an audio effect: it changes the sound that flows through it. It takes audio in and gives audio out.
Try it
Keep the starter low-pass, drop Size to 512 and sweep Cutoff for a fast, tight filter.
Audio InSpectral FieldAudio Out
Inputs and outputs
Inputs
- audio in
Outputs
- audio out
Controls
Every control with a range can be driven by a modulator, a note, an audio level or a sketch.
| Control | Range or options | Default |
|---|---|---|
| size | 512, 1024, 2048, 4096, 8192 | 2 |
| mix | 0 to 1 | 1 |
| cutoff | 20 to 20000 | 2000 |
Example patch
This patch wires Spectral Field to what it needs and shows the result. Download it, then use File, Open in Infinite, or read it here: it is plain text.
infinite-patch 1
rev 2
# Spectral Field: a starting patch for the Spectral Field node
node 1 AudioEffects Spectral Field
id node
pos 520 300
end
node 2 Synths Oscillator
id in0
pos 0 300
end
node 3 Utility Audio Out
id speakers
pos 1080 300
end
aud node 0 in0
aud speakers 0 node