alSeqSecToTicks.3p 749 Bytes
.TH alSeqSecToTicks 3P local "Silicon Graphics, Inc."

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

.SH SYNOPSIS
.nf
\f3
.Op c
#include <libaudio.h>
.sp .8v
u32	alSeqSecToTicks(ALSeq *seq, float sec, u32 tempo);
.Op
\f1
.fi
.SH PARAMETERS
.TP 10
.I seq
pointer to the ALSeq structure you wish to operate on. 
.TP
.I sec
number of seconds you wish to convert to ticks.
.TP
.I tempo
the sequence tempo in microsends per tick.

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