Skip to content

Commit

Permalink
Release v0.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
iver56 committed Feb 10, 2022
1 parent 5890ac4 commit 709f46e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -380,15 +380,15 @@ Contributions are welcome!

Most transforms, but not all, support 2D numpy arrays with shapes like `(num_channels, num_samples)`

_The following table is valid for new versions of audiomentations, like >=0.18.0_
_The following table is valid for new versions of audiomentations, like >=0.21.0_

| Transform | Supports multichannel audio? |
| --------- | ---------------------------- |
| AddBackgroundNoise | No, 1D only |
| AddGaussianNoise | Yes |
| AddGaussianSNR | Yes |
| AddShortNoises | No, 1D only |
| ApplyImpulseResponse | Yes (unreleased as of December 2021) |
| ApplyImpulseResponse | Yes |
| BandPassFilter | Yes |
| BandStopFilter | Yes |
| Clip | Yes |
Expand All @@ -402,7 +402,7 @@ _The following table is valid for new versions of audiomentations, like >=0.18.0
| LowShelfFilter | Yes |
| Mp3Compression | No, 1D only |
| Normalize | Yes |
| PeakingFilter | yes |
| PeakingFilter | Yes |
| PitchShift | Yes |
| PolarityInversion | Yes |
| Resample | No, 1D only |
Expand All @@ -421,16 +421,21 @@ _The following table is valid for new versions of audiomentations, like >=0.18.0

### Added

* Add support for multichannel audio in `BandPassFilter`, `HighPassFilter` and `LowPassFilter`
* Added `BandStopFilter` (similar to FrequencyMask, but with overhauled defaults and parameter randomization behavior), `PeakingFilter`, `LowShelfFilter` and `HighShelfFilter`
* Add support for multichannel audio in `ApplyImpulseResponse`, `BandPassFilter`, `HighPassFilter` and `LowPassFilter`
* Add `BandStopFilter` (similar to FrequencyMask, but with overhauled defaults and parameter randomization behavior), `PeakingFilter`, `LowShelfFilter` and `HighShelfFilter`
* Add parameter `add_all_noises_with_same_level` in `AddShortNoises`

### Changed

* Changed `BandPassFilter`, `LowPassFilter`, `HighPassFilter`, to use scipy's butterworth
* Change `BandPassFilter`, `LowPassFilter`, `HighPassFilter`, to use scipy's butterworth
filters instead of pydub. Now they have parametrized roll-off. Filters are now steeper
than before by default - set `min_rolloff=6, max_rolloff=6` to get the old behavior.
They also support zero-phase filtering now. And they're at least ~25x times faster than before!

### Removed

* Remove optional `wavio` dependency for audio loading

## v0.20.0 (2021-11-18)

### Added
Expand Down
2 changes: 1 addition & 1 deletion audiomentations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
)
from .core.composition import Compose, SpecCompose, OneOf, SomeOf

__version__ = "0.20.0"
__version__ = "0.21.0"

0 comments on commit 709f46e

Please sign in to comment.