The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Add support for Python 3.13
- Add support for Python 3.12
- Distribute source (.tar.gz) on PyPI in addition to built wheels
- Breaking change: The first argument of
align_delayed_signal_with_reference, is nowreference_length(int) instead ofreference_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.
- Remove support for Python 3.8
- Remove musllinux from the build matrix
- Breaking change:
align_delayed_signal_with_referencenow returns a list of gaps in addition to the aligned signal. So it now returns aTuple[NDArray[np.float32], List[Tuple[int, int]]]instead of aNDArray[np.float32]. - Add support for python 3.10 and 3.11
- Fix a bug where
align_delayed_signal_with_referencedidn't work when the input was 2D and the offset was positive
- Add support for different length arrays in
align_delayed_signal_with_reference. The API remains unchanged.
- Implement an additional alignment method based on correlation coefficients. Set
method="corr"infind_best_alignment_offsetto use it. - Add support for inverse polarity in
find_best_alignment_offset(withconsider_both_polarities=True) - Add function
align_delayed_signal_with_reference - Explicitly list numpy as a dependency
- Set up a test system
- Rename
best_offsettofind_best_alignment_offset. Rename and reorder its arguments. find_best_alignment_offsetnow returns a tuple with offset (int) and metric (MSE or correlation coefficient, depending on method)
- Remove
alignfunction
Rename fast_align_audio module to alignment to make it less ambiguous how to do imports
Initial release