From ca85fcc7abe2bb7a6f909c8b2eb5d07a0d09e605 Mon Sep 17 00:00:00 2001 From: iver56 Date: Wed, 7 Feb 2024 11:01:23 +0100 Subject: [PATCH] Release v0.11.1 --- README.md | 13 +++++++++++++ scripts/demo.py | 2 +- setup.py | 2 +- torch_audiomentations/__init__.py | 2 +- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 05ca6468..c1a28491 100644 --- a/README.md +++ b/README.md @@ -217,6 +217,19 @@ classification. It was successfully applied in the paper * Add new transforms: `Mix`, `Padding`, `RandomCrop` and `SpliceOut` +## [v0.11.1] - 2024-02-07 + +### Changed + +* Add support for constant cutoff frequency in `LowPassFilter` and `HighPassFilter` +* Add support for min_f_decay==max_f_decay in `AddColoredNoise` +* Bump torchaudio dependency from >=0.7.0 to >=0.9.0 + +### Fixed + +* Fix inaccurate type hints in `Shift` +* Remove `set_backend` to avoid `UserWarning` from torchaudio + ## [v0.11.0] - 2022-06-29 ### Added diff --git a/scripts/demo.py b/scripts/demo.py index fc5df71a..4c489925 100644 --- a/scripts/demo.py +++ b/scripts/demo.py @@ -23,9 +23,9 @@ PitchShift, BandStopFilter, TimeInversion, - Padding, Identity, ) +from torch_audiomentations.augmentations.padding import Padding from torch_audiomentations.augmentations.shuffle_channels import ShuffleChannels from torch_audiomentations.augmentations.splice_out import SpliceOut from torch_audiomentations.core.transforms_interface import ModeNotSupportedException diff --git a/setup.py b/setup.py index bba44bd1..0d1a85e2 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ def find_version(*file_paths): "julius>=0.2.3,<0.3", "librosa>=0.6.0", "torch>=1.7.0", - "torchaudio>=0.7.0", + "torchaudio>=0.9.0", "torch-pitch-shift>=1.2.2", ], extras_require={"extras": ["PyYAML"]}, diff --git a/torch_audiomentations/__init__.py b/torch_audiomentations/__init__.py index 31563a98..7100fb44 100644 --- a/torch_audiomentations/__init__.py +++ b/torch_audiomentations/__init__.py @@ -18,4 +18,4 @@ from .utils.config import from_dict, from_yaml from .utils.convolution import convolve -__version__ = "0.11.0" +__version__ = "0.11.1"