Functions for all spectra types. Improve octaves/third_octaves