From 03710d8fef6ff5dc18ceac39bacdcac789342dd0 Mon Sep 17 00:00:00 2001 From: weefuzzy Date: Fri, 28 Jan 2022 22:28:19 +0000 Subject: [PATCH] Amend upper frequency limit of mel bands in NoveltySlice to 20kHz --- include/clients/rt/NoveltySliceClient.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/clients/rt/NoveltySliceClient.hpp b/include/clients/rt/NoveltySliceClient.hpp index 0a775b54f..31f3165b2 100644 --- a/include/clients/rt/NoveltySliceClient.hpp +++ b/include/clients/rt/NoveltySliceClient.hpp @@ -111,7 +111,7 @@ class NoveltySliceClient : public FluidBaseClient, else if (feature == 1) { mBands.resize(40); - mMelBands.init(20, 2000, 40, get().frameSize(), sampleRate(), + mMelBands.init(20, 20e3, 40, get().frameSize(), sampleRate(), get().winSize()); mDCT.init(40, 13); nDims = 13;