N64® Functions Menu

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

Nintendo® Confidential

## alSeqNew

Syntax

    #include <libaudio.h>
    void alSeqNew(ALSeq *seq, u8 *ptr, s32 len);

Arguments

- seq is the pointer to the ALSeq structure that you want to initialize
- ptr is the pointer to the MIDI data
- len is the length of the MIDI data in bytes

Explanation
To play a MIDI sequence with the Sequence Player, you must first initialize the ALSeq runtime data structure with a pointer to the MIDI sequence data (ptr) and the length of the data (len). Note that the MIDI sequence must be a Type 0 Standard MIDI file as specified by the MIDI Manufacturer's Association. You can use the midicvt tool to convert from a Type 1 sequence to a Type 0 sequence.
See Also
alSeq
midicvt

Nintendo® Confidential Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility.
Copyright © 1998
Nintendo of America Inc. All rights reserved
Nintendo and N64 are registered trademarks of Nintendo
Last Updated April, 1999