| beat examples |
This page gives example input and output data for the beat 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 beat program. If the output you generate is not the
same as the output listed in the individual tests, then something is wrong
with the compiled program or your computing environment.
Test Index
| Test 001: | | Measure the beat position of each point in the score. |
| Test 002: | | Add the number of beats in each measure. |
| Test 003: | | Add the number of beats in each measure and append analysis to input data. |
| Test 004: | | Measure the beat position in 6/8 meter, beat on the eighth note. |
| Test 005: | | Measure the beat position in 6/8 meter, beat on the dotted quarter-note. |
| Test 006: | | Start counting beats at 0 rather than 1. |
| Test 001: | |
Measure the beat position of each point in the score.
The command: beat input-file > output-file
using the following input, will generate the following output:
|
| Test 002: | |
Add the number of beats in each measure.
The command: beat -s input-file > output-file
using the following input, will generate the following output:
|
| Test 003: | |
Add the number of beats in each measure and append analysis to input data.
The command: beat -sa input-file > output-file
using the following input, will generate the following output:
|
| Test 004: | |
Measure the beat position in 6/8 meter, beat on the eighth note.
The command: beat input-file > output-file
using the following input, will generate the following output:
|
| Test 005: | |
Measure the beat position in 6/8 meter, beat on the dotted quarter-note.
The command: beat -b 4. input-file > output-file
using the following input, will generate the following output:
|
| Test 006: | |
Start counting beats at 0 rather than 1.
The command: beat -z input-file > output-file
using the following input, will generate the following output:
|
|
| | | | | |