docs/audio/Samplebank_XML.md
Samplebank XMLs describe a samplebank file that contains compressed waveform data. It specifies which sample files to include as well as certain global properties such as the index of this samplebank.
<SampleBank
Name="<C Indentifier>"
Index="<uint>"
Medium="<Medium>"
CachePolicy="<CachePolicy>"
BufferBug="[bool]"
>
Begins a new samplebank.
Attributes
SampleMedium enum.AudioCacheLoadType enum.Tags
<Pointer
Index="<uint>"
/>
Create an alternate index that refers to this samplebank.
Attributes
<Sample
Name="<C Identifier>"
Path="<Path>"
/>
Adds a compressed sample file to the samplebank. The sample should be single-channel and big-endian, in a format that is recognizable by the audio driver such as: pcm16, vadpcm, or half-frame vadpcm.
Attributes
$(BUILD_DIR)/assets/audio/samples/)<Blob
Name="<C Identifier>"
Path="<Path>"
/>
Adds a binary blob to the samplebank. Intended for matching only when data cannot be identified.
Attributes
$(BUILD_DIR)/assets/audio/samples/)</SampleBank>