Set operator parameter.
208{
210 if (param == "pressure") {
212 } else if (param == "smoothing") {
214 } else if (param == "resonance") {
216 } else if (param == "reed_damping") {
218 } else if (param == "noise") {
219 put(
m_noise, value, Rule::NON_NEGATIVE);
220 } else if (param == "noise_cutoff") {
222 } else if (param == "reed_area") {
224 } else if (param == "lip") {
225 put(
m_lip, value, Rule::UNIT);
226 } else if (param == "closing_pressure") {
228 } else if (param == "opening") {
230 } else if (param == "width") {
231 put(
m_width, value, Rule::POSITIVE);
232 }
233}
bool settle_named_control(std::string_view name)
Drops the pending typed value of the control called name.
std::atomic< double > m_resonance
std::atomic< double > m_rest_opening
std::atomic< double > m_noise
std::atomic< double > m_reed_damping
std::atomic< double > m_smoothing
std::atomic< double > m_width
std::atomic< double > m_lip
std::atomic< double > m_target_pressure
std::atomic< double > m_noise_cutoff
std::atomic< double > m_closing_pressure
std::atomic< double > m_reed_area