alSeqpSetSeq.3p 1.07 KB
.TH alSeqpSetSeq 3P local "Silicon Graphics, Inc."

.SH NAME 
.upperok 
alSeqpSetSeq \- set the sequence player's target sequence.

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


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

If there is a bank associated with the sequence player, alSeqpSetSeq 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
.IR alSeqNew (3P),
.IR alSeq (3P),
.IR alSeqpSetBank (3P),