Is it safe to change snapEnabled after calling configParam()?

My Blossom and Xycloid modules have a switch that, in effect, quantizes the value of the associated Ratio knob. Currently I define custom param quantities to quantize the display values or not, depending on the position of the switch.

Far simpler would be to set the knob’s snapEnabled field whenever the switch changes.

Is that safe?

ETA: I’m asking specifically about v2.

Yes, ParamWidget::snapEnabled can be changed at any time.

1 Like