From 74b33af7d7bc9d4e011583bf2102a0ced431d6c5 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sun, 24 Jul 2022 18:00:15 +0200 Subject: [PATCH] Fix DC bin skipping being off by one --- plugins/spectral_compressor/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/spectral_compressor/src/lib.rs b/plugins/spectral_compressor/src/lib.rs index 0de09f07..b9b881b2 100644 --- a/plugins/spectral_compressor/src/lib.rs +++ b/plugins/spectral_compressor/src/lib.rs @@ -395,7 +395,7 @@ impl Plugin for SpectralCompressor { channel_idx, &self.params, overlap_times, - highest_dcish_bin_idx, + highest_dcish_bin_idx + 1, ); // The DC and other low frequency bins doesn't contain much semantic meaning anymore