alCSPSetChlProgram, n_alCSPSetChlProgram
Assigns a MIDI program to a MIDI channel
Syntax
#include <libaudio.h> /* libaudio.h */ void alCSPSetChlProgram( ALCSPlayer *seqp, u8 chan, s32 prog);#include <n_libaudio.h> /* n_libaudio.h */ void n_alCSPSetChlProgram(N_ALCSPlayer *seqp, u8 chan, u8 prog);
Arguments
Description
alCSPSetChlProgram assigns a program number (specified by prog) from the current bank (see the alCSPSetBank function) to the MIDI channel specified by chan. Subsequent program changes within 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
alCSPSetBank, alCSPGetChlProgram, alCSPSendMidi, and alCSeqPlayer
1999/04/30 Changed Format