From 4b55eec3de38d8cb42dcb9fd344feff015ea4ed8 Mon Sep 17 00:00:00 2001 From: Giso Grimm Date: Sun, 2 Jun 2024 13:58:21 +0200 Subject: [PATCH] correct case of Q-factor for compatibility with XML variable --- plugins/src/tascar_ap_filter.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/src/tascar_ap_filter.cc b/plugins/src/tascar_ap_filter.cc index 2169ef77..5bdab769 100644 --- a/plugins/src/tascar_ap_filter.cc +++ b/plugins/src/tascar_ap_filter.cc @@ -75,9 +75,8 @@ void biquadplugin_t::add_variables(TASCAR::osc_server_t* srv) srv->add_float("/fc", &fc, "]0,20000]", "Cutoff frequency in Hz"); if(ftype == biquadplugin_t::equalizer) { srv->add_float("/gain", &gain, "[-30,30]", "Gain in dB"); - srv->add_float("/q", &Q, "]0,1[", "Q-factor of resonance filter"); + srv->add_float("/Q", &Q, "]0,10]", "Q-factor of resonance filter"); } - // srv->add_bool("/highpass",&highpass); srv->unset_variable_owner(); }