diff --git a/Sources/VLPitchGrid.cpp b/Sources/VLPitchGrid.cpp index b1d12b9..e6dccc2 100644 --- a/Sources/VLPitchGrid.cpp +++ b/Sources/VLPitchGrid.cpp @@ -240,6 +240,7 @@ void VLVisualFilter::ResetWithKey(int key) uint16_t VLVisualFilter::operator()(int gridPos, uint16_t visual) { gridPos = (gridPos+60) % 12; + visual &= VLNote::kAccidentalsMask; if (visual == VLNote::kWantNatural) visual = 0; if (visual != fState[gridPos]) {