Skip to content

Commit

Permalink
Release v0.32.0
Browse files Browse the repository at this point in the history
  • Loading branch information
iver56 committed Aug 15, 2023
1 parent 8f7d8a1 commit d84bb69
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 10 deletions.
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)

Expand Down
2 changes: 1 addition & 1 deletion audiomentations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
21 changes: 19 additions & 2 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packaging.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit d84bb69

Please sign in to comment.