Audiofile

Latest version: v1.5.0

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

Scan your dependencies

Page 2 of 6

1.2.0

--------------------------

* Added: ``normalize`` argument to ``audiofile.convert_to_wav()``
* Added: ``bit_depth`` argument to ``audiofile.convert_to_wav()``
* Added: ``overwrite`` argument to ``audiofile.convert_to_wav()``
* Added: examples to the API documentation
* Added: example how to use ``audresample.resample()``
and ``audresample.remix()``
in the API documentation of ``audiofile.read()``
* Added: the arguments ``duration`` and ``offset``
of ``audiofile.read()``
and ``audiofile.convert_to_wav()``
can be specified in different units
or samples and most other formats
supported by ``audmath.duration_in_seconds()``
* Added: the arguments ``duration`` and ``offset``
of ``audiofile.read()``
and ``audiofile.convert_to_wav()``
support negative values
* Changed: if no output path is provided to
``audiofile.convert_to_wav()``,
it is derived from the input path
by replacing the file extension with ``'wav'``
* Fixed: ensure ``audiofile.convert_to_wav()``
creates identical result
as calling ``audiofile.read()``
followed by ``audiofile.write()``
* Fixed: support for non WAV, FLAC, OGG files
like MKA or MP4
on Windows network shares

1.1.1

--------------------------

* Added: support for Python 3.11
* Added: support for Python 3.10
* Changed: split API documentation into sub-pages
for each function
* Removed: dependency on ``pysox``

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``

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.