25 using Integer::Integer;
26 [[nodiscard]] int32_t getMinValue()
const override {
return 1; }
27 [[nodiscard]] int32_t getMaxValue()
const override {
return 127; }
29 void writeCurrentValue()
override {
30 FlashStorage::defaultVelocity = this->getValue();
31 currentSong->setDefaultVelocityForAllInstruments(FlashStorage::defaultVelocity);