diff --git a/README.md b/README.md index f8b77c68..cb4542fa 100644 --- a/README.md +++ b/README.md @@ -94,12 +94,30 @@ The API documentation, along with guides, example code, illustrations and exampl # Changelog -## [0.37.0] - 2024-09-03 +## [0.38.0] - 2024-12-06 + +### Added + +* Add/improve parameter validation in `AddGaussianSNR`, `GainTransition`, `LoudnessNormalization` and `AddShortNoises` +* Add/update type hints for consistency +* Add human-readable string representation of audiomentations class instances ### Changed -* Leverage the SIMD-accelerated [numpy-minmax](https://github.com/nomonosound/numpy-minmax) package for speed improvements. These transforms are faster now: `Limiter`, `Mp3Compression` and `Normalize`. Unfortunately, this change removes support for macOS running on Intel. Intel Mac users have the following options: A) use audiomentations 0.36.1, B) Create a fork of audiomentations, C) submit a patch to numpy-minmax, D) run Linux or Windows. -* Limit numpy dependency to >=1.21,<2 for now, since numpy v2 is not officially supported yet. +* Improve documentation with respect to consistency, clarity and grammar +* Adjust Python version compatibility range, so all patches of Python 3.12 are supported + +### Removed + +* Remove deprecated _in_db args in `Gain`, `AddBackgroundNoises`, `AddGaussianSNR`, `GainTransition`, `LoudnessNormalization` and `AddShortNoises` + +### Fixed + +* Fix a bug where `AirAbsorption` often chose the wrong humidity bucket +* Fix wrong logic in validation check of relation between `crossfade_duration` and `min_part_duration` in `RepeatPart` +* Fix default value of `max_absolute_rms_db` in `AddBackgroundNoises`. It was incorrectly set to -45.0, but is now -15.0. This bug was introduced in 0.31.0. +* Fix various errors in the documentation of `AddShortNoises` and `AirAbsorption` +* Fix a bug where `AddShortNoises` sometimes raised a `ValueError` because of an empty array. This bug was introduced in 0.36.1. For the full changelog, including older versions, see [https://iver56.github.io/audiomentations/changelog/](https://iver56.github.io/audiomentations/changelog/) diff --git a/audiomentations/__init__.py b/audiomentations/__init__.py index 6e5a4723..cd67821b 100644 --- a/audiomentations/__init__.py +++ b/audiomentations/__init__.py @@ -41,4 +41,4 @@ from .spec_augmentations.spec_channel_shuffle import SpecChannelShuffle from .spec_augmentations.spec_frequency_mask import SpecFrequencyMask -__version__ = "0.37.0" +__version__ = "0.38.0" diff --git a/docs/changelog.md b/docs/changelog.md index 3e9a546d..7e96e18c 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -5,6 +5,31 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.38.0] - 2024-12-06 + +### Added + +* Add/improve parameter validation in `AddGaussianSNR`, `GainTransition`, `LoudnessNormalization` and `AddShortNoises` +* Add/update type hints for consistency +* Add human-readable string representation of audiomentations class instances + +### Changed + +* Improve documentation with respect to consistency, clarity and grammar +* Adjust Python version compatibility range, so all patches of Python 3.12 are supported + +### Removed + +* Remove deprecated _in_db args in `Gain`, `AddBackgroundNoises`, `AddGaussianSNR`, `GainTransition`, `LoudnessNormalization` and `AddShortNoises` + +### Fixed + +* Fix a bug where `AirAbsorption` often chose the wrong humidity bucket +* Fix wrong logic in validation check of relation between `crossfade_duration` and `min_part_duration` in `RepeatPart` +* Fix default value of `max_absolute_rms_db` in `AddBackgroundNoises`. It was incorrectly set to -45.0, but is now -15.0. This bug was introduced in 0.31.0. +* Fix various errors in the documentation of `AddShortNoises` and `AirAbsorption` +* Fix a bug where `AddShortNoises` sometimes raised a `ValueError` because of an empty array. This bug was introduced in 0.36.1. + ## [0.37.0] - 2024-09-03 ### Changed @@ -530,6 +555,7 @@ Thanks to karpnv * Initial release. Includes only one transform: `AddGaussianNoise` +[0.37.0]: https://github.com/iver56/audiomentations/compare/v0.37.0...v0.38.0 [0.37.0]: https://github.com/iver56/audiomentations/compare/v0.36.1...v0.37.0 [0.36.1]: https://github.com/iver56/audiomentations/compare/v0.36.0...v0.36.1 [0.36.0]: https://github.com/iver56/audiomentations/compare/v0.35.0...v0.36.0 diff --git a/setup.py b/setup.py index 6915f5ea..21e0739a 100644 --- a/setup.py +++ b/setup.py @@ -53,7 +53,7 @@ def find_version(*file_paths): "pyroomacoustics>=0.6.0", ] }, - python_requires=">=3.8,<3.13.dev0", + python_requires=">=3.8,<3.13", classifiers=[ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9",