aboutsummaryrefslogtreecommitdiffstats
path: root/src/sequencer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sequencer.c')
-rw-r--r--src/sequencer.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sequencer.c b/src/sequencer.c
index 3110c74..04dd848 100644
--- a/src/sequencer.c
+++ b/src/sequencer.c
@@ -33,6 +33,7 @@ clear_pattern(size_t idx) {
33 redraw_channels = true; 33 redraw_channels = true;
34 redraw_trigs = true; 34 redraw_trigs = true;
35 redraw_bpm = true; 35 redraw_bpm = true;
36 redraw_params = true;
36} 37}
37 38
38void 39void
@@ -469,10 +470,13 @@ stop_sound(void) {
469 SOUND_SQUARE2_FREQ = SOUND_FREQ_RESET; 470 SOUND_SQUARE2_FREQ = SOUND_FREQ_RESET;
470 SOUND_WAVE_FREQ = SOUND_FREQ_RESET; 471 SOUND_WAVE_FREQ = SOUND_FREQ_RESET;
471 SOUND_NOISE_FREQ = SOUND_FREQ_RESET; 472 SOUND_NOISE_FREQ = SOUND_FREQ_RESET;
473 SOUND_SQUARE1_CTRL = 0;
472 SOUND_SQUARE2_CTRL = 0; 474 SOUND_SQUARE2_CTRL = 0;
473 SOUND_WAVE_CTRL = 0; 475 SOUND_WAVE_CTRL = 0;
474 SOUND_NOISE_CTRL = 0; 476 SOUND_NOISE_CTRL = 0;
475 redraw_play_pause = true; 477 redraw_play_pause = true;
478 redraw_pattern_buttons = true;
479 redraw_piano_note = true;
476} 480}
477 481
478void 482void
@@ -513,6 +517,7 @@ toggle_playing(void) {
513 SOUND_NOISE_CTRL = 0; 517 SOUND_NOISE_CTRL = 0;
514 redraw_play_pause = true; 518 redraw_play_pause = true;
515 redraw_pattern_buttons = true; 519 redraw_pattern_buttons = true;
520 redraw_piano_note = true;
516 if (settings.sync == SYNC_IN_LINK) { 521 if (settings.sync == SYNC_IN_LINK) {
517 return; 522 return;
518 } 523 }
@@ -1265,6 +1270,7 @@ handle_trigger_selection(void) {
1265 } 1270 }
1266 trig->active ^= 1; 1271 trig->active ^= 1;
1267 redraw_trigs = true; 1272 redraw_trigs = true;
1273 redraw_piano_note = true;
1268 } 1274 }
1269 } else if (key_tap(KEY_L)) { 1275 } else if (key_tap(KEY_L)) {
1270 s32 inc = -1; 1276 s32 inc = -1;