From 09c4feb59284df1f28bfcf7d1d19c21cb18db682 Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Sun, 9 Jan 2022 18:06:44 +0100 Subject: [PATCH] Added menu stumbs for custom MIDI-CC and custom drummap. Added initial drmmap.json file. --- UI.hpp | 266 +++++++++++++++-------------- UI_FX_T4.h | 160 ++++++++--------- addon/SD/PERFORMANCE/0/drmmap.json | 86 ++++++++++ 3 files changed, 301 insertions(+), 211 deletions(-) create mode 100644 addon/SD/PERFORMANCE/0/drmmap.json diff --git a/UI.hpp b/UI.hpp index 81bcf7a..c07f923 100644 --- a/UI.hpp +++ b/UI.hpp @@ -399,6 +399,8 @@ void UI_func_drum_volume(uint8_t param); void UI_func_drum_pan(uint8_t param); void UI_func_drum_pitch(uint8_t param); void UI_func_drum_tune_offset(uint8_t param); +void UI_func_custom_mappings(uint8_t param); +void UI_func_cc_mappings(uint8_t param); char* basename(const char* filename); char* strip_extension(char* filename); @@ -4804,59 +4806,59 @@ void UI_func_drum_pitch(uint8_t param) void print_custom_mappings() { -// display.setTextSize(2); -// display.setTextColor(WHITE, BLACK); -// -// for (uint8_t y = 0; y < 10; y++) -// { -// display.setCursor_textGrid(1, y + 8); -// display.setTextColor(WHITE, BLACK); -// seq_print_formatted_number(y + 1, 2); //entry no. -// -// if (custom_midi_map[y].type == 0) -// { -// display.setTextColor(GREY1, BLACK); -// display.show(y + 8, 4, 5, "NONE" ); -// } -// else if (custom_midi_map[y].type == 1) -// { -// display.setTextColor(DX_CYAN, BLACK); -// display.show(y + 8, 4, 7, "KEY/PAD" ); -// } -// else if (custom_midi_map[y].type == 2) -// { -// display.setTextColor(DX_CYAN, BLACK); -// display.show(y + 8, 4, 7, "MIDI CC" ); -// } -// display.setTextColor(DX_ORANGE, BLACK); -// display.show(y + 8, 12, 3, custom_midi_map[y].in ); -// -// display.setTextColor(DX_MAGENTA, BLACK); -// display.show(y + 8, 16, 3, custom_midi_map[y].out ); -// -// display.setTextColor(LIGHTBLUE, BLACK); -// display.show(y + 8, 20, 3, custom_midi_map[y].channel ); -// -// -// display.setTextColor(DX_PURPLE, BLACK); -// if (custom_midi_map[y].in == 0) -// display.show(y + 8, 24, 12, "EMPTY SLOT"); -// else if (custom_midi_map[y].type == 1) -// { -// display.setTextColor(PINK, BLACK); -// display.show(y + 8, 24, 13, find_long_drum_name_from_note(custom_midi_map[y].out) ); -// } -// else if (custom_midi_map[y].type == 2) -// { -// display.setTextColor(LIGHTBLUE, BLACK); -// for (uint8_t i = 0; i < sizeof(cc_dest_values); i++) -// { -// if (custom_midi_map[y].out == cc_dest_values[i]) -// display.show(y + 8, 24, 13, cc_names[i] ); -// } -// } -// } -; + // display.setTextSize(2); + // display.setTextColor(WHITE, BLACK); + // + // for (uint8_t y = 0; y < 10; y++) + // { + // display.setCursor_textGrid(1, y + 8); + // display.setTextColor(WHITE, BLACK); + // seq_print_formatted_number(y + 1, 2); //entry no. + // + // if (custom_midi_map[y].type == 0) + // { + // display.setTextColor(GREY1, BLACK); + // display.show(y + 8, 4, 5, "NONE" ); + // } + // else if (custom_midi_map[y].type == 1) + // { + // display.setTextColor(DX_CYAN, BLACK); + // display.show(y + 8, 4, 7, "KEY/PAD" ); + // } + // else if (custom_midi_map[y].type == 2) + // { + // display.setTextColor(DX_CYAN, BLACK); + // display.show(y + 8, 4, 7, "MIDI CC" ); + // } + // display.setTextColor(DX_ORANGE, BLACK); + // display.show(y + 8, 12, 3, custom_midi_map[y].in ); + // + // display.setTextColor(DX_MAGENTA, BLACK); + // display.show(y + 8, 16, 3, custom_midi_map[y].out ); + // + // display.setTextColor(LIGHTBLUE, BLACK); + // display.show(y + 8, 20, 3, custom_midi_map[y].channel ); + // + // + // display.setTextColor(DX_PURPLE, BLACK); + // if (custom_midi_map[y].in == 0) + // display.show(y + 8, 24, 12, "EMPTY SLOT"); + // else if (custom_midi_map[y].type == 1) + // { + // display.setTextColor(PINK, BLACK); + // display.show(y + 8, 24, 13, find_long_drum_name_from_note(custom_midi_map[y].out) ); + // } + // else if (custom_midi_map[y].type == 2) + // { + // display.setTextColor(LIGHTBLUE, BLACK); + // for (uint8_t i = 0; i < sizeof(cc_dest_values); i++) + // { + // if (custom_midi_map[y].out == cc_dest_values[i]) + // display.show(y + 8, 24, 13, cc_names[i] ); + // } + // } + // } + ; } void UI_func_custom_mappings(uint8_t param) @@ -4865,42 +4867,42 @@ void UI_func_custom_mappings(uint8_t param) if (LCDML.FUNC_setup()) // ****** SETUP ********* { encoderDir[ENC_R].reset(); -// display.fillScreen(BLACK); -// display.setTextColor(WHITE, BLACK); -// display.setTextSize(2); -// border1(); -// border2(); -// border3_large(); -// display.setCursor_textGrid(1, 1); -// display.print(F("CUSTOM MAPPINGS")); -// -// display.setTextColor(WHITE, BLUE); -// display.setTextSize(2); -// display.fillRect (240 + CHAR_width, CHAR_height, 8 * CHAR_width, 4 * CHAR_height, BLUE); -// display.setCursor(240 + CHAR_width * 2 + 5, 2 * CHAR_height ); -// display.print(F("TOUCH")); -// -// display.drawBitmap(240 + CHAR_width * 2 + 4, CHAR_height * 4 - 12, special_chars[19], 8, 8, GREEN); -// display.setCursor(240 + CHAR_width * 3 + 10, CHAR_height * 4 - 12 ); -// display.setTextSize(1); -// display.print(F("PREVIEW")); -// -// display.fillRect (240 + CHAR_width + CHAR_width * 10 - 2, CHAR_height, 8 * CHAR_width, 4 * CHAR_height, BLUE); -// display.setCursor(240 + CHAR_width * 12 + 4, 2 * CHAR_height); -// display.setTextSize(2); -// display.print(F("TOUCH")); -// display.setCursor(240 + CHAR_width * 12 + 3, CHAR_height * 4 - 12 ); -// display.setTextSize(1); -// display.print(F("MIDI LEARN")); -// -// //scrollbar -// display.fillRect (480 - 28, 8 * CHAR_height, 14, 10 * CHAR_height, WHITE); -// display.fillRect (480 - 27, 8 * CHAR_height + 1, 12, 4 * CHAR_height, GREY1); -// -// display.setTextSize(2); -// display.setTextColor(WHITE, BLACK); -// display.setCursor_textGrid(1, 7); -// display.print(F("NO TYPE IN OUT CH. NAME")); + // display.fillScreen(BLACK); + // display.setTextColor(WHITE, BLACK); + // display.setTextSize(2); + // border1(); + // border2(); + // border3_large(); + // display.setCursor_textGrid(1, 1); + // display.print(F("CUSTOM MAPPINGS")); + // + // display.setTextColor(WHITE, BLUE); + // display.setTextSize(2); + // display.fillRect (240 + CHAR_width, CHAR_height, 8 * CHAR_width, 4 * CHAR_height, BLUE); + // display.setCursor(240 + CHAR_width * 2 + 5, 2 * CHAR_height ); + // display.print(F("TOUCH")); + // + // display.drawBitmap(240 + CHAR_width * 2 + 4, CHAR_height * 4 - 12, special_chars[19], 8, 8, GREEN); + // display.setCursor(240 + CHAR_width * 3 + 10, CHAR_height * 4 - 12 ); + // display.setTextSize(1); + // display.print(F("PREVIEW")); + // + // display.fillRect (240 + CHAR_width + CHAR_width * 10 - 2, CHAR_height, 8 * CHAR_width, 4 * CHAR_height, BLUE); + // display.setCursor(240 + CHAR_width * 12 + 4, 2 * CHAR_height); + // display.setTextSize(2); + // display.print(F("TOUCH")); + // display.setCursor(240 + CHAR_width * 12 + 3, CHAR_height * 4 - 12 ); + // display.setTextSize(1); + // display.print(F("MIDI LEARN")); + // + // //scrollbar + // display.fillRect (480 - 28, 8 * CHAR_height, 14, 10 * CHAR_height, WHITE); + // display.fillRect (480 - 27, 8 * CHAR_height + 1, 12, 4 * CHAR_height, GREY1); + // + // display.setTextSize(2); + // display.setTextColor(WHITE, BLACK); + // display.setCursor_textGrid(1, 7); + // display.print(F("NO TYPE IN OUT CH. NAME")); print_custom_mappings(); @@ -4922,18 +4924,18 @@ void UI_func_custom_mappings(uint8_t param) { ; } -// display.setTextColor(WHITE, BLACK); -// display.setTextSize(2); -// display.setCursor_textGrid(1, 2); -// display.print("["); -// display.setCursor_textGrid(4, 2); -// display.print("]"); -// display.setCursor_textGrid(2, 2); -// -// sprintf(displayname, "%02d", activesample); -// display.print(displayname); -// display.setTextColor(DX_CYAN, BLACK); -// display.show(2, 5, 13, basename(drum_config[activesample].name)); + // display.setTextColor(WHITE, BLACK); + // display.setTextSize(2); + // display.setCursor_textGrid(1, 2); + // display.print("["); + // display.setCursor_textGrid(4, 2); + // display.print("]"); + // display.setCursor_textGrid(2, 2); + // + // sprintf(displayname, "%02d", activesample); + // display.print(displayname); + // display.setTextColor(DX_CYAN, BLACK); + // display.show(2, 5, 13, basename(drum_config[activesample].name)); } if (LCDML.FUNC_close()) // ****** STABLE END ********* @@ -4949,37 +4951,37 @@ void UI_func_cc_mappings(uint8_t param) { encoderDir[ENC_R].reset(); -// display.fillScreen(BLACK); -// display.setTextColor(WHITE, BLACK); -// display.setTextSize(2); -// border1(); -// border2(); -// border3_large(); + // display.fillScreen(BLACK); + // display.setTextColor(WHITE, BLACK); + // display.setTextSize(2); + // border1(); + // border2(); + // border3_large(); UI_update_instance_icons(); -// display.setCursor_textGrid(1, 1); -// display.print("CUSTOM DEXED CC"); -// -// display.setTextColor(WHITE, BLUE); -// display.setTextSize(2); -// -// display.fillRect (240 + CHAR_width + CHAR_width * 10 - 2, CHAR_height, 8 * CHAR_width, 4 * CHAR_height, BLUE); -// display.setCursor(240 + CHAR_width * 12 + 4, 2 * CHAR_height); -// display.setTextSize(2); -// display.print(F("TOUCH")); -// display.setCursor(240 + CHAR_width * 12 + 3, CHAR_height * 4 - 12 ); -// display.setTextSize(1); -// display.print(F("MIDI LEARN")); -// -// //scrollbar -// display.fillRect (480 - 28, 8 * CHAR_height, 14, 10 * CHAR_height, WHITE); -// display.fillRect (480 - 27, 8 * CHAR_height + 1, 12, 4 * CHAR_height, GREY1); -// -// display.setTextSize(2); -// display.setTextColor(WHITE, BLACK); -// display.setCursor_textGrid(1, 7); -// display.print(F("NO TYPE IN OUT CH. NAME")); + // display.setCursor_textGrid(1, 1); + // display.print("CUSTOM DEXED CC"); + // + // display.setTextColor(WHITE, BLUE); + // display.setTextSize(2); + // + // display.fillRect (240 + CHAR_width + CHAR_width * 10 - 2, CHAR_height, 8 * CHAR_width, 4 * CHAR_height, BLUE); + // display.setCursor(240 + CHAR_width * 12 + 4, 2 * CHAR_height); + // display.setTextSize(2); + // display.print(F("TOUCH")); + // display.setCursor(240 + CHAR_width * 12 + 3, CHAR_height * 4 - 12 ); + // display.setTextSize(1); + // display.print(F("MIDI LEARN")); + // + // //scrollbar + // display.fillRect (480 - 28, 8 * CHAR_height, 14, 10 * CHAR_height, WHITE); + // display.fillRect (480 - 27, 8 * CHAR_height + 1, 12, 4 * CHAR_height, GREY1); + // + // display.setTextSize(2); + // display.setTextColor(WHITE, BLACK); + // display.setCursor_textGrid(1, 7); + // display.print(F("NO TYPE IN OUT CH. NAME")); print_custom_mappings(); @@ -5005,9 +5007,9 @@ void UI_func_cc_mappings(uint8_t param) } -// display.setTextSize(2); -// display.setTextColor(DX_CYAN, BLACK); -// display.show(2, 1, 13, cc_names[seq.temp_select_menu] ); + // display.setTextSize(2); + // display.setTextColor(DX_CYAN, BLACK); + // display.show(2, 1, 13, cc_names[seq.temp_select_menu] ); } if (LCDML.FUNC_close()) // ****** STABLE END ********* diff --git a/UI_FX_T4.h b/UI_FX_T4.h index 3442e4b..870aa6b 100644 --- a/UI_FX_T4.h +++ b/UI_FX_T4.h @@ -97,83 +97,85 @@ LCDML_add(62, LCDML_0_2, 5, "Drum Pitch", UI_func_drum_pitch); LCDML_add(63, LCDML_0_2, 6, "Drum Tune", UI_func_drum_tune_offset); LCDML_add(64, LCDML_0_2, 7, "MIDI Channel", UI_func_drum_midi_channel); LCDML_add(65, LCDML_0_2, 8, "Smart Filter", UI_func_smart_filter); -LCDML_add(66, LCDML_0, 3, "E-Piano", NULL); -LCDML_add(67, LCDML_0_3, 1, "Voice Level", UI_func_epiano_sound_intensity); -LCDML_add(68, LCDML_0_3, 2, "Panorama", UI_func_epiano_panorama); -LCDML_add(69, LCDML_0_3, 3, "Sound", NULL); -LCDML_add(70, LCDML_0_3_3, 1, "Decay", UI_func_epiano_decay); // uint8_t decay; -LCDML_add(71, LCDML_0_3_3, 2, "Release", UI_func_epiano_release); // uint8_t release; -LCDML_add(72, LCDML_0_3_3, 3, "Hardness", UI_func_epiano_hardness); // uint8_t hardness; -LCDML_add(73, LCDML_0_3_3, 4, "Treble", UI_func_epiano_treble); // uint8_t treble; -LCDML_add(74, LCDML_0_3_3, 5, "Stereo", UI_func_epiano_stereo); // uint8_t stereo; -LCDML_add(75, LCDML_0_3_3, 6, "Tune", UI_func_epiano_tune); // uint8_t tune; -LCDML_add(76, LCDML_0_3_3, 7, "Detune", UI_func_epiano_detune); // uint8_t detune; -LCDML_add(77, LCDML_0_3, 4, "Effects", NULL); -LCDML_add(78, LCDML_0_3_4, 1, "Overdrive", UI_func_epiano_overdrive); // uint8_t overdrive; -LCDML_add(79, LCDML_0_3_4, 2, "Tremolo", NULL); -LCDML_add(80, LCDML_0_3_4_2, 1, "Width", UI_func_epiano_pan_tremolo); // uint8_t pan_tremolo; -LCDML_add(81, LCDML_0_3_4_2, 2, "LFO", UI_func_epiano_pan_lfo); // uint8_t pan_lfo; -LCDML_add(82, LCDML_0_3_4, 3, "Chorus", NULL); -LCDML_add(83, LCDML_0_3_4_3, 1, "Frequency", UI_func_epiano_chorus_frequency); -LCDML_add(84, LCDML_0_3_4_3, 2, "Waveform", UI_func_epiano_chorus_waveform); -LCDML_add(85, LCDML_0_3_4_3, 3, "Depth", UI_func_epiano_chorus_depth); -LCDML_add(86, LCDML_0_3_4_3, 4, "Level", UI_func_epiano_chorus_level); -LCDML_add(87, LCDML_0_3_4, 4, "Reverb Send", UI_func_epiano_reverb_send); -LCDML_add(88, LCDML_0_3, 6, "MIDI", NULL); -LCDML_add(89, LCDML_0_3_6, 1, "MIDI Channel", UI_func_epiano_midi_channel); // uint8_t midi_channel; -LCDML_add(90, LCDML_0_3_6, 2, "Lowest Note", UI_func_epiano_lowest_note); // uint8_t lowest_note; -LCDML_add(91, LCDML_0_3_6, 3, "Highest Note", UI_func_epiano_highest_note); // uint8_t highest_note; -LCDML_add(92, LCDML_0_3, 7, "Setup", NULL); -LCDML_add(93, LCDML_0_3_7, 4, "Transpose", UI_func_epiano_transpose); // uint8_t transpose; -LCDML_add(94, LCDML_0_3_7, 1, "Polyphony", UI_func_epiano_polyphony); // uint8_t polyphony; -LCDML_add(95, LCDML_0_3_7, 2, "Vel. Sense", UI_func_epiano_velocity_sense); // uint8_t velocity_sense; -LCDML_add(96, LCDML_0, 4, "Master Effects", NULL); -LCDML_add(97, LCDML_0_4, 1, "Reverb", NULL); -LCDML_add(98, LCDML_0_4_1, 1, "Roomsize", UI_func_reverb_roomsize); -LCDML_add(99, LCDML_0_4_1, 2, "Lowpass", UI_func_reverb_lowpass); -LCDML_add(100, LCDML_0_4_1, 3, "Lodamp", UI_func_reverb_lodamp); -LCDML_add(101, LCDML_0_4_1, 4, "Hidamp", UI_func_reverb_hidamp); -LCDML_add(102, LCDML_0_4_1, 5, "Diffusion", UI_func_reverb_diffusion); -LCDML_add(103, LCDML_0_4_1, 6, "Level", UI_func_reverb_level); -LCDML_add(104, LCDML_0_4_1, 7, "Reverb Send", UI_func_reverb_send); -LCDML_add(105, LCDML_0_4, 2, "EQ", NULL); -LCDML_add(106, LCDML_0_4_2, 1, "Low-Cut", UI_func_eq_1); -LCDML_add(107, LCDML_0_4_2, 2, "110Hz", UI_func_eq_2); -LCDML_add(108, LCDML_0_4_2, 3, "220Hz", UI_func_eq_3); -LCDML_add(109, LCDML_0_4_2, 4, "1000Hz", UI_func_eq_4); -LCDML_add(110, LCDML_0_4_2, 5, "2000Hz", UI_func_eq_5); -LCDML_add(111, LCDML_0_4_2, 6, "7000Hz", UI_func_eq_6); -LCDML_add(112, LCDML_0_4_2, 7, "High-Cut", UI_func_eq_7) -LCDML_add(113, LCDML_0, 5, "Sequencer", NULL); -LCDML_add(114, LCDML_0_5, 1, "Pattern Editor", UI_func_seq_pattern_editor); -LCDML_add(115, LCDML_0_5, 2, "Vel./Chrd Edit", UI_func_seq_vel_editor); -LCDML_add(116, LCDML_0_5, 3, "Pattern Chain", UI_func_seq_pat_chain); -LCDML_add(117, LCDML_0_5, 4, "Arpeggio", UI_func_arpeggio); -LCDML_add(118, LCDML_0_5, 5, "Mute Matrix", UI_func_seq_mute_matrix); -LCDML_add(119, LCDML_0_5, 6, "Seq. Settings", NULL); -LCDML_add(120, LCDML_0_5_6, 1, "Tempo", UI_func_seq_tempo); -LCDML_add(121, LCDML_0_5_6, 2, "Seq. Length", UI_func_seq_lenght); -LCDML_add(122, LCDML_0_5_6, 3, "Track Setup", UI_func_seq_track_setup); -LCDML_add(123, LCDML_0_5_6, 4, "Seq.Disp.Style", UI_func_seq_display_style); -LCDML_add(124, LCDML_0_5_6, 5, "Dexed Assign", UI_func_dexed_assign); -LCDML_add(125, LCDML_0_5_6, 6, "Shift&Transp.", UI_func_arp_shift); -LCDML_add(126, LCDML_0_5_6, 7, "L.Transp.Key", UI_func_seq_live_transpose_oct); -LCDML_add(127, LCDML_0_5_6, 8, "ChordTrack Keys", UI_func_seq_chord_keys_ammount); -LCDML_add(128, LCDML_0_5_6, 9, "Smart Filter", UI_func_smart_filter); -LCDML_add(129, LCDML_0, 6, "Load/Save", NULL); -LCDML_add(130, LCDML_0_6, 1, "Load Perf.", UI_func_load_performance); -LCDML_add(131, LCDML_0_6, 2, "Save Perf.", UI_func_save_performance); -LCDML_add(132, LCDML_0_6, 3, "Name Perf.", UI_func_set_performance_name); -LCDML_add(133, LCDML_0_6, 4, "MIDI", NULL); -LCDML_add(134, LCDML_0_6_4, 1, "MIDI Recv Bank", UI_func_sysex_receive_bank); -LCDML_add(135, LCDML_0_6_4, 2, "MIDI Snd Bank", UI_func_sysex_send_bank); -LCDML_add(136, LCDML_0_6_4, 3, "MIDI Snd Voice", UI_func_sysex_send_voice); -LCDML_add(137, LCDML_0, 7, "System", NULL); -LCDML_add(138, LCDML_0_7, 1, "Stereo/Mono", UI_func_stereo_mono); -LCDML_add(139, LCDML_0_7, 2, "MIDI Soft THRU", UI_func_midi_soft_thru); -LCDML_add(140, LCDML_0_7, 3, "Favorites", UI_func_favorites); -LCDML_add(141, LCDML_0_7, 4, "Startup", UI_func_startup); -LCDML_add(142, LCDML_0, 8, "Info", UI_func_information); -LCDML_addAdvanced(143, LCDML_0, 9, COND_hide, "Volume", UI_func_volume, 0, _LCDML_TYPE_default); -#define _LCDML_DISP_cnt 143 +LCDML_add(66, LCDML_0_2, 9, "Cust.DrumMap", UI_func_custom_mappings); +LCDML_add(67, LCDML_0, 3, "E-Piano", NULL); +LCDML_add(68, LCDML_0_3, 1, "Voice Level", UI_func_epiano_sound_intensity); +LCDML_add(69, LCDML_0_3, 2, "Panorama", UI_func_epiano_panorama); +LCDML_add(70, LCDML_0_3, 3, "Sound", NULL); +LCDML_add(71, LCDML_0_3_3, 1, "Decay", UI_func_epiano_decay); // uint8_t decay; +LCDML_add(72, LCDML_0_3_3, 2, "Release", UI_func_epiano_release); // uint8_t release; +LCDML_add(73, LCDML_0_3_3, 3, "Hardness", UI_func_epiano_hardness); // uint8_t hardness; +LCDML_add(74, LCDML_0_3_3, 4, "Treble", UI_func_epiano_treble); // uint8_t treble; +LCDML_add(75, LCDML_0_3_3, 5, "Stereo", UI_func_epiano_stereo); // uint8_t stereo; +LCDML_add(76, LCDML_0_3_3, 6, "Tune", UI_func_epiano_tune); // uint8_t tune; +LCDML_add(77, LCDML_0_3_3, 7, "Detune", UI_func_epiano_detune); // uint8_t detune; +LCDML_add(78, LCDML_0_3, 4, "Effects", NULL); +LCDML_add(79, LCDML_0_3_4, 1, "Overdrive", UI_func_epiano_overdrive); // uint8_t overdrive; +LCDML_add(80, LCDML_0_3_4, 2, "Tremolo", NULL); +LCDML_add(81, LCDML_0_3_4_2, 1, "Width", UI_func_epiano_pan_tremolo); // uint8_t pan_tremolo; +LCDML_add(82, LCDML_0_3_4_2, 2, "LFO", UI_func_epiano_pan_lfo); // uint8_t pan_lfo; +LCDML_add(83, LCDML_0_3_4, 3, "Chorus", NULL); +LCDML_add(84, LCDML_0_3_4_3, 1, "Frequency", UI_func_epiano_chorus_frequency); +LCDML_add(85, LCDML_0_3_4_3, 2, "Waveform", UI_func_epiano_chorus_waveform); +LCDML_add(86, LCDML_0_3_4_3, 3, "Depth", UI_func_epiano_chorus_depth); +LCDML_add(87, LCDML_0_3_4_3, 4, "Level", UI_func_epiano_chorus_level); +LCDML_add(88, LCDML_0_3_4, 4, "Reverb Send", UI_func_epiano_reverb_send); +LCDML_add(89, LCDML_0_3, 6, "MIDI", NULL); +LCDML_add(90, LCDML_0_3_6, 1, "MIDI Channel", UI_func_epiano_midi_channel); // uint8_t midi_channel; +LCDML_add(91, LCDML_0_3_6, 2, "Lowest Note", UI_func_epiano_lowest_note); // uint8_t lowest_note; +LCDML_add(92, LCDML_0_3_6, 3, "Highest Note", UI_func_epiano_highest_note); // uint8_t highest_note; +LCDML_add(93, LCDML_0_3, 7, "Setup", NULL); +LCDML_add(94, LCDML_0_3_7, 4, "Transpose", UI_func_epiano_transpose); // uint8_t transpose; +LCDML_add(95, LCDML_0_3_7, 1, "Polyphony", UI_func_epiano_polyphony); // uint8_t polyphony; +LCDML_add(96, LCDML_0_3_7, 2, "Vel. Sense", UI_func_epiano_velocity_sense); // uint8_t velocity_sense; +LCDML_add(97, LCDML_0, 4, "Master Effects", NULL); +LCDML_add(98, LCDML_0_4, 1, "Reverb", NULL); +LCDML_add(99, LCDML_0_4_1, 1, "Roomsize", UI_func_reverb_roomsize); +LCDML_add(100, LCDML_0_4_1, 2, "Lowpass", UI_func_reverb_lowpass); +LCDML_add(101, LCDML_0_4_1, 3, "Lodamp", UI_func_reverb_lodamp); +LCDML_add(102, LCDML_0_4_1, 4, "Hidamp", UI_func_reverb_hidamp); +LCDML_add(103, LCDML_0_4_1, 5, "Diffusion", UI_func_reverb_diffusion); +LCDML_add(104, LCDML_0_4_1, 6, "Level", UI_func_reverb_level); +LCDML_add(105, LCDML_0_4_1, 7, "Reverb Send", UI_func_reverb_send); +LCDML_add(106, LCDML_0_4, 2, "EQ", NULL); +LCDML_add(107, LCDML_0_4_2, 1, "Low-Cut", UI_func_eq_1); +LCDML_add(108, LCDML_0_4_2, 2, "110Hz", UI_func_eq_2); +LCDML_add(109, LCDML_0_4_2, 3, "220Hz", UI_func_eq_3); +LCDML_add(110, LCDML_0_4_2, 4, "1000Hz", UI_func_eq_4); +LCDML_add(111, LCDML_0_4_2, 5, "2000Hz", UI_func_eq_5); +LCDML_add(112, LCDML_0_4_2, 6, "7000Hz", UI_func_eq_6); +LCDML_add(113, LCDML_0_4_2, 7, "High-Cut", UI_func_eq_7) +LCDML_add(114, LCDML_0, 5, "Sequencer", NULL); +LCDML_add(115, LCDML_0_5, 1, "Pattern Editor", UI_func_seq_pattern_editor); +LCDML_add(116, LCDML_0_5, 2, "Vel./Chrd Edit", UI_func_seq_vel_editor); +LCDML_add(117, LCDML_0_5, 3, "Pattern Chain", UI_func_seq_pat_chain); +LCDML_add(118, LCDML_0_5, 4, "Arpeggio", UI_func_arpeggio); +LCDML_add(119, LCDML_0_5, 5, "Mute Matrix", UI_func_seq_mute_matrix); +LCDML_add(120, LCDML_0_5, 6, "Seq. Settings", NULL); +LCDML_add(121, LCDML_0_5_6, 1, "Tempo", UI_func_seq_tempo); +LCDML_add(122, LCDML_0_5_6, 2, "Seq. Length", UI_func_seq_lenght); +LCDML_add(123, LCDML_0_5_6, 3, "Track Setup", UI_func_seq_track_setup); +LCDML_add(124, LCDML_0_5_6, 4, "Seq.Disp.Style", UI_func_seq_display_style); +LCDML_add(125, LCDML_0_5_6, 5, "Dexed Assign", UI_func_dexed_assign); +LCDML_add(126, LCDML_0_5_6, 6, "Shift&Transp.", UI_func_arp_shift); +LCDML_add(127, LCDML_0_5_6, 7, "L.Transp.Key", UI_func_seq_live_transpose_oct); +LCDML_add(128, LCDML_0_5_6, 8, "ChordTrack Keys", UI_func_seq_chord_keys_ammount); +LCDML_add(129, LCDML_0_5_6, 9, "Smart Filter", UI_func_smart_filter); +LCDML_add(130, LCDML_0, 6, "Load/Save", NULL); +LCDML_add(131, LCDML_0_6, 1, "Load Perf.", UI_func_load_performance); +LCDML_add(132, LCDML_0_6, 2, "Save Perf.", UI_func_save_performance); +LCDML_add(133, LCDML_0_6, 3, "Name Perf.", UI_func_set_performance_name); +LCDML_add(134, LCDML_0_6, 4, "MIDI", NULL); +LCDML_add(135, LCDML_0_6_4, 1, "MIDI Recv Bank", UI_func_sysex_receive_bank); +LCDML_add(136, LCDML_0_6_4, 2, "MIDI Snd Bank", UI_func_sysex_send_bank); +LCDML_add(137, LCDML_0_6_4, 3, "MIDI Snd Voice", UI_func_sysex_send_voice); +LCDML_add(138, LCDML_0, 7, "System", NULL); +LCDML_add(139, LCDML_0_7, 1, "Stereo/Mono", UI_func_stereo_mono); +LCDML_add(140, LCDML_0_7, 2, "MIDI Soft THRU", UI_func_midi_soft_thru); +LCDML_add(141, LCDML_0_7, 3, "Cust. CC Map", UI_func_cc_mappings); +LCDML_add(142, LCDML_0_7, 4, "Favorites", UI_func_favorites); +LCDML_add(143, LCDML_0_7, 5, "Startup", UI_func_startup); +LCDML_add(144, LCDML_0, 8, "Info", UI_func_information); +LCDML_addAdvanced(145, LCDML_0, 9, COND_hide, "Volume", UI_func_volume, 0, _LCDML_TYPE_default); +#define _LCDML_DISP_cnt 145 #endif diff --git a/addon/SD/PERFORMANCE/0/drmmap.json b/addon/SD/PERFORMANCE/0/drmmap.json new file mode 100644 index 0000000..9db99e3 --- /dev/null +++ b/addon/SD/PERFORMANCE/0/drmmap.json @@ -0,0 +1,86 @@ +{ + "type": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "in": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "out": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "channel": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] +} \ No newline at end of file