Registry / data / audiolab

audiolab

JSON →
library0.5.1pypypiunverified

A Python library for audio processing and analysis. Version 0.5.1, updated periodically. Supports audio formats like WAV, MP3, FLAC; provides utilities for reading, writing, converting, and manipulating audio data.

pip install audiolab
INSTALL
IMPORT
SIG · AUDIOLAB
A
audiolab
datapythonv0.5.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

audio_open
from audiolab import audio_open
from audiolab import audio_open

Basic example of opening an audio file and reading its data.

from audiolab import audio_open # Open an audio file with audio_open('example.wav') as f: # Read all frames as numpy array data = f.read_all() print('Audio data shape:', data.shape) print('Sample rate:', f.sampling_rate) print('Channels:', f.channels)
Debug
Known issues
gotchaaudio_open returns a context manager that may not be re-entrant. Do not reuse the same file handle after closing.
fix
Always use 'with' statement as shown in quickstart.
affects: all
gotchaThe library may not fully support all MP3 variants or high sample rates. Test with your specific files.
fix
Convert problematic files to WAV or FLAC before processing.
affects: all
breakingIn version 0.5.0, the API changed: 'read' method now returns numpy array instead of list. Older code expecting list may break.
fix
Update code to handle numpy arrays. Use .tolist() if list needed.
affects: >=0.5.0
Upgrade
Version history
0.5.1latest on PyPI · released Mar 25, 2026
Audit
Dependencies
numpyrequiredRequired for array operations
scipyrequiredUsed for signal processing
Agent activity
26 hits · last 30 days
node
20
Amazon
1
OpenAI (training)
1
Resources
audiolab — pip install audiolab · libregistry