{"categories":[{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/8"},{"label":"Sound/Audio","url":"https://skillfed.io/packages/category/multimedia-sound-audio"}],"enrichment":{"capability":"Reads and writes audio files across formats supported by ffmpeg, sox, and mediainfo, with optimized reading speed and metadata extraction for channels, duration, samples, and sampling rate.","skillfed_tags":["audio-processing","format-conversion"],"use_cases":["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."],"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.\n\nThe 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.","worth_installing":"Yes. audiofile is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and offers low install friction. It solves a real problem\u2014unified, fast audio I/O across formats\u2014with a simple API. Install it if you work with audio files in multiple formats and want to avoid format-specific code."},"id":"audiofile","links":{"html":"https://skillfed.io/packages/audiofile","md":"https://skillfed.io/packages/audiofile.md","pypi":"https://pypi.org/project/audiofile/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-20","license_spdx":"MIT","license_treatment":"permissive","name":"audiofile","python_support":"supports_current","summary":"Fast reading of all kind of audio files"},"popularity":{"monthly_downloads":90602,"position":13573,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.6.1"}
