| transpose examples |
This page gives example input and output data for the transpose 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 transpose 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: | | Transpose a C Major scale up a minor third. |
| Test 002: | | Transpose a C Major scale into E Major. |
| Test 003: | | Transpose a C Minor phrase up a major second. |
| Test 004: | | Transpose a C Minor phrase to D Minor. |
| Test 001: | |
Transpose a C Major scale up a minor third.
The command: transpose -t m3 input-file > output-file
using the following input, will generate the following output:
|
| Test 002: | |
Transpose a C Major scale into E Major.
The command: transpose -k E input-file > output-file
using the following input, will generate the following output:
|
| Test 003: | |
Transpose a C Minor phrase up a major second.
The command: transpose -t M2 input-file > output-file
using the following input, will generate the following output:
|
| Test 004: | |
Transpose a C Minor phrase to D Minor.
The command: transpose -k d input-file > output-file
using the following input, will generate the following output:
|
|
| | | |