alSeqpGetTempo (function)

alSeqpGetTempo, n_alSeqpGetTempo
Returns the tempo of the current sequence


#include <libaudio.h>     /* libaudio.h */
s32 alSeqpGetTempo(    ALSeqPlayer *seqp)
#include <n_libaudio.h>     /* n_libaudio.h */
s32 n_alSeqpGetTempo(N_ALSeqPlayer *seqp);


pointer to a compressed MIDI sequence player


alSeqpGetTempo returns the tempo that was active at the end of the last call to alAudioFrame, in microseconds per quarter note, of the target sequence. Because messages generated by alSeqpSetTempo are not processed until the next call to alAudioFrame, multiple calls to alSeqpGetTempo within the same frame will not reflect the new value.

For details on n_audio library, see the "Chapter 28 n_audio library" section of the programming manual.

See Also

alSeqpSetTempo, alSeqPlayer

Revision History

1999/04/30 Changed Format