al - Audio Library Functions gDP - DP GBI Macros gdSP - General GBI Macros gSP - SP GBI Macros gt - Turbo Microcode RDP gu - Graphics Utilities Math - Math Functions nuSys - NuSystem os - N64 Operating System sp - Sprite Library Functions uh - Host to Target IO 64DD - N64 Disk Drive
|
alBnkfNewFormat#include <libaudio.h> void alBnkfNew(ALBankFile *ctl, u8 *tbl); Arguments
The instrument compiler (ic) creates two files, the control (.ctl) file and the wavetable (.tbl) file. The control file contains instrument performance information and the wavetable file contains the actual wavetable data. The control file format specifies that references to bank data be stored as offsets from the beginning of the control file. To improve runtime performance, this function converts the offsets to virtual addresses. Typically, the control (.ctl) file is loaded into DRAM while the wavetable file (.tbl) is left in the Cart ROM because of its size. If your table file is small, you can optionally load that into DRAM to minimize DMA requests while the sequence is playing. See Also ic alSeqpSetBank
|