Audiofile

Latest version: v1.4.0

Safety actively analyzes 629994 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

1.1.0

* Changed: use ``ffmpeg`` or ``mediainfo``
if ``sox`` binary is missing
instead of raising an error
* Changed: improve ``FileNotFoundError`` message
when ``ffmpeg`` or ``mediainfo`` are required,
but not installed
* Fixed: always raise ``RuntimeError``
for broken files or missing files
* Fixed: mention expected ``FileNotFoundError``
when ``ffmpeg`` or ``mediainfo`` are required,
but not installed
* Fixed: use ``soundfile``
for converting WAV, FLAC, OGG files
with ``audiofile.convert_to_wav()``

1.0.3

* Removed: Python 3.6 support

1.0.2

* Fixed: raise ``RuntimeError``
for broken or empty non SND files

1.0.1

* Fixed: ``audiofile.duration()`` returns now ``0.0``
for an empty WAV file with wrong file extension
instead of ``None``

1.0.0

* Added: support for Python 3.9
* Added: tests for Windows
* Added: tests for macOS
* Added: ``sloppy`` argument to ``audiofile.duration()``
for faster processing of non SND formats
* Changed: ``audiofile.write()`` raises ``RuntimeError``
instead of ``SystemExit``
* Changed: added ``sloppy=True`` results
when accessing metadata of MP3 and MP4 files in the benchmarks
* Removed: deprecated precision argument from ``audiofile.write()``

0.4.3

* Fixed: make ``dtype`` keyword argument available in ``audiofile.read()``

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.