alSeqpSetChlProgram.3p 829 Bytes
.TH alSeqpSetChlProgram 3P local "Silicon Graphics, Inc."

.SH NAME 
.upperok 
alSeqpSetChlProgram \- assigns a MIDI program to a MIDI channel.

.SH SYNOPSIS
.nf
\f3
.Op c
#include <libaudio.h>
.sp .8v
void	alSeqpSetChlProgram(ALSeqPlayer *seqp, u8 chan, u8 prog);
.Op
\f1
.fi
.SH PARAMETERS
.TP 10
.I seqp
pointer to a MIDI sequence player. 
.TP
.I chan
zero based MIDI channel number on which to set the program.
.TP
.I prog
the number of the program to assign to the MIDI channel
.SH DESCRIPTION 
alSeqpSetChlProgram assigns program number 
.I prog
from the current bank (see 
.I alSeqpSetBank) 
to the MIDI channel
.I chan.
Subsequent program changes within the sequence will override the
effect of this call.

.SH SEE ALSO 
.IR alSeqpSetBank (3P),
.IRalSeqpGetChlProgram (3P),
.IR alSeqpSendMidi (3P),
.IR alSeqPlayer (3P)