alCSPSetChlPan (function)

alCSPSetChlPan, n_alCSPSetChlPan

Sets the pan position for the given MIDI channel

Syntax

#include <libaudio.h>     /* libaudio.h */
void alCSPSetChlPan(    ALCSPlayer *seqp, u8 chan, ALPan pan);
#include <n_libaudio.h>     /* n_libaudio.h */
void n_alCSPSetChlPan(N_ALCSPlayer *seqp, u8 chan, ALPan pan);

Arguments

seqp
Pointer to compressed MIDI sequence player

chan
Target (0 based) MIDI channel

pan
Pan (balance) position for the MIDI channel

Description

alCSPSetChlPan 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

alCSPGetChlPan, alCSPSendMidi, and alCSeqPlayer

Revision History

1999/04/30 Changed Format