Added option to manually specify octave weights.