From d84bb69400b607f13001a04d20b7aeffa464ced2 Mon Sep 17 00:00:00 2001 From: iver56 Date: Tue, 15 Aug 2023 12:55:31 +0200 Subject: [PATCH] Release v0.32.0 --- README.md | 18 ++++++++++++------ audiomentations/__init__.py | 2 +- docs/changelog.md | 21 +++++++++++++++++++-- packaging.md | 2 +- 4 files changed, 33 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index c71755fb..e77bcda6 100644 --- a/README.md +++ b/README.md @@ -90,15 +90,21 @@ The API documentation, along with guides, example code, illustrations and exampl # Changelog -## [0.31.0] - 2023-06-21 +## [0.32.0] - 2023-08-15 + +### Added + +* Add new `RepeatPart` transform ### Changed -* Raise exception instead of warning when the given multichannel ndarray has wrong shape -* Add support for the latest librosa 0.10 version -* Switch to a faster resampler internally in pitch shift, leading to much faster execution. This requires `soxr`. -* Bump min `scipy` requirement from 1.0 to 1.3 -* Rename "_in_db" to "_db" in args and parameters. Passing args with the old names still works, but is deprecated and will stop working in a future version. +* Bump min version of numpy dependency from 1.13 to 1.16 +* If a transform is in "frozen parameters" mode, but has no parameters yet, the first transform call will randomize/set parameters +* Increase the threshold for raising `WrongMultichannelAudioShape`. This allows some rare use cases where the number of channels slightly exceeds the number of samples. + +### Fixed + +* Fix some type hints that were `np.array` instead of `np.ndarray` 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 7630c235..d5a41a3c 100644 --- a/audiomentations/__init__.py +++ b/audiomentations/__init__.py @@ -38,4 +38,4 @@ from .spec_augmentations.spec_channel_shuffle import SpecChannelShuffle from .spec_augmentations.spec_frequency_mask import SpecFrequencyMask -__version__ = "0.31.0" +__version__ = "0.32.0" diff --git a/docs/changelog.md b/docs/changelog.md index ed96e1ac..1688b346 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -5,6 +5,22 @@ 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.32.0] - 2023-08-15 + +### Added + +* Add new `RepeatPart` transform + +### Changed + +* Bump min version of numpy dependency from 1.13 to 1.16 +* If a transform is in "frozen parameters" mode, but has no parameters yet, the first transform call will randomize/set parameters +* Increase the threshold for raising `WrongMultichannelAudioShape`. This allows some rare use cases where the number of channels slightly exceeds the number of samples. + +### Fixed + +* Fix some type hints that were `np.array` instead of `np.ndarray` + ## [0.31.0] - 2023-06-21 ### Changed @@ -19,7 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -* Add `AdjustDuration` transform +* Add new `AdjustDuration` transform ### Fixed @@ -447,7 +463,8 @@ Thanks to karpnv * Initial release. Includes only one transform: `AddGaussianNoise` -[Unreleased]: https://github.com/iver56/audiomentations/compare/v0.31.0...HEAD +[Unreleased]: https://github.com/iver56/audiomentations/compare/v0.32.0...HEAD +[0.32.0]: https://github.com/iver56/audiomentations/compare/v0.31.0...v0.32.0 [0.31.0]: https://github.com/iver56/audiomentations/compare/v0.30.0...v0.31.0 [0.30.0]: https://github.com/iver56/audiomentations/compare/v0.29.0...v0.30.0 [0.29.0]: https://github.com/iver56/audiomentations/compare/v0.28.0...v0.29.0 diff --git a/packaging.md b/packaging.md index 625ad394..9f648208 100644 --- a/packaging.md +++ b/packaging.md @@ -1,5 +1,5 @@ * Check that all unit tests are OK -* Run the demo and listen to the sounds to empirically check the results +* Run the demo and listen to the sounds to empirically check the results of any new or changed transforms * Bump the version number in `audiomentations/__init__.py` in accordance with the [semantic versioning specification](https://semver.org/) * Write a summary of the changes in the version history section in changelog.md. Remember to add a link to the new version near the bottom of the file. * Include changelog for only the newest version in README.md