Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
rankaisija edited this page Jul 29, 2023 · 1 revision

rom/sound/sample/

Naming

rom/sound/sample/SampleName/

Content

  • sample.vadpcm.bin
  • sample.book.bin
  • sample.loopbook.bin
  • config.cfg

Binary Files

In most cases the folder will only have vadpcm.bin and book.bin*, as these are essential files for samples. If the sample can loop then there should also be loopbook.bin.

User is not required to interact with these. tools/z64audio will take care of writing these and the config.cfg.

config.cfg

# Amb_Crowd
codec           = 0
medium          = 0
bitA            = 0
bitB            = 0

# Loop
loop_start      = 374
loop_end        = 62320
loop_count      = -1
tail_end        = 0

# Instrument Info
basenote        = 60
finetune        = 0

src/sound/sample/

Naming

src/sound/sample/SampleName/

Content

  • *.wav | *.aiff | *.mp3
  • config.cfg

Audio

For building it's required that there is at least on of the listed audio formats located in this folder. Make will prioritize building the newest audio file.

Config

User isn't required to provide config on initial conversion as it will be generated if it does not exist. Config mostly provides some settings for the sample conversion.

normalize       = true # Maximum volume
inherit_vanilla = false # If vanilla config exists, inherit pitch from it
half_precision  = false # Rough compression