You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
MicroDexed/UI_1.h

81 lines
3.9 KiB

/*
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, "Volume", UI_func_sound_intensity);
LCDML_add(3, LCDML_0_1, 3, "Transpose", UI_func_transpose);
LCDML_add(4, LCDML_0_1, 4, "Tune", UI_func_tune);
LCDML_add(5, LCDML_0_1, 5, "Panorama", UI_func_panorama);
LCDML_add(6, LCDML_0_1, 6, "Polyphony", UI_func_polyphony);
LCDML_add(7, LCDML_0_1, 7, "Velocity Lvl", UI_func_velocity_level);
LCDML_add(8, LCDML_0_1, 8, "Engine", UI_func_engine);
LCDML_add(9, LCDML_0_1, 9, "Mono/Poly", UI_func_mono_poly);
LCDML_add(10, LCDML_0_1, 10, "Note Refresh", UI_func_note_refresh);
LCDML_add(11, LCDML_0_1, 11, "Pitchbend", NULL);
LCDML_add(12, LCDML_0_1_11, 1, "PB Range", UI_func_pb_range);
LCDML_add(13, LCDML_0_1_11, 2, "PB Step", UI_func_pb_step);
LCDML_add(14, LCDML_0_1, 12, "Mod Wheel", NULL);
LCDML_add(15, LCDML_0_1_12, 1, "MW Range", UI_func_mw_range);
LCDML_add(16, LCDML_0_1_12, 2, "MW Assign", UI_func_mw_assign);
LCDML_add(17, LCDML_0_1_12, 3, "MW Mode", UI_func_mw_mode);
LCDML_add(18, LCDML_0_1, 13, "Foot Ctrl", NULL);
LCDML_add(19, LCDML_0_1_13, 1, "FC Range", UI_func_fc_range);
LCDML_add(20, LCDML_0_1_13, 2, "FC Assign", UI_func_fc_assign);
LCDML_add(21, LCDML_0_1_13, 3, "FC Mode", UI_func_fc_mode);
LCDML_add(22, LCDML_0_1, 14, "Breath Ctrl", NULL);
LCDML_add(23, LCDML_0_1_14, 1, "BC Range", UI_func_bc_range);
LCDML_add(24, LCDML_0_1_14, 2, "BC Assign", UI_func_bc_assign);
LCDML_add(25, LCDML_0_1_14, 3, "BC Mode", UI_func_bc_mode);
LCDML_add(26, LCDML_0_1, 15, "Aftertouch", NULL);
LCDML_add(27, LCDML_0_1_15, 1, "AT Range", UI_func_at_range);
LCDML_add(28, LCDML_0_1_15, 2, "AT Assign", UI_func_at_assign);
LCDML_add(29, LCDML_0_1_15, 3, "AT Mode", UI_func_at_mode);
LCDML_add(30, LCDML_0_1, 16, "Portamento", NULL);
LCDML_add(31, LCDML_0_1_16, 1, "Port. Mode", UI_func_portamento_mode);
LCDML_add(32, LCDML_0_1_16, 2, "Port. Gliss", UI_func_portamento_glissando);
LCDML_add(33, LCDML_0_1_16, 3, "Port. Time", UI_func_portamento_time);
LCDML_add(34, LCDML_0_1, 17, "Operator", NULL);
LCDML_add(35, LCDML_0_1_17, 1, "OP1", UI_func_OP1);
LCDML_add(36, LCDML_0_1_17, 2, "OP2", UI_func_OP2);
LCDML_add(37, LCDML_0_1_17, 3, "OP3", UI_func_OP3);
LCDML_add(38, LCDML_0_1_17, 4, "OP4", UI_func_OP4);
LCDML_add(39, LCDML_0_1_17, 5, "OP5", UI_func_OP5);
LCDML_add(40, LCDML_0_1_17, 6, "OP6", UI_func_OP6);
LCDML_add(41, LCDML_0, 2, "Load/Save", NULL);
LCDML_add(42, LCDML_0_2, 1, "Load", UI_func_load);
LCDML_add(43, LCDML_0_2, 2, "Save", UI_func_save);
LCDML_add(43, LCDML_0_2, 2, "SD Format", UI_func_format);
LCDML_add(44, LCDML_0, 3, "System", NULL);
LCDML_add(45, LCDML_0_3, 1, "Stereo/Mono", UI_func_stereo_mono);
LCDML_add(46, LCDML_0_3, 2, "MIDI Soft THRU", UI_func_midi_soft_thru);
LCDML_add(43, LCDML_0_2, 2, "Reset", UI_func_firmware_reset);
LCDML_add(47, LCDML_0, 4, "Info", UI_func_information);
#define _LCDML_DISP_cnt 47
#define MENU_ID_OF_INSTANCE_2 41
#endif