| time2tempo examples |
This page gives example input and output data for the time2tempo program.
The output data from these tests can be compared to output on your platform
using the same input file in order to determine if there is a problem
with the time2tempo program. If the output you generate is not the
same as the output listed in the individual tests, then something may be wrong
with the compiled program or your computing environment (or a bug added to
the program after the example output was generated).
Test Index
Test 001: | | Convert **time data in seconds format into **tempo data, tempo given for each line. |
Test 002: | | Converting millisecond data to tempo, not rounding tempo values. |
Test 003: | | Converting millisecond data to tempo, with rounding of output tempo. |
Test 001: | |
Convert **time data in seconds format into **tempo data, tempo given for each line.
The command: time2tempo -af input-file > output-file
using the following input, will generate the following output:
|
Test 002: | |
Converting millisecond data to tempo, not rounding tempo values.
The command: time2tempo -Ra input-file > output-file
using the following input, will generate the following output:
|
Test 003: | |
Converting millisecond data to tempo, with rounding of output tempo.
The command: time2tempo -af input-file > output-file
using the following input, will generate the following output:
|
|
| | |