From 8f597543fc97275624265cd3042cfe887c4fb20e Mon Sep 17 00:00:00 2001 From: jnonis Date: Fri, 19 Jul 2024 16:41:09 +0000 Subject: [PATCH] Arp fixes --- src/midi_arp.h | 1 - src/midi_effect_base.h | 2 +- src/uimenu.cpp | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/midi_arp.h b/src/midi_arp.h index 006bc5e..9f0e7ec 100644 --- a/src/midi_arp.h +++ b/src/midi_arp.h @@ -62,7 +62,6 @@ private: static const unsigned MIDI_NOTE_OFF = 0b1000; static const unsigned MIDI_NOTE_ON = 0b1001; - CDexedAdapter* synth; Arpeggiator arpeggiator; int syncMode; std::vector events; diff --git a/src/midi_effect_base.h b/src/midi_effect_base.h index 4b8b37d..9c9b8b6 100644 --- a/src/midi_effect_base.h +++ b/src/midi_effect_base.h @@ -76,7 +76,7 @@ public: { return; } - doProcess(len); + this->doProcess(len); } protected: bool bypass = false; diff --git a/src/uimenu.cpp b/src/uimenu.cpp index 98487b2..50b3916 100644 --- a/src/uimenu.cpp +++ b/src/uimenu.cpp @@ -75,7 +75,7 @@ const CUIMenu::TMenuItem CUIMenu::s_TGMenu[] = {"Portamento", MenuHandler, s_EditPortamentoMenu}, {"Poly/Mono", EditTGParameter, 0, CMiniDexed::TGParameterMonoMode}, {"Modulation", MenuHandler, s_ModulationMenu}, - {"Arp", MenuHandler, s_ModulationMenu}, + {"Arp", MenuHandler, s_Arp}, {"Channel", EditTGParameter, 0, CMiniDexed::TGParameterMIDIChannel}, {"Edit Voice", MenuHandler, s_EditVoiceMenu}, {0}