Humdrum Extras

tindex examples


This page gives example input and output data for the tindex 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 tindex 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:Extract a pitch sequence only.
    Test 002:Extract diatonic musical intervals from two spines.


Test 001: Extract a pitch sequence only.

The command:

     tindex -AD -E -f "PCH" input-file > output-file
using the following input, will generate the following output:

input-file:
output-file:
Test 002: Extract diatonic musical intervals from two spines.

The command:

     tindex -AD -E -f "INT" input-file > output-file
using the following input, will generate the following output:

input-file:
output-file: