Humdrum Extras

time2tempo manpage


COMMAND

    time2tempo -- Convert a **time spine into a **tempo spine.

SYNOPSIS

    time2tempo [-rf][-a|-p[input[> output]

OPTIONS

    -a Append the **tempo spine to the input data.
    -p Prepend the **tempo spine to the input data.
    -r Round tempo markings to nearest integer values.
    -f Fill null tokens with previous tempo marking.

DESCRIPTION

    The time2tempo command takes one or more **kern spines of a musical score and a **time spine which indicates the time at which each line in the score is to be played. The time2tempo command then calculates the tempo markings necessary to generate the performance at the given times.

    The time values can be expressed in terms of milliseconds by using the flag *u=msec. Seconds are indicated by using the flag *u=sec as demonstrated in the following example.

    The -f option will fill in the tempo markings for all lines, whether or not there has been a tempo change in the performace.

    The -r option can be used to round the tempo values to the nearset whole number if readability is more important than accuracy. In the following example the middle column displays the default output of the time2tempo command, while the last column displays the same data rounded to the nearest whole number.

EXAMPLES

DOWNLOAD

    The compiled time2tempo program can be downloaded for the following platforms:
    • Linux (i386 processors) compiled on 3 Jun 2006.
    • Windows compiled on 1 Jun 2006.

    The source code for the program was last modified on 3 Jun 2006.