alCSeqTicksToSec.3p 726 Bytes
.TH alCSeqTicksToSec 3P local "Silicon Graphics, Inc."

.SH NAME
.upperok
alCSeqTicksToSec \- converts from MIDI clock ticks to seconds

.SH SYNOPSIS
.nf
\f3
.Op c
#include <libaudio.h>
.sp .8v
f32 alCSeqTicksToSec(ALCSeq *seq, s32 ticks, u32 tempo);
.Op
\f1
.fi
.SH PARAMETERS
.TP 10
.I seq
pointer to the ALSeq structure you wish to operate on. 
.TP
.I ticks
number of MIDI clock ticks.
.TP
.I tempo
tempo in microsends per tick.

.SH DESCRIPTION
MIDI sequences represent time in clock ticks relative to some tempo
(speed).  The alCSeqTicksToSec call converts these clock ticks to
seconds. It does not take into account the tempo changes listed in the
sequence.
.SH SEE ALSO
.IR alCSeq (3P),
.IR alCSeqSecToTicks (3P)