alCSeqNew (function)

alCSeqNew, n_alCSeqNew

Initializes an N64 compressed MIDI sequence structure

Syntax

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

Arguments

seq
Pointer to the ALCSeq structure you wish to initialize

ptr
Pointer to the compressed MIDI data

Description

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