We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 103ddf7 commit ebbe2cfCopy full SHA for ebbe2cf
Applications/Note/ScaleVisualizer.h
@@ -53,7 +53,7 @@ class ScaleVisualizer : public UIComponent {
53
((*scale << *rootKey) + ((*scale & 0xFFF) >> (12 - *rootKey % 12))) & 0xFFF;
54
55
if (bitRead(c_aligned_scale_map, note)) {
56
- *rootOffset = (note + 12) - *rootKey;
+ *rootOffset = ((note + 12) - *rootKey) % 12;
57
}
58
} else {
59
*rootKey = note;
0 commit comments