alSeqpSetBank (function)

alSeqpSetBank, n_alSeqpSetBank

Specifies the instrument bank for the sequence player to use

Syntax

#include <libaudio.h>     /* libaudio.h */
void alSeqpSetBank(    ALSeqPlayer *seqp, ALBank *b);
#include <n_libaudio.h>     /* n_libaudio.h */
void n_alSeqpSetBank(N_ALSeqPlayer *seqp, ALBank *b);

Arguments

seqp
Pointer to the sequence player

b
Pointer to the instrument bank to use

Description

alSeqpSetBank specifies which ALBank the sequence player should use when mapping MIDI notes to instruments. You must first load the bank into RAM and initialize it by calling alBnkfNew before the bank can be used by alSeqpSetBank.

For details on n_audio library, see the "Chapter 28 n_audio library" of the programming manual.

See Also

alBnkfNew, alSeqPlayer

Revision History

1999/04/30 Changed Format