#416416th of 433 in ML frameworks and libraries

audiomentations

Python library for augmenting audio waveforms in ML training pipelines

Stars
2.3k
License
MIT
Last commit
Dec 2025
Last release
Sep 2025
Language
Python
Stars, last 30 weeks+77
27 Apr 2026: 2,253 stars4 May 2026: 2,254 stars11 May 2026: 2,258 stars18 May 2026: 2,260 stars25 May 2026: 2,265 stars1 Jun 2026: 2,267 stars8 Jun 2026: 2,272 stars15 Jun 2026: 2,276 stars22 Jun 2026: 2,282 stars29 Jun 2026: 2,285 stars6 Jul 2026: 2,289 stars13 Jul 2026: 2,291 stars20 Jul 2026: 2,294 stars27 Jul 2026: 2,294 stars3 Aug 2026: 2,299 stars10 Aug 2026: 2,301 stars17 Aug 2026: 2,308 stars24 Aug 2026: 2,310 stars31 Aug 2026: 2,311 stars7 Sept 2026: 2,311 stars14 Sept 2026: 2,313 stars21 Sept 2026: 2,314 stars28 Sept 2026: 2,314 stars5 Oct 2026: 2,316 stars12 Oct 2026: 2,319 stars19 Oct 2026: 2,319 stars26 Oct 2026: 2,320 stars2 Nov 2026: 2,323 stars9 Nov 2026: 2,327 stars16 Nov 2026: 2,328 stars23 Nov 2026: 2,330 stars

2,253 on 27 Apr 20262,330 on 23 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Audiomentations is a CPU-based Python library that applies randomized transforms to mono or multichannel audio held in NumPy arrays. It offers about 37 waveform transforms, including noise mixing, pitch shift, time stretch, filters, impulse response convolution, room simulation and MP3 compression, chained with a Compose API modeled on albumentations. It fits into TensorFlow/Keras or PyTorch data pipelines.

Who it is for: ML engineers training audio models who need waveform augmentation

Strengths

  • Broad transform set: noise, filters, reverb, impulse responses, MP3 compression, pitch and tempo changes
  • Albumentations-style Compose API with per-transform probability, installed with pip
  • Runs on CPU with mono and multichannel audio, no GPU needed
  • Documentation site with guides, example code and example sounds

Weaknesses

  • CPU only; GPU augmentation needs the separate torch-audiomentations project
  • Waveform transforms only; no spectrogram-level augmentation is listed
  • Listed platforms: Linux (arm, x86), macOS (arm), Windows (x86) only
  • Examples use NumPy float32 arrays, so tensors in PyTorch pipelines need conversion

What it needs

  • no GPU
  • Needs numpy

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
Also in ML frameworks and libraries
RankProjectScore
#414e3nnPyTorch library for building E(3)-equivariant neural networks Live demo ↗ (opens in a new tab)1.3k starscustom license16 out of 100
#415pytorch_sparsePyTorch extension for sparse matrix ops with autograd on CPU and GPU1.1k starsMIT16 out of 100
#417kernelbenchBenchmark for LLM-written GPU kernels against PyTorch reference programs1.3k starscustom license15 out of 100
#418nnaudioPyTorch library that computes spectrograms on the GPU with trainable Fourier kernels1.1k starsMIT15 out of 100
#419igelYAML-driven CLI to train, evaluate and serve scikit-learn models without code3.1k starsMIT14 out of 100