tyiannak

pyAudioAnalysis: Analyze, Classify and Segment Audio

pyAudioAnalysis is a Python library for audio feature extraction, classification, segmentation and related applications. It provides tools for tasks such as sound classification, event detection, speaker diarization and audio visualization.

MaintainedPythonApache-2.0LibraryMachine LearningAudio Analysis
Stars
6.3k
Forks
1.2k
Stars, last 30 days
+2
Last commit
13 days ago
Contributors
23

Our take

Maintaineda few commits in the last 90 days

Health score

27/100

How it is scored
Activity
30
Community
38
Issues
21
Pull requests
20

+2 stars in the last 30 days

This is a broad Python toolkit for audio analysis with recent maintenance activity, but its low recent release and issue-handling activity and highly concentrated contributions merit consideration before adopting it for a long-lived dependency.

Good fit if

  • You need Python tools for audio features, classification, segmentation or visualization in one library.
  • You are comfortable consulting the project wiki and installing its Python dependencies.
  • You can evaluate updates and support needs against a project whose recent activity is mainly from one contributor.

Look elsewhere if

  • Your team requires frequent published releases or a demonstrated recent cadence of merged pull requests and closed issues.
  • You need a project with contributions spread across its maintainers.
  • Your use case falls outside audio analysis and the listed classification, segmentation, regression and visualization tasks.
All health signals
Last commit2026-10-09 (13 days ago)
Commits, last 90 days2
Releases, last 12 months0
Contributors23 (top contributor: 90% of commits)
Issues closed, last 90 days0
Pull requests merged, last 90 days0
Project age12 years

Checked on 2026-10-23 with the GitHub API.

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

6,271

Forks

1,210

Change since Nov 11, 2026: 0 stars·-1 forks

Overview

pyAudioAnalysis is a Python library for audio feature extraction, classification, segmentation and applications, developed by MagCIL at NCSR Demokritos. It gives Python users and command-line workflows a single toolkit for turning audio files into features and applying machine-learning models to classify, segment or otherwise analyze audio.

The library covers both supervised tasks, such as training a classifier on labeled audio folders, and unsupervised analysis, including speaker diarization. Its README links to a wiki for detailed usage guidance and examples.

Key Features

  • Extract audio representations including MFCCs, spectrograms and chromagrams.
  • Train, tune and evaluate classifiers for audio segments, then classify new sounds.
  • Detect audio events and remove silence from long recordings.
  • Perform supervised segmentation that combines segmentation and classification.
  • Perform unsupervised segmentation, including speaker diarization, and extract audio thumbnails.
  • Train and apply audio regression models, including for emotion-recognition applications.
  • Reduce dimensionality to visualize audio data and similarities.
  • Run analysis tasks through Python wrappers or command-line commands.

Use Cases

  • A researcher can extract audio features and evaluate segment classifiers for a labeled sound dataset.
  • A speech or media team can use unsupervised segmentation to explore recordings and identify speaker turns.
  • A developer can detect events or exclude silence when processing long audio recordings.
  • A machine-learning practitioner can visualize audio representations or experiment with regression for an application such as emotion recognition.

What you need

Detected in the repository

  • Python (from setup.py)
  • A test suite

License in plain words

Apache-2.0permissive

  • Commercial use: yes
  • Modify and redistribute: yes
  • You must keep: the license, the NOTICE file and a note of your changes
  • Share your changes: no
  • Includes an explicit patent grant from the contributors:

A summary, not legal advice: the LICENSE file is what applies.

Getting Started

git clone https://github.com/tyiannak/pyAudioAnalysis.git
pip install -r ./requirements.txt
pip install -e .

See the README and project wiki for examples and task-specific guidance.

Considerations

  • The project is marked maintained and has had a few commits recently, but it has published no release in over a year.
  • Most of the code comes from one person, despite a wider contributor set. No issues were closed and no pull requests were merged in the recent measured period, so do not assume fast community support.
  • The supplied requirements identify Python and tests; they do not specify a required GPU, database or container runtime.
  • The project uses the Apache-2.0 license. Review its terms for your distribution and use case.

Found this useful?

Share it with someone who would like pyAudioAnalysis.

Comparisons