Contents page

Rules for Tools/timetostring()


timetostring()
SYNOPSIS
     void timetostring(struct Clip *clip, long time, char *string)

ARGUMENTS
    `struct Clip  *clip'
          Clip for conversion.

    `long time'
          Time, in clock ticks.

    `char *string'
          String to write in.

DESCRIPTION
     `timetostring()' converts clock ticks into ascii text in the
     measure.beat.clocks format.  For example, if the time signature is
     4/4, `timetostring()' converts a time of 205 clock ticks into the
     string, "1.02.13".

     clip determines the time signature used for the conversion.  If
     clip is 0, the master Song Parameter time signature is used.

SEE
     See lengthtostring(), stringtotime(), stringtolength().