Limit frequency band indexes so we don't run off the end of the spectrum array.
Corrected comment, and uncommented frequencyBands setting.