{"id":13827466,"url":"https://github.com/audeering/audiofile","last_synced_at":"2025-06-10T22:14:01.823Z","repository":{"id":34362985,"uuid":"176694165","full_name":"audeering/audiofile","owner":"audeering","description":"Handling audio files in Python","archived":false,"fork":false,"pushed_at":"2025-01-03T10:48:40.000Z","size":16847,"stargazers_count":38,"open_issues_count":5,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-06T22:03:29.272Z","etag":null,"topics":["audio","read","write"],"latest_commit_sha":null,"homepage":"https://audeering.github.io/audiofile/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/audeering.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-20T09:00:27.000Z","updated_at":"2025-05-31T00:11:57.000Z","dependencies_parsed_at":"2024-01-29T18:08:49.747Z","dependency_job_id":"aa24711e-a0ec-4dd9-b50f-a9c59f6ceba6","html_url":"https://github.com/audeering/audiofile","commit_stats":{"total_commits":164,"total_committers":4,"mean_commits":41.0,"dds":"0.018292682926829285","last_synced_commit":"0ae2de5ac552a2982417e7cfde0d9b39322ef7c4"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/audeering%2Faudiofile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/audeering%2Faudiofile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/audeering%2Faudiofile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/audeering%2Faudiofile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/audeering","download_url":"https://codeload.github.com/audeering/audiofile/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/audeering%2Faudiofile/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259160062,"owners_count":22814513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audio","read","write"],"created_at":"2024-08-04T09:01:58.267Z","updated_at":"2025-06-10T22:14:01.797Z","avatar_url":"https://github.com/audeering.png","language":"Python","readme":"=========\naudiofile\n=========\n\n|tests| |coverage| |docs| |python-versions| |license|\n\nThe Python package **audiofile** handles all kind of audio files\nwith a focus on `reading speed`_.\n\nIt can read and request information\non channels, duration, number of samples and sampling rate\nfor all files that are supported by\nffmpeg_,\nsox_,\nand mediainfo_.\nIn addition,\nit can write WAV, FLAC, MP3, and OGG files.\n\nHave a look at the installation_ and usage_ instructions as a starting point.\n\nCode example for reading a file:\n\n.. code-block:: python\n\n    import audiofile\n\n    signal, sampling_rate = audiofile.read(\"signal.wav\")\n\nUnder the hood it uses soundfile_ to read the audio files,\nconverting non-supported formats first to WAV files.\nThe same approach is applied\nwhen requesting duration for formats that need to be decoded\nto ensure that duration and number of samples match.\n\n\n.. _ffmpeg: https://www.ffmpeg.org/\n.. _installation: https://audeering.github.io/audiofile/installation.html\n.. _mediainfo: https://mediaarea.net/en/MediaInfo/\n.. _usage: https://audeering.github.io/audiofile/usage.html\n.. _reading speed: https://audeering.github.io/audiofile/benchmark.html\n.. _sox: http://sox.sourceforge.net/\n.. _virtualenv: https://virtualenv.pypa.io/\n.. _soundfile: https://python-soundfile.readthedocs.io/\n\n.. |tests| image:: https://github.com/audeering/audiofile/workflows/Test/badge.svg\n    :target: https://github.com/audeering/audiofile/actions?query=workflow%3ATest\n    :alt: Test status\n.. |coverage| image:: https://codecov.io/gh/audeering/audiofile/branch/main/graph/badge.svg?token=LVF0621BKR\n    :target: https://codecov.io/gh/audeering/audiofile/\n    :alt: code coverage\n.. |docs| image:: https://img.shields.io/pypi/v/audiofile?label=docs\n    :target: https://audeering.github.io/audiofile/\n    :alt: audiofile's documentation\n.. |python-versions| image:: https://img.shields.io/pypi/pyversions/audiofile.svg\n    :target: https://pypi.org/project/audiofile/\n    :alt: audiofile's supported Python versions\n.. |license| image:: https://img.shields.io/badge/license-MIT-green.svg\n    :target: https://github.com/audeering/audiofile/blob/main/LICENSE\n    :alt: audiofile's MIT license\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faudeering%2Faudiofile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faudeering%2Faudiofile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faudeering%2Faudiofile/lists"}