diff --git a/UI.hpp b/UI.hpp index 0c97bff..3949d11 100644 --- a/UI.hpp +++ b/UI.hpp @@ -5217,8 +5217,7 @@ void UI_func_seq_pattern_editor(uint8_t param) { if (seq_running == false && seq_recording == false) { - seq_running = true; - timer1.start(); + handleStart(); } else if (seq_running == true && seq_recording == false) { seq_running = true; @@ -5226,13 +5225,7 @@ void UI_func_seq_pattern_editor(uint8_t param) seq_note_in = 0; } else if (seq_running == true && seq_recording == true) { - seq_running = false; - seq_recording = false; - seq_note_in = 0; - seq_step = 0; - seq_chain_active_step = 0; - timer1.stop(); - MicroDexed[0]->panic(); + handleStop(); } } else if ( seq_menu == 2 && seq_active_function != 40) { @@ -5716,11 +5709,7 @@ void UI_func_arpeggio(uint8_t param) if (seq_running) { seq_running = !seq_running; - timer1.stop(); - MicroDexed[0]->panic(); -#if NUM_DEXED > 1 - MicroDexed[1]->panic(); -#endif + handleStop(); arp_refresh_display_play_status(); seq_step = 0; arp_octave = 0; @@ -5730,7 +5719,7 @@ void UI_func_arpeggio(uint8_t param) { seq_running = !seq_running; arp_refresh_display_play_status(); - timer1.start(); + handleStart(); } } else if ( seq_temp_select_menu == 3 && seq_temp_active_menu == 0 )