alSeqpSetSeq.3p
1.07 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
58
.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),