diff options
| author | Tharo <tharo10600@gmail.com> | 2026-03-09 21:22:28 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-10 06:22:28 +0900 |
| commit | 970af5600ad343a33caea577daa0d80a758b9933 (patch) | |
| tree | dca00c3c25f96bf2a49cf21d28e5963977a3fd1f /assets/xml/audio/samplebanks/SampleBank_2.xml | |
| parent | bc6d153a21e3fc7a729ea2154f2ff16111d5e704 (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 'assets/xml/audio/samplebanks/SampleBank_2.xml')
| -rw-r--r-- | assets/xml/audio/samplebanks/SampleBank_2.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/xml/audio/samplebanks/SampleBank_2.xml b/assets/xml/audio/samplebanks/SampleBank_2.xml index 05d2563d1..191d3a3bb 100644 --- a/assets/xml/audio/samplebanks/SampleBank_2.xml +++ b/assets/xml/audio/samplebanks/SampleBank_2.xml @@ -1,4 +1,4 @@ <!-- This file is only for extraction of vanilla data. For other purposes see assets/audio/samplebanks/ --> <SampleBank Name="SampleBank_2" Index="2"> - <Sample Name="SAMPLE_2_0" FileName="Sample0" SampleRate="32000" BaseNote="F4"/> + <Sample Name="SAMPLE_2_0" FileName="Sample0" SampleRate="32000" BaseNote="G3"/> </SampleBank> |
