$npx skillfedfor your agent

audiofile

Fast reading of all kind of audio files

Worth itPyPI Scientific/EngineeringReleased May 202690.6K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — audiofile-1.6.1-py3-none-any.whl
v1.6.1 · released 2026-05-20 · Python >=3.10 · 4 runtime deps: audeer, audmath, numpy, soundfile

Yes. audiofile is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and offers low install friction. It solves a real problem—unified, fast audio I/O across formats—with a simple API. Install it if you work with audio files in multiple formats and want to avoid format-specific code.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires ffmpeg, sox, or mediainfo installed on the system for format conversion and metadata extraction of non-WAV formats.
  • Low install friction with a pure-Python wheel and four runtime dependencies.
  • Active maintenance with a recent commit on 2026-08-05 and stable production status.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; attribution required.

last release 2026-05-20 (86 days) · last repo commit 2026-08-05 · 39 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 90,602 downloads/mo, #13,573 on PyPI

Verify before relying

pip install audiofile

import audiofile

signal, sampling_rate = audiofile.read("signal.wav")
  • Whether the package handles edge cases like corrupted or truncated audio files gracefully.
  • Performance benchmarks comparing reading speed across different audio formats and file sizes.
  • Exact behavior when writing formats (WAV, FLAC, MP3, OGG) with various codec options or quality settings.
Same gist for agents: .md · .json

What it is and what it does

audiofile is a Python library for reading and writing audio files with a focus on reading speed. It abstracts away the complexity of working with multiple audio formats by leveraging ffmpeg, sox, and mediainfo for format conversion and metadata extraction, while using soundfile as its core reader. The package provides a simple API to extract signal data and metadata (channels, duration, samples, sampling rate) from any format those tools support, and can write to WAV, FLAC, MP3, and OGG.

The main use case is audio processing pipelines where you need to work with heterogeneous audio sources without worrying about format-specific handling. It automatically converts unsupported formats to WAV before reading, ensuring consistent behavior across your codebase. The dependency stack includes audeer, audmath, numpy, and soundfile, making it suitable for scientific and research applications that need reliable, fast audio I/O.

Use it for

  • Extract audio signals and metadata from mixed audio formats in a batch processing pipeline.
  • Build audio feature extraction workflows that accept files in any format ffmpeg or sox supports.
  • Convert and standardize audio files to WAV, FLAC, MP3, or OGG in a research or production system.
  • Read audio duration and sample counts reliably across formats without manual format detection.
  • Integrate audio file handling into machine learning preprocessing steps with minimal boilerplate.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

audiofile is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and offers low install friction. It solves a real problem—unified, fast audio I/O across formats—with a simple API. Install it if you work with audio files in multiple formats and want to avoid format-specific code.

Install

audiofile on PyPI

Before you install

Low install friction with a pure-Python wheel and four runtime dependencies. Active maintenance with a recent commit on 2026-08-05 and stable production status.

Requires ffmpeg, sox, or mediainfo installed on the system for format conversion and metadata extraction of non-WAV formats.

License in practice

MIT license permits commercial and private use with minimal restrictions; attribution required.

Quickstart

pip install audiofile

import audiofile

signal, sampling_rate = audiofile.read("signal.wav")

Verify before relying

  • Whether the package handles edge cases like corrupted or truncated audio files gracefully.
  • Performance benchmarks comparing reading speed across different audio formats and file sizes.
  • Exact behavior when writing formats (WAV, FLAC, MP3, OGG) with various codec options or quality settings.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
audeeraudmathnumpysoundfile
MaintenanceActively maintained 86 days since the last release
Last repo commit
First released
Downloads90,602 / month, #13,573 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Multimedia :: Sound/AudioTopic :: Scientific/Engineering

Evidence: audiofile-1.6.1-py3-none-any.whl

Tags

Capabilities
read audio files pythonaudio file metadata extractionwav flac mp3 ogg writingfast audio file readingcross-format audio support
Topics
audio-processingformat-conversion
PyPI keywords
audiotools

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “audio file metadata extraction”

  • audiofileReads and writes audio files across formats supported by ffmpeg, sox,…
  • knowitExtracts detailed metadata from media files (video, audio, container…
  • pymp4Parses and builds MP4 box structures from binary data using the…

Give your agent the search over MCP, or paste the wish link into any chat.

More Scientific/Engineering packages

numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.

Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.

Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also audiolab · audioread · SigMF · soundfile · tinytag · miniaudio · mutagen · knowit · sox · mediafile