1
0
Fork 0

Default to 16x overlap in Spectral Compressor

This commit is contained in:
Robbert van der Helm 2023-03-18 23:28:37 +01:00
parent 41bdcc3988
commit 66ba8f2872
2 changed files with 9 additions and 2 deletions

View file

@ -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 and this project adheres to [Semantic
Versioning](https://semver.org/spec/v2.0.0.html). 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 ## [0.3.0] - 2023-01-15
### Added ### Added

View file

@ -38,9 +38,9 @@ const MAX_WINDOW_SIZE: usize = 1 << MAX_WINDOW_ORDER; // 32768
const MIN_OVERLAP_ORDER: usize = 2; const MIN_OVERLAP_ORDER: usize = 2;
#[allow(dead_code)] #[allow(dead_code)]
const MIN_OVERLAP_TIMES: usize = 1 << MIN_OVERLAP_ORDER; // 4 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)] #[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; const MAX_OVERLAP_ORDER: usize = 5;
#[allow(dead_code)] #[allow(dead_code)]
const MAX_OVERLAP_TIMES: usize = 1 << MAX_OVERLAP_ORDER; // 32 const MAX_OVERLAP_TIMES: usize = 1 << MAX_OVERLAP_ORDER; // 32