Files
Tharo 970af5600a 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.
2026-03-10 06:22:28 +09:00

9 lines
587 B
XML

<!-- This file is only for extraction of vanilla data. For other purposes see assets/audio/samplebanks/ -->
<SampleBank Name="SampleBank_4" Index="4">
<Sample Name="SAMPLE_4_0" FileName="Sample0" SampleRate="24000" BaseNote="C4"/>
<Sample Name="SAMPLE_4_1" FileName="Sample1" SampleRate="32000" BaseNote="E2"/>
<Sample Name="SAMPLE_4_2" FileName="Sample2" SampleRate="32000" BaseNote="AF3"/>
<Sample Name="SAMPLE_4_3" FileName="Sample3" SampleRate="32000" BaseNote="AF4"/>
<Sample Name="SAMPLE_4_4" FileName="Sample4" SampleRate="32000" BaseNote="B3"/>
</SampleBank>