alSeqpSetChlPan (function)

alSeqpSetChlPan, n_alSeqpSetChlPan

Sets the pan position for the given MIDI channel

Syntax

#include <libaudio.h>     /* libaudio.h */
void alSeqpSetChlPan(    ALSeqPlayer *seqp, u8 chan, ALPan pan);
#include <n_libaudio.h>     /* n_libaudio.h */
void n_alSeqpSetChlPan(N_ALSeqPlayer *seqp, u8 chan, ALPan pan);

Arguments

seqp
Pointer to a MIDI sequence player

chan
Target (0 based) MIDI channel

pan
Pan (balance) position for the MIDI channel

Description

alSeqpSetChlPan sets the pan position for the given MIDI channel. A value of 0 is hard left, 64 is center, and 127 is hard right.

Subsequent pan controllers (Cntrl 10) in the sequence will override the effect of this call.

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

See Also

alSeqpGetChlPan, alSeqpSendMidi, alSeqPlayer

Revision History

1999/04/30 Changed Format