alCSeqNew, n_alCSeqNew
Initializes an N64 compressed MIDI sequence structure
#include <libaudio.h> /* libaudio.h */ void alCSeqNew( ALCSeq *seq, u8 *ptr);#include <n_libaudio.h> /* n_libaudio.h */ void n_alCSeqNew(ALCSeq *seq, u8 *ptr);
To play a compressed MIDI sequence with the Compressed MIDI Sequence Player, you must first initialize the ALCSeq runtime data structure by calling the alCSeqNew function with a pointer to the MIDI sequence data.
Note that the MIDI sequence data must be compressed with the midicomp tool. Use sbc tool to put arbitrary number of MIDI sequences together and make one MIDI sequence bank (.sbk file).
For details on n_audio library, see "Chapter 28: n_audio library" in the N64 Programming Manual.
alCSeq, alCSeqPlayer, and midicomp
1999/04/30 Changed Format