diff options
author | Takeshi Nishio <kkeennnn+github@gmail.com> | 2021-01-20 11:08:06 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 18:08:06 -0800 |
commit | 71f067a60ef01df6a58c086a939a58e40ab7e972 (patch) | |
tree | 1121e05ae3301df687a0436e120af1654e4bb7ed /users/rmw/encoder_functions.c | |
parent | 974d3f1ffdbc4478f8d430021e74cf76e122661f (diff) |
Fix wrong key when "Music Map" is used with MAJOR_MODE. (#11234)
With MAJOR_MODE (= major scale), keys in one octave is not 12 but 7.
To solve this problem, change divisor number from 12 to 7 at %(Modulo) and /(Division).
NOTE:
The last 12 represents half step keys in one octave for pitch calculation.
Diffstat (limited to 'users/rmw/encoder_functions.c')
0 files changed, 0 insertions, 0 deletions