alCSeqNew (function)

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);


Pointer to the ALCSeq structure you wish to initialize

Pointer to the compressed MIDI data


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.

See Also

alCSeq, alCSeqPlayer, and midicomp

Revision History

1999/04/30 Changed Format