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_alSeqpSetSeq

Format
#include <n_libaudio.h>
void n_alSeqpSetSeq(N_ALSeqPlayer *seqp, ALSeq *seq);


Arguments
  • seqp is the pointer to the sequence player
  • seq is the pointer to the target sequence
What This Function Does
This function is available in the n_audio library. It sets the sequence player's target sequence to be that referenced by the seq argument, which must first be initialized.

It always resets the sequence tempo to 120 beats per minute.

If there is a bank associated with the sequence player, It resets the sequence player's channel arguments. The first instrument in the bank is used as the default program. That instrument's pan, volume, priority, and bend range are used 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_alSeqNew
alSeq
n_alSeqpSetBank



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 January 1998