27 using ArpNonSoundInteger::ArpNonSoundInteger;
29 this->setValue(computeCurrentValueForUnsignedMenuItem(soundEditor.currentArpSettings->ratchetProbability));
31 void writeCurrentValue()
override {
32 int32_t value = computeFinalValueForUnsignedMenuItem(this->getValue());
33 soundEditor.currentArpSettings->ratchetProbability = value;
35 [[nodiscard]] NumberStyle getNumberStyle()
const override {
return PERCENT; }