Skip to content

Commit

Permalink
SwitchSeq: cleanup
Browse files Browse the repository at this point in the history
silently uses global quantizer settings in background
  • Loading branch information
djphazer committed May 15, 2024
1 parent ab6fca1 commit 12a5122
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions software/src/applets/SwitchSeq.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class SwitchSeq : public HemisphereApplet
cv[ch] = In(ch);
}
int32_t pitch = ValueForChannel(ch);
int32_t quantized = Quantize(ch, pitch, root << 7, 0);
int32_t quantized = Quantize(ch, pitch);
Out(ch, quantized);
}
}
Expand Down Expand Up @@ -148,9 +148,6 @@ class SwitchSeq : public HemisphereApplet
}

private:
// Global Settings
int root = 0; // C
//int scale = 7; // DORI
// TODO: reset vs. 2nd clock mode

// Modes
Expand All @@ -160,7 +157,6 @@ class SwitchSeq : public HemisphereApplet
// Sequencer
MiniSeq miniseq[4];
int step = 0; // 0 -> MAX_STEPS
//braids::Quantizer quantizer;

// UI
int cursor = 0;
Expand Down

0 comments on commit 12a5122

Please sign in to comment.