Humdrum Extras

minrhy examples


This page gives example input and output data for the minrhy 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 minrhy 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:If all notes are the same length, then that is the minimum rhythmic unit.
    Test 002:All notes in the file are multiples of the smallest-duration note.
    Test 003:Two against three polyrhythm.
    Test 004:Three against five polyrhythm.


Test 001: If all notes are the same length, then that is the minimum rhythmic unit.

The command:

     minrhy input-file > output-file
using the following input, will generate the following output:

input-file:
output-file:
Test 002: All notes in the file are multiples of the smallest-duration note.

The command:

     minrhy input-file > output-file
using the following input, will generate the following output:

input-file:
output-file:
Test 003: Two against three polyrhythm.

The command:

     minrhy input-file > output-file
using the following input, will generate the following output:

input-file:
output-file:
Test 004: Three against five polyrhythm.

The command:

     minrhy input-file > output-file
using the following input, will generate the following output:

input-file:
output-file: