Fast-align-audio

Latest version: v0.4.0

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

Scan your dependencies

0.4.0

Added

* Distribute source (.tar.gz) on PyPI in addition to built wheels

Changed

* **Breaking change**: The first argument of `align_delayed_signal_with_reference`, is now `reference_length` (int) instead of `reference_signal` (NDArray[np.float32])
* Target numpy 2.x instead of 1.x. If you still depend on numpy 1.x, you need an older version of fast-align-audio.

Removed

* Remove support for Python 3.8
* Remove musllinux from the build matrix

0.3.0

Changed

* **Breaking change**: `align_delayed_signal_with_reference` now returns a list of gaps in addition to the aligned signal. So it now returns a `Tuple[NDArray[np.float32], List[Tuple[int, int]]]` instead of a `NDArray[np.float32]`.
* Add support for python 3.10 and 3.11

Fixed

* Fix a bug where `align_delayed_signal_with_reference` didn't work when the input was 2D and the offset was positive

0.2.1

Changed

* Add support for different length arrays in `align_delayed_signal_with_reference`. The API remains unchanged.

0.2.0

Added

* Implement an additional alignment method based on correlation coefficients. Set `method="corr"` in `find_best_alignment_offset` to use it.
* Add support for inverse polarity in `find_best_alignment_offset` (with `consider_both_polarities=True`)
* Add function `align_delayed_signal_with_reference`
* Explicitly list numpy as a dependency
* Set up a test system

Changed

* Rename `best_offset` to `find_best_alignment_offset`. Rename and reorder its arguments.
* `find_best_alignment_offset` now returns a tuple with offset (int) and metric (MSE or correlation coefficient, depending on method)

Removed

* Remove `align` function

0.1.2

Rename fast_align_audio module to alignment to make it less ambiguous how to do imports

0.1.1

Initial release

Links

Releases

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.