summaryrefslogtreecommitdiff
path: root/src/code/sys_debug_controller.c
diff options
context:
space:
mode:
authorTharo <tharo10600@gmail.com>2026-03-09 21:22:28 +0000
committerGitHub <noreply@github.com>2026-03-10 06:22:28 +0900
commit970af5600ad343a33caea577daa0d80a758b9933 (patch)
treedca00c3c25f96bf2a49cf21d28e5963977a3fd1f /src/code/sys_debug_controller.c
parentbc6d153a21e3fc7a729ea2154f2ff16111d5e704 (diff)
Audio: Fix note values (#2716)
Due to the layout of the pitch_frequencies lookup table, note values computed in extraction were reflected around middle C (midi note number 60). This didn't matter for matching, values would successfully roundtrip. However when using samples in external programs or converting soundfonts to standard formats the note values would lead to incorrect playback of sounds. This change corrects the note values so that external programs correctly infer the pitch of the sound when played at a particular MIDI key.
Diffstat (limited to 'src/code/sys_debug_controller.c')
0 files changed, 0 insertions, 0 deletions