Isolate a single bin of an FFT

This example shows how to isolate a single FFT bin, as opposed to displaying the entire spectrum. The example uses fft~ instead of fftin~, but the principle is the same.

The right outlet of fft~ outputs the bin index. When that index matches the number selected in the number box, sah~ will be triggered and will output the magnitude of that frequency bin.