alSeqpGetChlFXMix (function)

alSeqpGetChlFXMix, n_alSeqpGetChlFXMix

Returns the effect mix for the given MIDI channel

Syntax

#include <libaudio.h>     /* libaudio.h */ 
u8 alSeqpGetChlFXMix(    ALSeqPlayer *seqp, u8 chan);
#include <n_libaudio.h>     /* n_libaudio.h */
u8 n_alSeqpGetChlFXMix(N_ALSeqPlayer *seqp, u8 chan);

Arguments

seqp
Pointer to the Type 0 MIDI sequence player

chan
Target (0 based) MIDI channel

Description

alSeqpGetChlFXMix returns the effect mix for the given MIDI channel. A value of 0 indicates the sound is completely dry, and 127 indicates the sound is completely wet. Because messages generated by alSeqpSetChlFXMix are not processed until the next call to alAudioFrame , a call to alSeqpSetChlFXMix followed by a call to alSeqpGetChlFXMix 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

alSeqpSetChlFXMix, alSeqPlayer

Revision History

1999/04/30 Changed Format