From d3047b4e9fa9528df3e4af9464c0e209a074db51 Mon Sep 17 00:00:00 2001 From: tremblap Date: Fri, 6 Sep 2024 15:21:21 +0100 Subject: [PATCH] NMFCross: fix polyphony's default value not being odd as requested --- include/clients/nrt/NMFCrossClient.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/clients/nrt/NMFCrossClient.hpp b/include/clients/nrt/NMFCrossClient.hpp index f407f6393..0b3ea1c48 100644 --- a/include/clients/nrt/NMFCrossClient.hpp +++ b/include/clients/nrt/NMFCrossClient.hpp @@ -40,7 +40,7 @@ constexpr auto NMFCrossParams = defineParameters( InputBufferParam("target", "Target Buffer"), BufferParam("output", "Output Buffer"), LongParam("timeSparsity", "Time Sparsity", 7, Min(1), Odd()), - LongParam("polyphony", "Polyphony", 10, Min(1), Odd(), + LongParam("polyphony", "Polyphony", 11, Min(1), Odd(), FrameSizeUpperLimit()), LongParam("continuity", "Continuity", 7, Min(1), Odd()), LongParam("iterations", "Number of Iterations", 50, Min(1)),