diff --git a/plugins/spectral_compressor/CHANGELOG.md b/plugins/spectral_compressor/CHANGELOG.md index 028883d7..50330c07 100644 --- a/plugins/spectral_compressor/CHANGELOG.md +++ b/plugins/spectral_compressor/CHANGELOG.md @@ -6,6 +6,13 @@ 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). +## [Unreleased] + +### Changed + +- The default window overlap amount setting has changed to 16x. Existing patches + are not affected. + ## [0.3.0] - 2023-01-15 ### Added diff --git a/plugins/spectral_compressor/src/lib.rs b/plugins/spectral_compressor/src/lib.rs index d2baaa9d..d4952853 100644 --- a/plugins/spectral_compressor/src/lib.rs +++ b/plugins/spectral_compressor/src/lib.rs @@ -38,9 +38,9 @@ const MAX_WINDOW_SIZE: usize = 1 << MAX_WINDOW_ORDER; // 32768 const MIN_OVERLAP_ORDER: usize = 2; #[allow(dead_code)] const MIN_OVERLAP_TIMES: usize = 1 << MIN_OVERLAP_ORDER; // 4 -const DEFAULT_OVERLAP_ORDER: usize = 3; +const DEFAULT_OVERLAP_ORDER: usize = 4; #[allow(dead_code)] -const DEFAULT_OVERLAP_TIMES: usize = 1 << DEFAULT_OVERLAP_ORDER; // 4 +const DEFAULT_OVERLAP_TIMES: usize = 1 << DEFAULT_OVERLAP_ORDER; // 16 const MAX_OVERLAP_ORDER: usize = 5; #[allow(dead_code)] const MAX_OVERLAP_TIMES: usize = 1 << MAX_OVERLAP_ORDER; // 32