Courses & TutorialsProgramming

Awesome Python Scientific Audio – Massive Collection of Resources

Spread the love
The aim of this repository is to create a comprehensive, curated list of python software/tools related and used for scientific research in audio/music applications.


Audio Related Packages

  • Total number of packages: 66


  • audiolazy :octocat: 📦 – Expressive Digital Signal Processing (DSP) package for Python.
  • audioread :octocat: 📦 – Cross-library (GStreamer + Core Audio + MAD + FFmpeg) audio decoding.
  • mutagen :octocat: 📦 – Reads and writes all kind of audio metadata for various formats.
  • pyAV :octocat: – PyAV is a Pythonic binding for FFmpeg or Libav.
  • (Py)Soundfile :octocat: 📦 – Library based on libsndfile, CFFI, and NumPy.
  • pySox :octocat: 📦 – Wrapper for sox.
  • stempeg :octocat: 📦 – read/write of STEMS multistream audio.
  • tinytag :octocat: 📦 – reading music meta data of MP3, OGG, FLAC and Wave files.
  • audiomate :octocat: 📦 – Loading different types of audio datasets.

Transformations – General DSP

Feature extraction

  • aubio :octocat: 📦 – Feature extractor, written in C, Python interface.
  • audiolazy :octocat: 📦 – Realtime Audio Processing lib, general purpose.
  • essentia :octocat: – Music related low level and high level feature extractor, C++ based, includes Python bindings.
  • python_speech_features :octocat: 📦 – Common speech features for ASR.
  • pyYAAFE :octocat: – Python bindings for YAAFE feature extractor.
  • speechpy :octocat: 📦 – Library for Speech Processing and Recognition, mostly feature extraction for now.

Data augmentation

Speech Processing

Environmental Sounds

  • sed_eval :octocat: 📦 – Evaluation toolbox for Sound Event Detection

Perceptial Models – Auditory Models

Source Separation

  • commonfate :octocat: 📦 – Common Fate Model and Transform.
  • NTFLib :octocat: – Sparse Beta-Divergence Tensor Factorization.
  • NUSSL :octocat: 📦 – Holistic source separation framework including DSP methods and deep learning methods.
  • NIMFA :octocat: 📦 – Several flavors of non-negative-matrix factorization.

Music Information Retrieval

  • Catchy :octocat: – Corpus Analysis Tools for Computational Hook Discovery.
  • Madmom :octocat: 📦 – MIR packages with strong focus on beat detection, onset detection and chord recognition.
  • mir_eval :octocat: 📦 – Common scores for various MIR tasks. Also includes bss_eval implementation.
  • msaf :octocat: 📦 – Music Structure Analysis Framework.
  • librosa :octocat: 📦 – General audio and music analysis.

Deep Learning

Symbolic Music – MIDI – Musicology

  • Music21 :octocat: 📦 – Toolkit for Computer-Aided Musicology.
  • Mido :octocat: 📦 – Realtime MIDI wrapper.
  • mingus :octocat: 📦 – Advanced music theory and notation package with MIDI file and playback support.
  • Pretty-MIDI :octocat: 📦 – Utility functions for handling MIDI data in a nice/intuitive way.

Realtime applications

  • Jupylet :octocat: – Subtractive, additive, FM, and sample-based sound synthesis.
  • PYO :octocat: – Realtime audio dsp engine.
  • python-sounddevice :octocat: 📦 – PortAudio wrapper providing realtime audio I/O with NumPy.

Web Audio

  • TimeSide (Beta) :octocat: – high level audio analysis, imaging, transcoding, streaming and labelling.

Audio related APIs and Datasets

Wrappers for Audio Plugins



Scientific Papers

Other Resources

Related lists

Awesome Python Resources List

Awesome Python Asyncio Resources List

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button