diff --git a/MicroDexed.ino b/MicroDexed.ino index a8e845d..0829b18 100644 --- a/MicroDexed.ino +++ b/MicroDexed.ino @@ -691,6 +691,19 @@ void loop() lcd.print( seq_chord_names[arp_chord][2]); lcd.print( seq_chord_names[arp_chord][3]); } + else if (LCDML.FUNC_getID() == LCDML.OTHER_getIDFromFunction(UI_func_drum_monitor)) // UI is in Drum Status Monitor + { + for (uint8_t i = 0; i < NUM_DRUMS; i++) + { + lcd.setCursor( i * 2, 1); + if (Drum[i]->isPlaying() ) { + lcd.write(49 + i); + } else + { + lcd.write(32); + } + } + } } } // CONTROL-RATE-EVENT-HANDLING diff --git a/UI_FX_T4.h b/UI_FX_T4.h index d9386f0..4ebbbf6 100644 --- a/UI_FX_T4.h +++ b/UI_FX_T4.h @@ -125,30 +125,31 @@ LCDML_add(91, LCDML_0_4, 4, "Drum Pitch", UI_func_drum_pitch); LCDML_add(92, LCDML_0_4, 5, "Drum Rev.Send", UI_func_drum_reverb_send); LCDML_add(93, LCDML_0_4, 6, "MIDI Channel", UI_func_drum_midi_channel); LCDML_add(94, LCDML_0_4, 7, "Smart Filter", UI_func_smart_filter); -LCDML_add(95, LCDML_0, 5, "Sequencer", NULL); -LCDML_add(96, LCDML_0_5, 1, "Pattern Editor", UI_func_seq_pattern_editor); -LCDML_add(97, LCDML_0_5, 2, "Vel./Chrd Edit", UI_func_seq_vel_editor); -LCDML_add(98, LCDML_0_5, 3, "Pattern Chain", UI_func_seq_pat_chain); -LCDML_add(99, LCDML_0_5, 4, "Arpeggio", UI_func_arpeggio); -LCDML_add(100, LCDML_0_5, 5, "Seq. Settings", NULL); -LCDML_add(101, LCDML_0_5_5, 1, "Tempo", UI_func_seq_tempo); -LCDML_add(102, LCDML_0_5_5, 2, "Seq. Length", UI_func_seq_lenght); -LCDML_add(103, LCDML_0_5_5, 3, "Track Setup", UI_func_seq_track_setup); -LCDML_add(104, LCDML_0_5_5, 4, "Seq.Disp.Style", UI_func_seq_display_style); -LCDML_add(105, LCDML_0_5_5, 5, "dexed assign", UI_func_dexed_assign); -LCDML_add(106, LCDML_0_5_5, 6, "shift&transp.", UI_func_arp_shift); -LCDML_add(107, LCDML_0_5_5, 7, "L.Transp.Key", UI_func_seq_live_transpose_oct); -LCDML_add(108, LCDML_0_5_5, 8, "ChordTrack Keys", UI_func_seq_chord_keys_ammount); -LCDML_add(109, LCDML_0_5_5, 9, "Smart Filter", UI_func_smart_filter); -LCDML_add(110, LCDML_0_5_5, 10, "Name Sequence", UI_func_set_sequence_name); -LCDML_add(111, LCDML_0_5, 6, "LOAD Seq.Data", UI_func_seq_state_load); -LCDML_add(112, LCDML_0_5, 7, "SAVE Seq.Data", UI_func_seq_state_save); -LCDML_add(113, LCDML_0, 6, "System", NULL); -LCDML_add(114, LCDML_0_6, 1, "Stereo/Mono", UI_func_stereo_mono); -LCDML_add(115, LCDML_0_6, 2, "MIDI Soft THRU", UI_func_midi_soft_thru); -LCDML_add(116, LCDML_0_6, 3, "Favorites", UI_func_favorites); -LCDML_add(117, LCDML_0_6, 4, "EEPROM Reset", UI_func_eeprom_reset); -LCDML_add(118, LCDML_0, 7, "Info", UI_func_information); -LCDML_addAdvanced(119, LCDML_0, 8, COND_hide, "Volume", UI_func_volume, 0, _LCDML_TYPE_default); -#define _LCDML_DISP_cnt 119 +LCDML_add(95, LCDML_0_4, 8, "Drum Monitor", UI_func_drum_monitor); +LCDML_add(96, LCDML_0, 5, "Sequencer", NULL); +LCDML_add(97, LCDML_0_5, 1, "Pattern Editor", UI_func_seq_pattern_editor); +LCDML_add(98, LCDML_0_5, 2, "Vel./Chrd Edit", UI_func_seq_vel_editor); +LCDML_add(99, LCDML_0_5, 3, "Pattern Chain", UI_func_seq_pat_chain); +LCDML_add(100, LCDML_0_5, 4, "Arpeggio", UI_func_arpeggio); +LCDML_add(101, LCDML_0_5, 5, "Seq. Settings", NULL); +LCDML_add(102, LCDML_0_5_5, 1, "Tempo", UI_func_seq_tempo); +LCDML_add(103, LCDML_0_5_5, 2, "Seq. Length", UI_func_seq_lenght); +LCDML_add(104, LCDML_0_5_5, 3, "Track Setup", UI_func_seq_track_setup); +LCDML_add(105, LCDML_0_5_5, 4, "Seq.Disp.Style", UI_func_seq_display_style); +LCDML_add(106, LCDML_0_5_5, 5, "dexed assign", UI_func_dexed_assign); +LCDML_add(107, LCDML_0_5_5, 6, "shift&transp.", UI_func_arp_shift); +LCDML_add(108, LCDML_0_5_5, 7, "L.Transp.Key", UI_func_seq_live_transpose_oct); +LCDML_add(109, LCDML_0_5_5, 8, "ChordTrack Keys", UI_func_seq_chord_keys_ammount); +LCDML_add(110, LCDML_0_5_5, 9, "Smart Filter", UI_func_smart_filter); +LCDML_add(111, LCDML_0_5_5, 10, "Name Sequence", UI_func_set_sequence_name); +LCDML_add(112, LCDML_0_5, 6, "LOAD Seq.Data", UI_func_seq_state_load); +LCDML_add(113, LCDML_0_5, 7, "SAVE Seq.Data", UI_func_seq_state_save); +LCDML_add(114, LCDML_0, 6, "System", NULL); +LCDML_add(115, LCDML_0_6, 1, "Stereo/Mono", UI_func_stereo_mono); +LCDML_add(116, LCDML_0_6, 2, "MIDI Soft THRU", UI_func_midi_soft_thru); +LCDML_add(117, LCDML_0_6, 3, "Favorites", UI_func_favorites); +LCDML_add(118, LCDML_0_6, 4, "EEPROM Reset", UI_func_eeprom_reset); +LCDML_add(119, LCDML_0, 7, "Info", UI_func_information); +LCDML_addAdvanced(120, LCDML_0, 8, COND_hide, "Volume", UI_func_volume, 0, _LCDML_TYPE_default); +#define _LCDML_DISP_cnt 120 #endif