Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Scientific Audio
  3. Gammatone

Gammatone

BSD-3-ClauseMATLAB

A Python toolkit for generating gammatone-based spectrograms using perceptual models of human hearing.

GitHubGitHub
229 stars70 forks0 contributors

What is Gammatone?

Gammatone is a Python toolkit for generating gammatone-based spectrograms, which analyze sound using perceptual models of human hearing. It ports MATLAB code for gammatone filterbanks and Fourier transform weightings to create visualizations that better represent how humans experience sound compared to traditional Fourier-based spectrograms.

Target Audience

Researchers, educators, and developers working in audio signal processing, auditory science, or music visualization who need perceptually accurate sound analysis tools.

Value Proposition

It provides a Python implementation of established auditory models, offering a more intuitive and human-centric approach to sound visualization than standard Fourier methods, with verified accuracy against original MATLAB code.

Overview

Gammatone-based spectrograms, using gammatone filterbanks or Fourier transform weightings.

Use Cases

Best For

  • Creating perceptually accurate spectrograms for music visualization
  • Teaching auditory signal processing with human-centric models
  • Researching auditory perception and sound analysis
  • Porting MATLAB gammatone filterbank code to Python
  • Analyzing audio signals with gammatone filterbanks
  • Developing intuitive sound visualization tools for education

Not Ideal For

  • Real-time audio processing applications requiring low latency
  • Machine learning pipelines needing integration with frameworks like TensorFlow or PyTorch
  • Projects requiring extensive community support or active maintenance
  • Environments where minimal dependencies are critical for deployment

Pros & Cons

Pros

Verified MATLAB Fidelity

Includes test suites that verify the Python implementation against original MATLAB code, ensuring accuracy for research and educational use.

Educational Focus

Designed to teach auditory signal processing with intuitive visualizations that model human hearing, making abstract concepts more accessible.

Efficient FFT Approximation

Uses Fourier transform weightings to approximate gammatone-grams, offering computational efficiency while preserving perceptual accuracy.

Dual Python Support

Compatible with both Python 2 and 3, accommodating legacy systems and broadening usability across different environments.

Cons

Outdated Codebase

Last updated in 2013, with no recent activity, potentially missing modern Python features, bug fixes, or security updates.

Heavy Dependencies

Requires numpy, scipy, matplotlib, and testing libraries, which can increase setup complexity and resource usage for simple tasks.

Sparse Documentation

The README provides basic usage but lacks in-depth tutorials or examples beyond a demo, making it harder for new users to adopt.

Frequently Asked Questions

Quick Stats

Stars229
Forks70
Contributors0
Open Issues0
Last commit3 years ago
CreatedSince 2014

Tags

#audio-analysis#spectrogram#scipy#signal-processing#python#numpy

Built With

P
Python
N
NumPy
m
matplotlib
S
SciPy

Included in

Scientific Audio1.7k
Auto-fetched 3 hours ago

Related Projects

matcheringmatchering

🎚️ Open Source Audio Matching and Mastering

Stars2,577
Forks281
Last commit5 days ago
AudioTKAudioTK

An audio digital processing toolbox based on a workflow/pipeline principle

Stars253
Forks38
Last commit5 years ago
PyRubberbandPyRubberband

python wrapper for rubberband

Stars218
Forks28
Last commit1 year ago
MDCTMDCT

A fast MDCT implementation using SciPy and FFTs

Stars55
Forks13
Last commit4 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub