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.
109 lines
5.7 KiB
109 lines
5.7 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, "Instance 1", NULL);
|
|
LCDML_add(2, LCDML_0_1_1, 1, "MIDI Channel 1", UI_func_midi_channel);
|
|
LCDML_add(3, LCDML_0_1_1, 2, "Transpose 1", UI_func_transpose);
|
|
LCDML_add(4, LCDML_0_1_1, 3, "Tune 1", UI_func_tune);
|
|
LCDML_add(5, LCDML_0_1_1, 4, "Sound Intens. 1", UI_func_sound_intensity);
|
|
LCDML_add(6, LCDML_0_1_1, 9, "Panorama 1", UI_func_panorama);
|
|
LCDML_add(7, LCDML_0_1_1, 10, "Polyphony 1", UI_func_polyphony);
|
|
LCDML_add(8, LCDML_0_1_1, 11, "Engine 1", UI_func_engine);
|
|
LCDML_add(9, LCDML_0_1_1, 12, "Mono/Poly 1", UI_func_mono_poly);
|
|
LCDML_add(10, LCDML_0_1_1, 13, "Pitchbend 1", NULL);
|
|
LCDML_add(11, LCDML_0_1_1_13, 1, "PB Range 1", UI_func_pb_range);
|
|
LCDML_add(12, LCDML_0_1_1_13, 2, "PB Step 1", UI_func_pb_step);
|
|
LCDML_add(13, LCDML_0_1_1, 14, "Mod Wheel 1", NULL);
|
|
LCDML_add(14, LCDML_0_1_1_14, 1, "MW Range 1", UI_func_mw_range);
|
|
LCDML_add(15, LCDML_0_1_1_14, 2, "MW Assign 1", UI_func_mw_assign);
|
|
LCDML_add(16, LCDML_0_1_1, 15, "Foot Ctrl 1", NULL);
|
|
LCDML_add(17, LCDML_0_1_1_15, 1, "FC Range 1", UI_func_fc_range);
|
|
LCDML_add(18, LCDML_0_1_1_15, 2, "FC Assign 1", UI_func_fc_assign);
|
|
LCDML_add(19, LCDML_0_1_1, 16, "Breath Ctrl 1", NULL);
|
|
LCDML_add(20, LCDML_0_1_1_16, 1, "BC Range 1", UI_func_bc_range);
|
|
LCDML_add(21, LCDML_0_1_1_16, 2, "BC Assign 1", UI_func_bc_assign);
|
|
LCDML_add(22, LCDML_0_1_1, 17, "Aftertouch 1", NULL);
|
|
LCDML_add(23, LCDML_0_1_1_17, 1, "AT Range 1", UI_func_at_range);
|
|
LCDML_add(24, LCDML_0_1_1_17, 2, "AT Assign 1", UI_func_at_assign);
|
|
LCDML_add(25, LCDML_0_1_1, 18, "Portamento 1", NULL);
|
|
LCDML_add(26, LCDML_0_1_1_18, 1, "Port. Mode 1", UI_func_portamento_mode);
|
|
LCDML_add(27, LCDML_0_1_1_18, 2, "Port. Gliss 1", UI_func_portamento_glissando);
|
|
LCDML_add(28, LCDML_0_1_1_18, 3, "Port. Time 1", UI_func_portamento_time);
|
|
LCDML_add(29, LCDML_0_1_1, 19, "Operator 1", NULL);
|
|
LCDML_add(30, LCDML_0_1_1_19, 1, "OP1 1", UI_func_OP1);
|
|
LCDML_add(31, LCDML_0_1_1_19, 2, "OP2 1", UI_func_OP2);
|
|
LCDML_add(32, LCDML_0_1_1_19, 3, "OP3 1", UI_func_OP3);
|
|
LCDML_add(33, LCDML_0_1_1_19, 4, "OP4 1", UI_func_OP4);
|
|
LCDML_add(34, LCDML_0_1_1_19, 5, "OP5 1", UI_func_OP5);
|
|
LCDML_add(35, LCDML_0_1_1_19, 6, "OP6 1", UI_func_OP6);
|
|
LCDML_add(36, LCDML_0_1, 2, "Instance 2", NULL);
|
|
LCDML_add(37, LCDML_0_1_2, 1, "MIDI Channel 2", UI_func_midi_channel);
|
|
LCDML_add(38, LCDML_0_1_2, 2, "Sound Intens. 2", UI_func_sound_intensity);
|
|
LCDML_add(39, LCDML_0_1_2, 3, "Transpose 2", UI_func_transpose);
|
|
LCDML_add(40, LCDML_0_1_2, 4, "Tune 2", UI_func_tune);
|
|
LCDML_add(41, LCDML_0_1_2, 9, "Panorama 2", UI_func_panorama);
|
|
LCDML_add(42, LCDML_0_1_2, 10, "Polyphony 2", UI_func_polyphony);
|
|
LCDML_add(43, LCDML_0_1_2, 11, "Engine 2", UI_func_engine);
|
|
LCDML_add(44, LCDML_0_1_2, 12, "Mono/Poly 2", UI_func_mono_poly);
|
|
LCDML_add(45, LCDML_0_1_2, 13, "Pitchbend 2", NULL);
|
|
LCDML_add(46, LCDML_0_1_2_13, 1, "PB Range 2", UI_func_pb_range);
|
|
LCDML_add(47, LCDML_0_1_2_13, 2, "PB Step 2", UI_func_pb_step);
|
|
LCDML_add(48, LCDML_0_1_2, 14, "Mod Wheel 2", NULL);
|
|
LCDML_add(49, LCDML_0_1_2_14, 1, "MW Range 2", UI_func_mw_range);
|
|
LCDML_add(50, LCDML_0_1_2_14, 2, "MW Assign 2", UI_func_mw_assign);
|
|
LCDML_add(51, LCDML_0_1_2, 15, "Foot Ctrl 2", NULL);
|
|
LCDML_add(52, LCDML_0_1_2_15, 1, "FC Range 2", UI_func_fc_range);
|
|
LCDML_add(53, LCDML_0_1_2_15, 2, "FC Assign 2", UI_func_fc_assign);
|
|
LCDML_add(54, LCDML_0_1_2, 16, "Breat Ctrl 2", NULL);
|
|
LCDML_add(55, LCDML_0_1_2_16, 1, "BC Range 2", UI_func_bc_range);
|
|
LCDML_add(56, LCDML_0_1_2_16, 2, "BC Assign 2", UI_func_bc_assign);
|
|
LCDML_add(57, LCDML_0_1_2, 17, "Aftertouch 2", NULL);
|
|
LCDML_add(58, LCDML_0_1_2_17, 1, "AT Range 2", UI_func_at_range);
|
|
LCDML_add(59, LCDML_0_1_2_17, 2, "AT Assign 2", UI_func_at_assign);
|
|
LCDML_add(60, LCDML_0_1_2, 18, "Portamento 2", NULL);
|
|
LCDML_add(61, LCDML_0_1_2_18, 1, "Port. Mode 2", UI_func_portamento_mode);
|
|
LCDML_add(62, LCDML_0_1_2_18, 2, "Port. Gliss 2", UI_func_portamento_glissando);
|
|
LCDML_add(63, LCDML_0_1_2_18, 3, "Port. Time 2", UI_func_portamento_time);
|
|
LCDML_add(64, LCDML_0_1_2, 19, "Operator 2", NULL);
|
|
LCDML_add(65, LCDML_0_1_2_19, 1, "OP1 2", UI_func_OP1);
|
|
LCDML_add(66, LCDML_0_1_2_19, 2, "OP2 2", UI_func_OP2);
|
|
LCDML_add(67, LCDML_0_1_2_19, 3, "OP3 2", UI_func_OP3);
|
|
LCDML_add(68, LCDML_0_1_2_19, 4, "OP4 2", UI_func_OP4);
|
|
LCDML_add(69, LCDML_0_1_2_19, 5, "OP5 2", UI_func_OP5);
|
|
LCDML_add(70, LCDML_0_1_2_19, 6, "OP6 2", UI_func_OP6);
|
|
LCDML_add(71, LCDML_0, 3, "Load/Save", NULL);
|
|
LCDML_add(72, LCDML_0_3, 1, "Load", UI_func_load);
|
|
LCDML_add(73, LCDML_0_3, 2, "Save", UI_func_save);
|
|
LCDML_add(74, LCDML_0, 4, "System", NULL);
|
|
LCDML_add(74, LCDML_0_4, 1, "Stereo/Mono", UI_func_stereo_mono);
|
|
LCDML_add(75, LCDML_0_4, 2, "MIDI Soft THRU", UI_func_midi_soft_thru);
|
|
LCDML_add(76, LCDML_0, 5, "Info", UI_func_information);
|
|
#define _LCDML_DISP_cnt 76
|
|
#define MENU_ID_OF_INSTANCE_2 36
|
|
|
|
#endif
|
|
|