Amadeus does quite a good job of allowing flexibility in configuring its spectrograph (or sonogram as it¹s called) for specific sounds and it¹s quite affordable.
Some popular free software:
Praat a free software – is quite amazing for speech analysis purposes, both for the ease of its parameter control and for its automatic analysis functions (formants, pitch, intensity, pulses); however, it¹s not good for music for several reasons (1) it mixes stereo tracks into mono, (2) it does not offer logarithmic display, (3) it¹s stuck on the Gauss window which isn¹t flat (in fact it shows brown noise with equal intensity throughout the spectrum)
Audacity allows some level of control over window FFT size, color, and frequency range but uses linear display only, and worse of all, does not show the frequency you are pointing at with the cursor; it’s not really usable.
However, a free software that is quite impressive and available for both PC and MAC is Sonic Visualiser available at http://www.sonicvisualiser.org/index.html. It allows control over range, logarithmic/linear view, window type (7 options) and size, scale, color, threshold, gain and more.
Eldad