The Constant-Q Transform (CQT) is a time-frequency transform that spaces frequency bins logarithmically and keeps the ratio of center frequency to bandwidth the same for every bin. It resolves low frequencies finely with long windows and high frequencies coarsely with short windows.
The ordinary short-time Fourier transform (STFT) uses windows of the same length at every frequency, so its frequency bins are spaced at equal intervals in Hz. Musical scales, however, are geometric: each semitone raises the frequency by a factor of about 1.06. In the original paper's example, analyzing 32 kHz audio with a 1024-point window gives a frequency resolution of 31.3 Hz, which at the violin's lowest note G3 (196 Hz) is as much as 16% of the frequency, too coarse to distinguish adjacent semitones (about 6% apart). At the piano's highest note C8 (4186 Hz), on the other hand, it is 0.7%, so the computation is finer than necessary.
Judith Brown proposed the CQT in 1991 for analyzing musical sounds. Because its bins are aligned with the musical scale, it can distinguish neighboring notes even in the low register and does no wasted computation in the high register. It is used for music transcription, chord and key recognition, instrument identification, and more. If the mel scale divides frequency according to "how the human ear perceives it," the CQT divides it according to "the musical scale."

