alSeqpGetChlPan (function)

alSeqpGetChlPan, n_alSeqpGetChlPan

Returns the pan position for the given MIDI channel

Syntax

#include <libaudio.h>     /* libaudio.h */
ALPan alSeqpGetChlPan(    ALSeqPlayer *seqp, u8 chan);
#include <n_libaudio.h>     /* n_libaudio.h */
ALPan n_alSeqpGetChlPan(N_ALSeqPlayer *seqp, u8 chan);

Arguments

seqp
Pointer to Type 0 MIDI sequence player

chan
Target (0 based) MIDI channel

Description

alSeqpGetChlPan returns the pan position for the given MIDI channel. A value of 0 is hard left, 64 is center, and 127 is hard right. Because messages generated by alSeqpSetChlPan are not processed until the next call to alAudioFrame, a call to alSeqpSetChlPan followed by a call to alSeqpGetChlPan within the same frame will not reflect the new value.

For details on n_audio library, see "Chapter 28: n_audio library" in the N64 Programming Manual.

See Also

alSeqpSetChlPan

Revision History

1999/04/30 Changed Format