#418418th of 433 in ML frameworks and libraries
nnaudio
PyTorch library that computes spectrograms on the GPU with trainable Fourier kernels
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts nnaudio on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.nnaudio is on your watch list. Its new releases and problems show there.
- Stars
- 1.1k
- License
- MIT
- Last commit
- May 2026
- Last release
- Nov 2020
- Language
- Python
1,116 on 7 May 20261,133 on 26 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
nnAudio generates spectrograms (STFT, Mel, MFCC, CQT, VQT, Gammatone, CFP) from audio using 1D convolutional layers in PyTorch. Because the transforms are convolutions, they run on the GPU during training and the Fourier or CQT kernels can be made trainable. The README points to a successor, nnAudio2, and says the original needs maintainers.
Who it is for: PyTorch audio researchers who need on-the-fly, trainable spectrogram layers
Strengths
- Covers STFT, Mel, MFCC, CQT, VQT, Gammatone and CFP, plus Griffin-Lim and inverse STFT
- Kernels are trainable and transforms differentiable, unlike torchaudio or librosa
- Built on PyTorch convolutions, so no sox install needed
- Bundles its own mel filter code, so librosa is not required
Weaknesses
- Last tagged release is 2020-11-08; README points to nnAudio2 as the actively maintained version
- Author says regular code review is no longer done; maintainers wanted
- Invertible CQT is still listed as a pending feature
- Unit tests need at least 1931 MiB of GPU memory
What it needs
- GPU optional
- Needs PyTorch >= 1.6.0, NumPy >= 1.14.5, SciPy >= 1.2.0, Python >= 3.6
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in ML frameworks and libraries
See all 433| Rank | Project | Score |
|---|---|---|
| #416 | audiomentationsPython library for augmenting audio waveforms in ML training pipelines | 15 out of 100 |
| #417 | kernelbenchBenchmark for LLM-written GPU kernels against PyTorch reference programs | 15 out of 100 |
| #419 | igelYAML-driven CLI to train, evaluate and serve scikit-learn models without code | 14 out of 100 |
| #420 | stardistNucleus and cell instance segmentation in 2D and 3D microscopy images | 14 out of 100 |
| #421 | jeelizfacefilterWebGL face detection and head-pose tracking from webcam video, for AR filters | 13 out of 100 |