Add command line option for logarithmic frequency scale.

Command line option --log-freq uses a logarithmic frequency scale
based on the MIDI Tuning Standard formula. It is modified to avoid
expanding low frequencies too much. FFT bin scaling is also
changed because of different densities at different heights.
This should better approximate human perception of pitch.

Without that option, everything should be like before.