'bands' — log-spaced bands in the subscription's scale, with the
host's interpolation of narrow low bands and its automatic FFT-size
raise for large band counts. Kept for compatibility.
'bins' — the FFT's linear bins as power in dB, at the requested FFT
size, rounded to 0.01 dB, floor -160. The powers of the bins a
full-scale sine's main lobe covers sum to 0 dB, so summing bins as
powers reproduces the 'db' band values. Value i of a frame is bin
firstBin + i, centred at (firstBin + i) * sampleRate / fftSize Hz.
What a spectrum subscription delivers.
'bands'— log-spaced bands in the subscription'sscale, with the host's interpolation of narrow low bands and its automatic FFT-size raise for large band counts. Kept for compatibility.'bins'— the FFT's linear bins as power in dB, at the requested FFT size, rounded to 0.01 dB, floor-160. The powers of the bins a full-scale sine's main lobe covers sum to 0 dB, so summing bins as powers reproduces the'db'band values. Valueiof a frame is binfirstBin + i, centred at(firstBin + i) * sampleRate / fftSizeHz.