alSynSetFXMix alSynSetFXMix (function)

alSynSetFXMix, n_alSynSetFXMix

Sets the wet/dry effect mix for a voice

Syntax

#include <libaudio.h>     /* libaudio.h */
void alSynSetFXMix(ALSynth *drvr, ALVoice *voice, u8 fxmix);
#include <n_libaudio.h>     /* n_libaudio.h */
void n_alSynSetFXMix(           N_ALVoice *voice, u8 fxmix);

Arguments

drvr
Pointer to the synthesizer driver

voice
Pointer to a voice for mixing

fxmix
mix value

Description

alSynSetFXMix sets the relative mix of effects (processed signal and unprocessed signal) to be added to the final mix. A value for fxmix takes the range from 0 to 127 with 0 being completely unprocessed (dry) signal and 127 being completely processed (wet) signal.

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

Note

Call alSynSetFXMix from within the ALVoiceHandler only.

See Also

alSynSetVol, alSynSetPan, alSynSetPitch, alSynSetFXParam, and alSynStartVoiceParams

Revision History

1999/04/30 Changed Format