Skip to content

Commit

Permalink
correct case of Q-factor for compatibility with XML variable
Browse files Browse the repository at this point in the history
  • Loading branch information
gisogrimm committed Jun 2, 2024
1 parent 0aa01cc commit 4b55eec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/src/tascar_ap_filter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 4b55eec

Please sign in to comment.