Skip to content

Commit

Permalink
Strum fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
djphazer committed May 17, 2024
1 parent eeb6d78 commit ce01925
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions software/src/applets/Strum.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ class Strum : public HemisphereApplet {
}

int quant_note = disp + (intervals[i] % num_notes);
int32_t pitch = QuantizerLookup(qselect, quant_note);
int semitone = (MIDIQuantizer::NoteNumber(pitch) + GetRootNote(qselect)) % 12;
int32_t pitch = HS::QuantizerLookup(qselect, quant_note);
int semitone = (MIDIQuantizer::NoteNumber(pitch) + HS::GetRootNote(qselect)) % 12;
gfxBitmap(col_width * i, 55, 8, NOTE_NAMES + semitone * 8);

// TODO: Flip indicator on reverse strums, though tbh it looks fine as is
Expand Down

0 comments on commit ce01925

Please sign in to comment.