28 using SyncLevel::SyncLevel;
30 this->setValue(syncTypeAndLevelToMenuOption(soundEditor.currentArpSettings->syncType,
31 soundEditor.currentArpSettings->syncLevel));
35 void writeCurrentValue()
override {
36 int32_t current_value = this->getValue();
39 if (currentUIMode == UI_MODE_HOLDING_AFFECT_ENTIRE_IN_SOUND_EDITOR && soundEditor.editingKitRow()) {
41 Kit* kit = getCurrentKit();
43 for (
Drum* thisDrum = kit->firstDrum; thisDrum !=
nullptr; thisDrum = thisDrum->next) {
44 thisDrum->arpSettings.syncType = syncValueToSyncType(current_value);
45 thisDrum->arpSettings.syncLevel = syncValueToSyncLevel(current_value);
51 soundEditor.currentArpSettings->syncType = syncValueToSyncType(current_value);
52 soundEditor.currentArpSettings->syncLevel = syncValueToSyncLevel(current_value);