alSeqpSetChlProgram.3p
829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
.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)