alCSPSetSeq.3p
1.13 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
.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)