Audinterface

Latest version: v1.2.1

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

Scan your dependencies

Page 1 of 8

1.2.1

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

* Changed: default value of
``process_func_applies_sliding_window``
argument of ``audinterface.Feature``
from ``True`` to ``False``
* Fixed: ``multiprocessing`` for
``audinterface.Feature``,
``audinterface.Process``,
``audinterface.ProcessWithContext``,
``audinterface.Segment``
* Removed: deprecated ``unit`` argument
from ``audinterface.Feature``

1.2.0

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

* Added: ``process_func_args`` argument to
``audinterface.Feature.process_file()``,
``audinterface.Feature.process_files()``,
``audinterface.Feature.process_folder()``,
``audinterface.Feature.process_index()``,
``audinterface.Feature.process_signal()``,
``audinterface.Feature.process_signal_from_index()``,
``audinterface.Process.process_file()``,
``audinterface.Process.process_files()``,
``audinterface.Process.process_folder()``,
``audinterface.Process.process_index()``,
``audinterface.Process.process_signal()``,
``audinterface.Process.process_signal_from_index()``,
``audinterface.ProcessWithContext.process_index()``,
``audinterface.ProcessWithContext.process_signal_from_index()``,
``audinterface.Segment.process_file()``,
``audinterface.Segment.process_files()``,
``audinterface.Segment.process_folder()``,
``audinterface.Segment.process_index()``,
``audinterface.Segment.process_signal()``,
``audinterface.Segment.process_signal_from_index()``.
It allows to temporarily overwrite
the ``process_func_args`` argument
used when instantiating an interface
* Changed: depend on ``audeer>=1.18.0``
* Fixed: avoid deprecation warning
by replacing
``pkg_resources``
internally with
``importlib.metadata``

1.1.0

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

* Added: ``include_root`` argument to
``audinterface.Feature.process_folder()``,
``audinterface.Process.process_folder()``,
``audinterface.Segment.process_folder()``.
Returns relative file path
in index
if set to ``False``.
Default value is ``True``
* Changed: when ``audinterface.Feature``
is instantiated with an ``audinterface.Segment``
object that returns an empty index,
``audinterface.Feature.process_*()``
no longer return ``Index([], dtype="object")``
but ``MultiIndex([], names=["file", "start", "end"])``
* Fixed: preserve order of ``start`` and ``end`` values
as returned by the segmentation callable
in the index returned by ``audinterface.Segment``
processing functions
* Fixed: precision of ``audinterface.utils.to_timedelta()``
for ``pd.Timedelta`` objects as input,
e.g.
``to_timedelta(pd.Timedelta("0 days 00:00:35.511437999"))``
now returns
``Timedelta("0 days 00:00:35.511437999")``
instead of
``Timedelta("0 days 00:00:35.511437")``.
This also affects the output of
``audinterface.utils.signal_index()``
* Fixed: preserve requested ``start`` and ``end`` values in
``process_file()``,
``process_files()``,
``process_folder()``
methods of ``audinterface.Process``
and ``audinterface.Feature()``.
Before they were rounded
to the next sample
in the returned index

1.0.4

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

* Changed: require ``audmath>=1.3.0``
* Changed: require ``audiofile>=1.3.0``
* Changed: always evenly round
``start`` and ``end``
to samples
in ``audinterface.utils.read_signal()``
* Fixed: process functions
that work on segments
are now always processing the identical signal
independent if they get the signal as input,
like ``audinterface.Process.process_signal()``,
or a file,
like ``audinterface.Process.process_file()``

1.0.3

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

* Added: ``cache_root`` argument
to ``audinterface.Segment.process_index()``

1.0.2

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

* Added: support for Python 3.11
* Changed: require ``audformat>=1.0.1``
* Fixed: ``*.process_index()``
keeps precision of ``end`` values
when a segmented index
is returned

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.