alCSPSetSeq.3p 1.13 KB
.TH alCSPSetSeq 3P local "Silicon Graphics, Inc."

.SH NAME 
.upperok 
alCSPSetSeq \- set the compressed midi sequence player's target sequence.

.SH SYNOPSIS
.nf
\f3
.Op c
#include <libaudio.h>
.sp .8v
void	alCSPSetSeq(ALCSPlayer *seqp, ALCSeq *seq);
.Op
\f1
.fi
.SH PARAMETERS
.TP 10
.B seqp
pointer to the compressed midi sequence player. 
.TP
.B seq
pointer to the target compressed midi sequence.
.SH DESCRIPTION
alCSPSetSeq sets the compressed midi sequence player's target sequence 
to be that referenced by
.I seq,
which must first be initialized. 

alCSPSetSeq always resets the 
.I sequence tempo 
to 120 beats per minute.

If there is a bank associated with the sequence player, alCSPSetSeq resets 
the sequence player's channel parameters. The first instrument in the bank
will be used as the default program. That instrument's 
.I pan, volume, priority 
and
.I bend range 
are used for the channel parameter defaults. If the bank has a percussion 
instrument, that instrument will be used for MIDI channel 10. The 
.I fx mix
will be set to AL_DEFAULT_FXMIX.


.SH SEE ALSO
alCSeqNew(3P),
alCSeq(3P),
alCSPSetBank(3P),
alCSeqPlayer(3P)