**recipscore with constant time-base
timebase -t n[.] [-M mark] [-m mark] [-x] [inputfile ...] [ > outputfile.tb]
**recipinputs so that output data records represent equivalent slices (elapsed duration) of time. The effect of the timebase command is best illustrated by an example. With a specified time-base of a sixteenth duration, the following input:
would produce the following output:
**kern **kern **kern **kern 4g 8.r 8.cc 16ee . . . 8ff . 32b 16cc 16gg . 32a . . 8f 8cc 8dd 8ff *- *- *- *-
Each output record represents a snap-shot of a sixteenth duration following the previous data record. Depending upon the choice of time-base, the resulting output is either expanded or contracted in length. Details finer than the specified time-base are lost; in the above example, notice that the second thirty-second note (pitch `A' in the second spine) has disappeared from the file as the time-base is only a sixteenth duration.
**kern **kern **kern **kern *tb16 *tb16 *tb16 *tb16 4g 8.r 8.cc 16ee . . . 8ff . . . . . 32b 16cc 16gg 8f 8cc 8dd 8ff . . . . *- *- *- *-
The time-base is selected by assigning a
value to the
Time-base durations may be dotted.
Comments and barlines are preserved in the output, however, acciaccatura records (grace notes) are discarded.
It is recommended that output files produced using the timebase command should be given names with the distinguishing `.tb' extension.
Options are specified in the command line. e.g.
-h displays a help screen summarizing the command syntax -t n set time-base where n represents a
-x strip duration values from the input -M mark prepend mark to beginning of any padded output records -m mark append mark to end of any padded output records
timebase -t 8. -x
**recip duration encodings from
each output data record will represent an elapsed duration of
a dotted eighth note.
The -M option adds a user-specified marker-string to the beginning of all records that timebase pads to the output. For example, the command:
timebase -t 8 -M ABC
will add the string
ABC to the beginning of (otherwise)
null data records added by
The -m option appends a user-specified marker-string to the end of all padded output records. Both the -M and -m options can be used concurrently.
**kern (2), metpos (4)