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/ .
Dan Ellis (2023). Gammatone-based (auditory) spectrograms (https://www.mathworks.com/matlabcentral/fileexchange/23053-gammatone-based-auditory-spectrograms), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
- removed stray reference to local function (imgsc)
"Fast" method now exactly models frequency response of classic filters; demo routine now includes plots to compare them.