alSeqpSetSeq (function)

alSeqpSetSeq, n_alSeqpSetSeq

Sets the sequence player's target sequence


#include <libaudio.h>     /* libaudio.h */
void alSeqpSetSeq(    ALSeqPlayer *seqp, ALSeq *seq);
#include <n_libaudio.h>     /* n_libaudio.h */
void n_alSeqpSetSeq(N_ALSeqPlayer *seqp, ALSeq *seq);


Pointer to the sequence player

Pointer to the target sequence


alSeqpSetSeq sets the sequence player's target sequence to be that referenced by the seq argument, which must first be initialized.

alSeqpSetSeq always resets the sequence tempo to 120 beats per minute.

If there is a bank associated with the sequence player, It resets the sequence player's channel arguments. The first instrument in the bank is used as the default program. That instrument's pan, volume, priority, and bend range are used for the channel parameter defaults. If the bank has a percussion instrument, that instrument is used for MIDI channel 10. The fx mix is set to AL_DEFAULT_FXMIX.

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

See Also

alSeqNew, alSeq, alSeqpSetBank, and alSeqPlayer

Revision History

1999/04/30 Changed Format