Skip to content

Commit

Permalink
[Sequence5] - Change way that we prevent clock on reset so held gates…
Browse files Browse the repository at this point in the history
… on reset don't prevent the sequencer from advancing
  • Loading branch information
benirose committed May 27, 2022
1 parent 5801402 commit 326e893
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions software/o_c_REV/HEM_Sequence5.ino
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ public:
int play_note = note[step] + 60 + transpose;
play_note = constrain(play_note, 0, 127);

if (Clock(0)) StartADCLag();
if (Clock(0) && !Clock(1)) StartADCLag();

if (EndOfADCLag() && !Gate(1)) {
if (EndOfADCLag()) {
Advance(step);
if (step == 0) ClockOut(1);
play = 1;
Expand Down

0 comments on commit 326e893

Please sign in to comment.