From 73c48997bd03625af49358d89cf58cdce4be803e Mon Sep 17 00:00:00 2001 From: iver56 Date: Tue, 20 Aug 2024 14:56:08 +0200 Subject: [PATCH] Release v0.36.1 --- README.md | 10 ++-------- audiomentations/augmentations/add_gaussian_snr.py | 5 +---- docs/changelog.md | 7 +++++++ 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index f958ae6d..56ee374c 100644 --- a/README.md +++ b/README.md @@ -93,17 +93,11 @@ The API documentation, along with guides, example code, illustrations and exampl # Changelog -## [0.36.0] - 2024-06-10 - -### Added - -* Add support for multichannel impulse responses in `ApplyImpulseResponse` +## [0.36.1] - 2024-08-20 ### Changed -* :warning: `Limiter` no longer introduces delay. This is a backwards-incompatible change. -* Make `RoomSimulator` faster by avoiding unneeded calculations when the transform is not going to be applied (p<1) -* Limit scipy dependency to <1.13 because 1.13 is not compatible for now. +* Leverage the SIMD-accelerated [numpy-rms](https://pypi.org/project/numpy-rms/) package for significant speed improvements. These transforms are faster now: `AddBackgroundNoise`, `AddColorNoise`, `AddGaussianSNR`, `AddShortNoises`, `Mp3Compression` and `TanhDistortion`. For the full changelog, including older versions, see [https://iver56.github.io/audiomentations/changelog/](https://iver56.github.io/audiomentations/changelog/) diff --git a/audiomentations/augmentations/add_gaussian_snr.py b/audiomentations/augmentations/add_gaussian_snr.py index d1277baa..2cc39996 100644 --- a/audiomentations/augmentations/add_gaussian_snr.py +++ b/audiomentations/augmentations/add_gaussian_snr.py @@ -5,10 +5,7 @@ from numpy.typing import NDArray from audiomentations.core.transforms_interface import BaseWaveformTransform -from audiomentations.core.utils import ( - calculate_desired_noise_rms, - calculate_rms, -) +from audiomentations.core.utils import calculate_desired_noise_rms, calculate_rms class AddGaussianSNR(BaseWaveformTransform): diff --git a/docs/changelog.md b/docs/changelog.md index 4b5a4912..3d255cd2 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -5,6 +5,12 @@ 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.36.1] - 2024-08-20 + +### Changed + +* Leverage the SIMD-accelerated [numpy-rms](https://pypi.org/project/numpy-rms/) package for significant speed improvements. These transforms are faster now: `AddBackgroundNoise`, `AddColorNoise`, `AddGaussianSNR`, `AddShortNoises`, `Mp3Compression` and `TanhDistortion`. + ## [0.36.0] - 2024-06-10 ### Added @@ -517,6 +523,7 @@ Thanks to karpnv * Initial release. Includes only one transform: `AddGaussianNoise` +[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 [0.35.0]: https://github.com/iver56/audiomentations/compare/v0.34.1...v0.35.0 [0.34.1]: https://github.com/iver56/audiomentations/compare/v0.33.0...v0.34.1