alSeqNew.3p 906 Bytes
.TH alSeqNew 3P local "Silicon Graphics, Inc."

.SH NAME
.upperok
alSeqNew \- initialize an Ultra 64 MIDI sequence structure

.SH SYNOPSIS
.nf
\f3
.Op c
#include <libaudio.h>
.sp .8v
void	alSeqNew(ALSeq *seq, u8 *ptr, s32 len);
.Op
\f1
.fi
.SH PARAMETERS
.TP 10
.I seq
pointer to the ALSeq structure you wish to initialize. 
.TP
.I ptr
pointer to the MIDI data.
.TP
.I len
length of the MIDI data in bytes.

.SH DESCRIPTION
In order to play a MIDI sequence with the Sequence Player, you must
first initialize the
.I ALSeq
runtime data structure with a pointer to the MIDI sequence data
.I ptr
and the length of the data
.I len.
.PP
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
.I midicvt
tool to convert from a Type 1 sequence to Type 0 sequence.
.SH SEE ALSO
.IR alSeq (3P),
.IR alSeqp (3P),
.IR midicvt (3P)