--- id: gammatone version: "1.0.3" license: unclear license_treatment: unclear maintenance: abandoned --- # Gammatone License: unclear · Maintenance: abandoned · Downloads: 90.9K/mo ## What it is and what it does Gammatone is a Python port of Malcolm Slaney's and Dan Ellis' MATLAB gammatone filterbank code for analyzing audio through a perceptual lens. Instead of a standard Fourier-based spectrogram, it applies a bank of gammatone filters—whose bandwidth increases with center frequency—to model how the human auditory system perceives sound. The result is a time-varying spectrum that better matches human hearing than linear frequency analysis, with lower frequencies appearing more spread out and features appearing more intuitively positioned. The package depends on numpy, scipy, and matplotlib, and runs on Python 3.8+. It can be used as a command-line tool to visualize audio files as gammatone spectrograms, or imported as a library for programmatic signal analysis. The repository is archived and no longer maintained, so it is stable but receives no updates. Use it for: - Visualize music or speech in a way that better matches human perception than standard spectrograms. - Analyze audio signals for research in psychoacoustics or auditory perception modeling. - Extract perceptually-motivated features from sound for machine learning on audio tasks. - Teach signal processing concepts by comparing gammatone and Fourier-based representations. - Process audio in scientific or educational contexts where human hearing models are relevant. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Applies banks of gammatone filters to audio signals to produce perceptually-motivated spectrograms that model how the human ear perceives sound, using numpy and scipy. Yes, if you need perceptually-motivated audio analysis and can accept an abandoned codebase. The package is stable, has no known vulnerabilities, and low install friction. However, verify the unclear license before use in proprietary work, and do not expect bug fixes or maintenance. Best suited for research, education, or stable production use where no ongoing support is required. ## Install pip install gammatone uv add gammatone poetry add gammatone ## Installing Gammatone Before you install: Low friction install with standard scientific dependencies (numpy, scipy, matplotlib). Repository is archived and abandoned as of 2024-09-11, with no active maintenance—suitable for stable use cases but expect no updates or support. License in practice: License status is unclear; no SPDX identifier or raw license text is available. Verify licensing terms before use in proprietary or redistributed work. Quickstart: pip install gammatone import gammatone # Analyze a .wav file gammatone FurElise.wav -d 10 Requires Python >= 3.8 and a .wav audio file to analyze. Verify before relying: - Whether the unclear license permits commercial or proprietary use. - Current state of the MATLAB reference implementation and whether the port remains accurate. - Whether the package is suitable for production audio analysis or primarily for research/education. ## Package facts - License: not declared (unclear) - Python support: supports_current - Install friction: low - Maintenance: abandoned - Downloads: 90.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags gammatone filterbank audio, perceptual audio analysis, auditory spectrogram, human hearing model, gammatone-gram visualization, auditory filterbank python, psychoacoustic spectrum, audio-processing, psychoacoustics, signal-analysis [View on SkillFed](https://skillfed.io/packages/gammatone) · [View on PyPI](https://pypi.org/project/gammatone/)