Update uimenu.cpp

pull/206/head
arsamus 3 years ago committed by GitHub
parent 474bc5923d
commit 2fc0f58bc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 22
      src/uimenu.cpp

@ -68,6 +68,8 @@ const CUIMenu::TMenuItem CUIMenu::s_TGMenu[] =
{"Detune", EditTGParameter, 0, CMiniDexed::TGParameterMasterTune},
{"Cutoff", EditTGParameter, 0, CMiniDexed::TGParameterCutoff},
{"Resonance", EditTGParameter, 0, CMiniDexed::TGParameterResonance},
{"Pitch Bender", MenuHandler, s_EditPitchBenderMenu},
{"Portamento", MenuHandler, s_EditPortamentoMenu},
{"Channel", EditTGParameter, 0, CMiniDexed::TGParameterMIDIChannel},
{"Edit Voice", MenuHandler, s_EditVoiceMenu},
{0}
@ -82,6 +84,21 @@ const CUIMenu::TMenuItem CUIMenu::s_EffectsMenu[] =
{0}
};
const CUIMenu::TMenuItem CUIMenu::s_EditPitchBenderMenu[] =
{
{"Bender Range", EditTGParameter, 0, CMiniDexed::TGParameterPitchBenderRange},
{"Bender Step", EditTGParameter, 0, CMiniDexed::TGParameterPitchBenderStep},
{0}
};
const CUIMenu::TMenuItem CUIMenu::s_EditPortamentoMenu[] =
{
{"Mode", EditTGParameter, 0, CMiniDexed::TGParameterPortamentoMode},
{"Glissando", EditTGParameter, 0, CMiniDexed::TGParameterPortamentoGlissando},
{"Time", EditTGParameter, 0, CMiniDexed::TGParameterPortamentoTime},
{0}
};
#ifdef ARM_ALLOW_MULTI_CORE
const CUIMenu::TMenuItem CUIMenu::s_ReverbMenu[] =
@ -187,6 +204,11 @@ const CUIMenu::TParameter CUIMenu::s_TGParameter[CMiniDexed::TGParameterUnknown]
{0, 99, 1}, // TGParameterResonance
{0, CMIDIDevice::ChannelUnknown-1, 1, ToMIDIChannel}, // TGParameterMIDIChannel
{0, 99, 1} // TGParameterReverbSend
{0, 12, 1}, // TGParameterPitchBenderRange
{0, 12, 1}, // TGParameterPitchBenderStep
{0, 1, 1}, // TGParameterPortamentoMode
{0, 1, 1}, // TGParameterPortamentoGlissando
{0, 99, 1} // TGParameterPortamentoTime
};
// must match DexedVoiceParameters in Synth_Dexed

Loading…
Cancel
Save