alSeqpSetChlVol/n_alSeqpSetChlVol
Sets the volume for the given MIDI channel
#include <libaudio.h> /* libaudio.h */ void alSeqpSetChlVol( ALSeqPlayer *seqp, u8 chan, u8 vol);#include <n_libaudio.h> /* n_libaudio.h */ void n_alSeqpSetChlVol(N_ALSeqPlayer *seqp, u8 chan, u8 vol);
alSeqpSetChlVol sets the volume for the given MIDI channel. A value of 127 is full volume, and 0 is off. Subsequent volume controllers (Cntrl 7) 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.
In addition to channel volume, the sequence player maintains an overall sequence volume that you can gain access to and set by using the alSeqpGetVol and alSeqpSetVol functions.
alSeqpGetChlVol, alSeqpSetVol, alSeqpSendMidi, alSeqPlayer, and alSeqpGetVol
1999/04/30 Changed Format