Gammatone-based (auditory) spectrograms

Calculates a spectrogram-like time-frequency intensity matrix based on Gammatone filters.
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, .

Cite As

Dan Ellis (2024). Gammatone-based (auditory) spectrograms (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

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

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