|
|
|
/*
|
|
|
|
MicroDexed
|
|
|
|
|
|
|
|
MicroDexed is a port of the Dexed sound engine
|
|
|
|
(https://github.com/asb2m10/dexed) for the Teensy-3.5/3.6 with audio shield.
|
|
|
|
Dexed ist heavily based on https://github.com/google/music-synthesizer-for-android
|
|
|
|
|
|
|
|
(c)2018-2020 H. Wirtz <wirtz@parasitstudio.de>
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation; either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software Foundation,
|
|
|
|
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _UI_H_
|
|
|
|
#define _UI_H_
|
|
|
|
|
|
|
|
LCDML_add(0, LCDML_0, 1, "Setup", NULL);
|
|
|
|
LCDML_add(1, LCDML_0_1, 1, "MIDI Channel", UI_func_midi_channel);
|
|
|
|
LCDML_add(2, LCDML_0_1, 2, "Lowest Note", UI_func_lowest_note);
|
|
|
|
LCDML_add(3, LCDML_0_1, 3, "Highest Note", UI_func_highest_note);
|
|
|
|
LCDML_add(4, LCDML_0_1, 4, "Volume", UI_func_sound_intensity);
|
|
|
|
LCDML_add(5, LCDML_0_1, 5, "Transpose", UI_func_transpose);
|
|
|
|
LCDML_add(6, LCDML_0_1, 6, "Tune", UI_func_tune);
|
|
|
|
LCDML_add(7, LCDML_0_1, 7, "Reverb Send", UI_func_reverb_send);
|
|
|
|
LCDML_add(8, LCDML_0_1, 8, "Chorus Send", UI_func_chorus_send);
|
|
|
|
LCDML_add(9, LCDML_0_1, 9, "Delay Send", UI_func_delay_send);
|
|
|
|
LCDML_add(10, LCDML_0_1, 10, "Filter", NULL);
|
|
|
|
LCDML_add(11, LCDML_0_1_10, 1, "Cutoff", UI_func_filter_cutoff);
|
|
|
|
LCDML_add(12, LCDML_0_1_10, 2, "Resonance", UI_func_filter_resonance);
|
|
|
|
LCDML_add(13, LCDML_0_1, 11, "Panorama", UI_func_panorama);
|
|
|
|
LCDML_add(14, LCDML_0_1, 12, "Polyphony", UI_func_polyphony);
|
|
|
|
LCDML_add(15, LCDML_0_1, 13, "Velocity Lvl", UI_func_velocity_level);
|
|
|
|
LCDML_add(16, LCDML_0_1, 14, "Engine", UI_func_engine);
|
|
|
|
LCDML_add(17, LCDML_0_1, 15, "Mono/Poly", UI_func_mono_poly);
|
|
|
|
LCDML_add(18, LCDML_0_1, 16, "Note Refresh", UI_func_note_refresh);
|
|
|
|
LCDML_add(19, LCDML_0_1, 17, "Pitchbend", NULL);
|
|
|
|
LCDML_add(20, LCDML_0_1_17, 1, "PB Range", UI_func_pb_range);
|
|
|
|
LCDML_add(21, LCDML_0_1_17, 2, "PB Step", UI_func_pb_step);
|
|
|
|
LCDML_add(22, LCDML_0_1, 18, "Mod Wheel", NULL);
|
|
|
|
LCDML_add(23, LCDML_0_1_18, 1, "MW Range", UI_func_mw_range);
|
|
|
|
LCDML_add(24, LCDML_0_1_18, 2, "MW Assign", UI_func_mw_assign);
|
|
|
|
LCDML_add(25, LCDML_0_1_18, 3, "MW Mode", UI_func_mw_mode);
|
|
|
|
LCDML_add(26, LCDML_0_1, 19, "Foot Ctrl", NULL);
|
|
|
|
LCDML_add(27, LCDML_0_1_19, 1, "FC Range", UI_func_fc_range);
|
|
|
|
LCDML_add(28, LCDML_0_1_19, 2, "FC Assign", UI_func_fc_assign);
|
|
|
|
LCDML_add(29, LCDML_0_1_19, 3, "FC Mode", UI_func_fc_mode);
|
|
|
|
LCDML_add(30, LCDML_0_1, 20, "Breath Ctrl", NULL);
|
|
|
|
LCDML_add(31, LCDML_0_1_20, 1, "BC Range", UI_func_bc_range);
|
|
|
|
LCDML_add(32, LCDML_0_1_20, 2, "BC Assign", UI_func_bc_assign);
|
|
|
|
LCDML_add(33, LCDML_0_1_20, 3, "BC Mode", UI_func_bc_mode);
|
|
|
|
LCDML_add(34, LCDML_0_1, 21, "Aftertouch", NULL);
|
|
|
|
LCDML_add(35, LCDML_0_1_21, 1, "AT Range", UI_func_at_range);
|
|
|
|
LCDML_add(36, LCDML_0_1_21, 2, "AT Assign", UI_func_at_assign);
|
|
|
|
LCDML_add(37, LCDML_0_1_21, 3, "AT Mode", UI_func_at_mode);
|
|
|
|
LCDML_add(38, LCDML_0_1, 22, "Portamento", NULL);
|
|
|
|
LCDML_add(39, LCDML_0_1_22, 1, "Port. Mode", UI_func_portamento_mode);
|
|
|
|
LCDML_add(40, LCDML_0_1_22, 2, "Port. Gliss", UI_func_portamento_glissando);
|
|
|
|
LCDML_add(41, LCDML_0_1_22, 3, "Port. Time", UI_func_portamento_time);
|
|
|
|
LCDML_add(42, LCDML_0_1, 23, "Operator", NULL);
|
|
|
|
LCDML_add(43, LCDML_0_1_23, 1, "OP1", UI_func_OP1);
|
|
|
|
LCDML_add(44, LCDML_0_1_23, 2, "OP2", UI_func_OP2);
|
|
|
|
LCDML_add(45, LCDML_0_1_23, 3, "OP3", UI_func_OP3);
|
|
|
|
LCDML_add(46, LCDML_0_1_23, 4, "OP4", UI_func_OP4);
|
|
|
|
LCDML_add(47, LCDML_0_1_23, 5, "OP5", UI_func_OP5);
|
|
|
|
LCDML_add(48, LCDML_0_1_23, 6, "OP6", UI_func_OP6);
|
|
|
|
LCDML_add(49, LCDML_0, 2, "Effect", NULL);
|
|
|
|
LCDML_add(50, LCDML_0_2, 1, "Reverb", NULL);
|
|
|
|
LCDML_add(51, LCDML_0_2_1, 1, "Roomsize", UI_func_reverb_roomsize);
|
|
|
|
LCDML_add(52, LCDML_0_2_1, 2, "Damping", UI_func_reverb_damping);
|
|
|
|
LCDML_add(53, LCDML_0_2_1, 3, "Level", UI_func_reverb_level);
|
|
|
|
LCDML_add(54, LCDML_0_2, 2, "Chorus", NULL);
|
|
|
|
LCDML_add(55, LCDML_0_2_2, 1, "Frequency", UI_func_chorus_frequency);
|
|
|
|
LCDML_add(56, LCDML_0_2_2, 2, "Waveform", UI_func_chorus_waveform);
|
|
|
|
LCDML_add(57, LCDML_0_2_2, 3, "Depth", UI_func_chorus_depth);
|
|
|
|
LCDML_add(58, LCDML_0_2_2, 4, "Level", UI_func_chorus_level);
|
|
|
|
LCDML_add(59, LCDML_0_2, 3, "Delay", NULL);
|
|
|
|
LCDML_add(60, LCDML_0_2_3, 1, "Time", UI_func_delay_time);
|
|
|
|
LCDML_add(61, LCDML_0_2_3, 2, "Feedback", UI_func_delay_feedback);
|
|
|
|
LCDML_add(62, LCDML_0_2_3, 3, "Level", UI_func_delay_level);
|
|
|
|
LCDML_add(63, LCDML_0, 3, "Load/Save", NULL);
|
|
|
|
LCDML_add(64, LCDML_0_3, 1, "Load", UI_func_load);
|
|
|
|
LCDML_add(65, LCDML_0_3, 2, "Save", UI_func_save);
|
|
|
|
LCDML_add(66, LCDML_0, 4, "System", NULL);
|
|
|
|
LCDML_add(67, LCDML_0_4, 1, "Stereo/Mono", UI_func_stereo_mono);
|
|
|
|
LCDML_add(68, LCDML_0_4, 2, "MIDI Soft THRU", UI_func_midi_soft_thru);
|
|
|
|
LCDML_add(69, LCDML_0_4, 3, "Firmware Reset", UI_func_firmware_reset);
|
|
|
|
LCDML_add(70, LCDML_0, 5, "Info", UI_func_information);
|
|
|
|
#define _LCDML_DISP_cnt 70
|
|
|
|
#define MENU_ID_OF_INSTANCE_2 49
|
|
|
|
#endif
|