Gammatone-based (auditory) spectrograms

Calculates a spectrogram-like time-frequency intensity matrix based on Gammatone filters.
2.4K Downloads
Updated 12 Mar 2009

View License

Gammatone filters are a popular linear approximation to the filtering performed by the ear. This routine provides a simple wrapper for generating time-frequency surfaces based on a gammatone analysis, which can be used as a replacement for a conventional spectrogram. It also provides a fast approximation to this surface based on weighting the output of a conventional FFT. The underlying Gammatone filters are taken (with permission) from Malcolm Slaney's Auditory Toolbox, http://cobweb.ecn.purdue.edu/~malcolm/interval/1998-010/ .

Cite As

Dan Ellis (2026). Gammatone-based (auditory) spectrograms (https://www.mathworks.com/matlabcentral/fileexchange/23053-gammatone-based-auditory-spectrograms), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.2.0.0

- removed stray reference to local function (imgsc)
- use "figure" to avoid overwriting plot in demo script

1.1.0.0

"Fast" method now exactly models frequency response of classic filters; demo routine now includes plots to compare them.

1.0.0.0