alCSPSetTempo (function)

alCSPSetTempo, n_alCSPSetTempo

Specifies the tempo for the sequence player to use

Syntax

#include <libaudio.h>     /* libaudio.h */

void alCSPSetTempo(    ALCSPlayer *seqp, s32 tempo);
#include <n_libaudio.h>     /* n_libaudio.h */

void n_alCSPSetTempo(N_ALCSPlayer *seqp, s32 tempo);

Arguments

seqp
Pointer to the compressed MIDI sequence player

tempo
Tempo in microseconds per MIDI quarter note

Description

alCSPSetTempo specifies a new sequence tempo for play back. Note that the tempo set with this call will override the tempo change messages in the sequence

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

See Also

alCSPGetTempo, alCSeqPlayer

Revision History

1999/04/30 Changed Format