N64® Functions Menu

al - Audio Library Functions
gDP - DP GBI Macros
gdSP - General GBI Macros
gSP - SP GBI Macros
gt - Turbo Microcode RDP
gu - Graphics Utilities
Math - Math Functions
nuSys - NuSystem
os - N64 Operating System
sp - Sprite Library Functions
uh - Host to Target IO
64DD - N64 Disk Drive

Nintendo® Confidential





n_alCSPSetSeq

Syntax
#include <n_libaudio.h>
void n_alCSPSetSeq(N_ALCSPlayer *seqp, ALCSeq *seq);

Arguments

  • seqp is the pointer to the compressed midi sequence player
  • seq is the pointer to the target compressed midi sequence

Explanation
This function is available in the n_audio library. It sets the compressed midi sequence player's target sequence as specified by seq, which must first be initialized. This function always resets the sequence tempo to 120 beats per minute.

If there is a bank associated with the sequence player, this function resets the sequence player's channel arguments. It uses the first instrument in the bank as the default program, and it uses that instrument's pan, volume, priority, and bend range for the channel parameter defaults. If the bank has a percussion instrument, that instrument is used for MIDI channel 10. The fx mix is set to AL_DEFAULT_FXMIX.

See Also
n_alCSeqNew
alCSeq
n_alCSPSetBank
alCSeqPlayer



Nintendo® Confidential

Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility.


Copyright © 1998
Nintendo of America Inc. All rights reserved
Nintendo and N64 are registered trademarks of Nintendo
Last Updated April, 1999