Skip to content

Commit 72ccf7b

Browse files
committed
Release v0.43.0
1 parent 62a2293 commit 72ccf7b

File tree

5 files changed

+34
-12
lines changed

5 files changed

+34
-12
lines changed

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -91,21 +91,23 @@ The API documentation, along with guides, example code, illustrations and exampl
9191

9292
# Changelog
9393

94-
## [0.42.0] - 2025-07-04
94+
## [0.43.0] - 2025-09-09
9595

96-
### Added
96+
### Changed
9797

98-
* Add support for Python 3.13
99-
* Add support for librosa 0.11.0
98+
* Make `LoudnessNormalization` **400% faster** by switching from pyloudnorm to the new and faster alternative [loudness](https://github.com/iver56/loudness)
99+
* Improve `AddBackgroundNoise` performance: Only load/decode the part of the noise file that is needed, instead of the entire file.
100+
* Bump min Python version to 3.10
101+
* Switch to a more modern type hint style
100102

101-
### Changed
103+
### Deprecated
102104

103-
* Make `Mp3Compression` **25-300% faster** (depending on hardware, audio properties like duration and number of channels and various params, like bitrate) with the new `backend="fast-mp3-augment"` (now default). The extra dependency for this is [fast-mp3-augment](https://github.com/iver56/fast-mp3-augment), which pulls a few useful tricks for faster execution.
104-
* Make `Limiter` **30% faster** and easier to install (extra dependency is now [numpy-audio-limiter](https://github.com/iver56/numpy-audio-limiter) instead of [cylimiter](https://github.com/pzelasko/cylimiter/)). The `Limiter` behavior has not changed, although there are minor numerical differences.
105+
* Deprecate `"pydub"` backend in `Mp3Compression`, because pydub isn't maintained anymore, and depends on audioop, which got removed in Python 3.13. The recommended alternative is `"fast-mp3-augment"`
105106

106-
### Fixed
107+
### Removed
107108

108-
* Handle non-contiguous audio ndarray input to `PitchShift` and `TimeStretch` properly
109+
* Remove upper Python version limit to avoid hindering early adopters
110+
* Remove LRU cache in `AddBackgroundNoise`, due to the changed way of loading audio, and because such audio datasets are commonly larger than RAM anyway
109111

110112
For the full changelog, including older versions, see [https://iver56.github.io/audiomentations/changelog/](https://iver56.github.io/audiomentations/changelog/)
111113

audiomentations/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@
3939
from .augmentations.trim import Trim
4040
from .core.composition import Compose, OneOf, SomeOf
4141

42-
__version__ = "0.42.0"
42+
__version__ = "0.43.0"

docs/changelog.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,24 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.43.0] - 2025-09-09
9+
10+
### Changed
11+
12+
* Make `LoudnessNormalization` **400% faster** by switching from pyloudnorm to the new and faster alternative [loudness](https://github.com/iver56/loudness)
13+
* Improve `AddBackgroundNoise` performance: Only load/decode the part of the noise file that is needed, instead of the entire file.
14+
* Bump min Python version to 3.10
15+
* Switch to a more modern type hint style
16+
17+
### Deprecated
18+
19+
* Deprecate `"pydub"` backend in `Mp3Compression`, because pydub isn't maintained anymore, and depends on audioop, which got removed in Python 3.13. The recommended alternative is `"fast-mp3-augment"`
20+
21+
### Removed
22+
23+
* Remove upper Python version limit to avoid hindering early adopters
24+
* Remove LRU cache in `AddBackgroundNoise`
25+
826
## [0.42.0] - 2025-07-04
927

1028
### Added
@@ -682,6 +700,8 @@ Thanks to karpnv
682700

683701
* Initial release. Includes only one transform: `AddGaussianNoise`
684702

703+
[0.43.0]: https://github.com/iver56/audiomentations/compare/v0.42.0...v0.43.0
704+
685705
[0.42.0]: https://github.com/iver56/audiomentations/compare/v0.41.0...v0.42.0
686706

687707
[0.41.0]: https://github.com/iver56/audiomentations/compare/v0.40.0...v0.41.0

docs/waveform_transforms/loudness_normalization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# `LoudnessNormalization`
22

3-
_Added in v0.14.0_
3+
_Added in v0.14.0, updated in v0.43.0_
44

55
Apply a constant amount of gain to match a specific loudness (in LUFS). This is an
66
implementation of ITU-R BS.1770-4.

docs/waveform_transforms/mp3_compression.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# `Mp3Compression`
22

3-
_Added in v0.12.0, updated in v0.42.0_
3+
_Added in v0.12.0, updated in v0.43.0_
44

55
Compress the audio using an MP3 encoder to lower the audio quality. This may help machine
66
learning models deal with compressed, low-quality audio.

0 commit comments

Comments
 (0)