|
|
|
@ -46,11 +46,11 @@ |
|
|
|
|
#define _LCDML_DISP_rows LCD_rows |
|
|
|
|
|
|
|
|
|
#ifdef I2C_DISPLAY |
|
|
|
|
#define _LCDML_DISP_cfg_cursor 0x7E // cursor Symbol
|
|
|
|
|
#define _LCDML_DISP_cfg_cursor 0x7E // cursor Symbol
|
|
|
|
|
#else |
|
|
|
|
#define _LCDML_DISP_cfg_cursor 0x8d // cursor Symbol
|
|
|
|
|
#define _LCDML_DISP_cfg_cursor 0x8d // cursor Symbol
|
|
|
|
|
#endif |
|
|
|
|
#define _LCDML_DISP_cfg_scrollbar 1 // enable a scrollbar
|
|
|
|
|
#define _LCDML_DISP_cfg_scrollbar 1 // enable a scrollbar
|
|
|
|
|
|
|
|
|
|
extern PeriodicTimer timer1; |
|
|
|
|
extern void sequencer(void); |
|
|
|
@ -121,38 +121,38 @@ extern void change_disp_sd(bool d); |
|
|
|
|
|
|
|
|
|
#ifdef SGTL5000_AUDIO_ENHANCE |
|
|
|
|
#include "control_sgtl5000plus.h" |
|
|
|
|
extern AudioControlSGTL5000Plus sgtl5000; |
|
|
|
|
extern AudioControlSGTL5000Plus sgtl5000; |
|
|
|
|
#else |
|
|
|
|
extern AudioControlSGTL5000 sgtl5000; |
|
|
|
|
extern AudioControlSGTL5000 sgtl5000; |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#if defined(USE_FX) |
|
|
|
|
extern AudioSynthWaveform* chorus_modulator[NUM_DEXED]; |
|
|
|
|
extern AudioEffectModulatedDelay* modchorus[NUM_DEXED]; |
|
|
|
|
extern AudioMixer<4>* chorus_mixer[NUM_DEXED]; |
|
|
|
|
extern AudioMixer<4>* delay_fb_mixer[NUM_DEXED]; |
|
|
|
|
extern AudioEffectDelay* delay_fx[NUM_DEXED]; |
|
|
|
|
extern AudioMixer<4>* delay_mixer[NUM_DEXED]; |
|
|
|
|
#endif |
|
|
|
|
extern AudioEffectMonoStereo* mono2stereo[NUM_DEXED]; |
|
|
|
|
extern AudioMixer<4> microdexed_peak_mixer; |
|
|
|
|
extern AudioAnalyzePeak microdexed_peak; |
|
|
|
|
extern AudioSynthWaveform* chorus_modulator[NUM_DEXED]; |
|
|
|
|
extern AudioEffectModulatedDelay* modchorus[NUM_DEXED]; |
|
|
|
|
extern AudioMixer<4>* chorus_mixer[NUM_DEXED]; |
|
|
|
|
extern AudioMixer<4>* delay_fb_mixer[NUM_DEXED]; |
|
|
|
|
extern AudioEffectDelay* delay_fx[NUM_DEXED]; |
|
|
|
|
extern AudioMixer<4>* delay_mixer[NUM_DEXED]; |
|
|
|
|
#endif |
|
|
|
|
extern AudioEffectMonoStereo* mono2stereo[NUM_DEXED]; |
|
|
|
|
extern AudioMixer<4> microdexed_peak_mixer; |
|
|
|
|
extern AudioAnalyzePeak microdexed_peak; |
|
|
|
|
#if defined(USE_FX) |
|
|
|
|
extern AudioMixer<4> reverb_mixer_r; |
|
|
|
|
extern AudioMixer<4> reverb_mixer_l; |
|
|
|
|
extern AudioMixer<4> reverb_mixer_r; |
|
|
|
|
extern AudioMixer<4> reverb_mixer_l; |
|
|
|
|
#if defined(USE_PLATEREVERB) |
|
|
|
|
extern AudioEffectPlateReverb reverb; |
|
|
|
|
extern AudioEffectPlateReverb reverb; |
|
|
|
|
#elif defined(USE_FREEVERB_SIMD) |
|
|
|
|
extern AudioEffectFreeverbSIMDStereo freeverb; |
|
|
|
|
#else |
|
|
|
|
extern AudioEffectFreeverbStereoFloat freeverb; |
|
|
|
|
extern AudioEffectFreeverbStereoFloat freeverb; |
|
|
|
|
#endif |
|
|
|
|
#endif |
|
|
|
|
extern AudioMixer<4> master_mixer_r; |
|
|
|
|
extern AudioMixer<4> master_mixer_l; |
|
|
|
|
extern AudioEffectStereoMono stereo2mono; |
|
|
|
|
extern AudioAnalyzePeak master_peak_r; |
|
|
|
|
extern AudioAnalyzePeak master_peak_l; |
|
|
|
|
extern AudioMixer<4> master_mixer_r; |
|
|
|
|
extern AudioMixer<4> master_mixer_l; |
|
|
|
|
extern AudioEffectStereoMono stereo2mono; |
|
|
|
|
extern AudioAnalyzePeak master_peak_r; |
|
|
|
|
extern AudioAnalyzePeak master_peak_l; |
|
|
|
|
|
|
|
|
|
extern char sd_string[LCD_cols + 1]; |
|
|
|
|
extern char g_voice_name[NUM_DEXED][VOICE_NAME_LEN]; |
|
|
|
@ -523,7 +523,6 @@ class EncoderDirection |
|
|
|
|
bool down; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
//Encoder ENCODER[NUM_ENCODER] = {Encoder(ENC_R_PIN_B, ENC_R_PIN_A), Encoder(ENC_L_PIN_B, ENC_L_PIN_A)};
|
|
|
|
|
MD_REncoder ENCODER[NUM_ENCODER] = {MD_REncoder(ENC_R_PIN_B, ENC_R_PIN_A), MD_REncoder(ENC_L_PIN_B, ENC_L_PIN_A)}; |
|
|
|
|
EncoderDirection encoderDir[NUM_ENCODER]; |
|
|
|
|
|
|
|
|
@ -626,10 +625,6 @@ void setup_ui(void) |
|
|
|
|
lcd_special_chars(SCROLLBAR); |
|
|
|
|
// LCDMenuLib Setup
|
|
|
|
|
LCDML_setup(_LCDML_DISP_cnt); |
|
|
|
|
// Enable Menu Rollover
|
|
|
|
|
//LCDML.MENU_enRollover();
|
|
|
|
|
// Enable Screensaver (screensaver menu function, time to activate in ms)
|
|
|
|
|
//LCDML.SCREEN_enable(UI_func_voice_select, VOICE_SELECTION_MS);
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#ifdef DEBUG |
|
|
|
|