aboutsummaryrefslogtreecommitdiffstats
path: root/src/sequencer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sequencer.c')
-rw-r--r--src/sequencer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sequencer.c b/src/sequencer.c
index 65a2f46..6aa8eea 100644
--- a/src/sequencer.c
+++ b/src/sequencer.c
@@ -21,12 +21,12 @@ bool update_bpm = false;
21 21
22void 22void
23play_step(void) { 23play_step(void) {
24 Pattern *pat = &patterns[current_pattern];
24 if (current_pattern != next_pattern && step_counter == 15) { 25 if (current_pattern != next_pattern && step_counter == 15) {
25 current_pattern = next_pattern; 26 current_pattern = next_pattern;
26 redraw_pattern_buttons = true; 27 redraw_pattern_buttons = true;
27 update_bpm = true; 28 update_bpm = true;
28 } 29 }
29 Pattern *pat = &patterns[current_pattern];
30 if (pat->ch1.active) { 30 if (pat->ch1.active) {
31 TriggerNote *trig = &pat->ch1.notes[step_counter]; 31 TriggerNote *trig = &pat->ch1.notes[step_counter];
32 ChannelSquareParams *params = &pat->ch1.params[step_counter]; 32 ChannelSquareParams *params = &pat->ch1.params[step_counter];