| cint examples |
This page gives example input and output data for the cint 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 cint 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: | | Calculate counterpoint module triplet from two pairs of notes, interleaved with input data. |
Test 002: | | Calculate counterpoint module, including top melodic interval. |
Test 003: | | Calculate counterpoint module, replacing bottom melodic interval with top one. |
Test 004: | | Calculate counterpoint module, suppressing harmonic intervals. |
Test 005: | | Calculate counterpoint module, suppressing melodic intervals. |
Test 006: | | Enclose melodic intervals in curly braces. |
Test 007: | | Mark melodic intervals with "m". |
Test 008: | | Mark harmonic intervals with "h". |
Test 009: | | Place harmonic intervals in square brackets. |
Test 010: | | Separate intervals by commas. |
Test 001: | |
Calculate counterpoint module triplet from two pairs of notes, interleaved with input data.
The command: cint input-file > output-file
using the following input, will generate the following output:
|
Test 002: | |
Calculate counterpoint module, including top melodic interval.
The command: cint -t input-file > output-file
using the following input, will generate the following output:
|
Test 003: | |
Calculate counterpoint module, replacing bottom melodic interval with top one.
The command: cint -T input-file > output-file
using the following input, will generate the following output:
|
Test 004: | |
Calculate counterpoint module, suppressing harmonic intervals.
The command: cint -Ht input-file > output-file
using the following input, will generate the following output:
|
Test 005: | |
Calculate counterpoint module, suppressing melodic intervals.
The command: cint -M input-file > output-file
using the following input, will generate the following output:
|
Test 006: | |
Enclose melodic intervals in curly braces.
The command: cint -ty input-file > output-file
using the following input, will generate the following output:
|
Test 007: | |
Mark melodic intervals with "m".
The command: cint -tm input-file > output-file
using the following input, will generate the following output:
|
Test 008: | |
Mark harmonic intervals with "h".
The command: cint -h input-file > output-file
using the following input, will generate the following output:
|
Test 009: | |
Place harmonic intervals in square brackets.
The command: cint -q input-file > output-file
using the following input, will generate the following output:
|
Test 010: | |
Separate intervals by commas.
The command: cint -C input-file > output-file
using the following input, will generate the following output:
|
|
| | | | | | | | | |