Humdrum Extras

rscale examples


This page gives example input and output data for the rscale 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 rscale 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:Reduce the rhythmic values by 1/2 of their duration.
    Test 002:Increase rhythmic values to twice their original duration.
    Test 003:Return rhythms to original states using stored inverse factor.
    Test 004:Apply stored alternate scaling.
    Test 005:Return rhtyhms to original encoding, coming from alternate states.
    Test 006:Use a non-power-of-two scaling (convert to tripets).
    Test 007:Process timebase tandem interpretations.
    Test 008:Process time signature tandem interpretations.
    Test 009:Apply a wierd rhythmic scaling.
    Test 010:Recover original rhythms from exotice rhythmic values.
    Test 011:Scale rhythms in **recip spines.
    Test 012:Recover original rhythms in **recip spines.


Test 001: Reduce the rhythmic values by 1/2 of their duration.

The command:

     rscale -f 1/2 input-file > output-file
using the following input, will generate the following output:

input-file:
output-file:
Test 002: Increase rhythmic values to twice their original duration.

The command:

     rscale -f 2 input-file > output-file
using the following input, will generate the following output:

input-file:
output-file:
Test 003: Return rhythms to original states using stored inverse factor.

The command:

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

input-file:
output-file:
Test 004: Apply stored alternate scaling.

The command:

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

input-file:
output-file:
Test 005: Return rhtyhms to original encoding, coming from alternate states.

The command:

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

input-file:
output-file:
Test 006: Use a non-power-of-two scaling (convert to tripets).

The command:

     rscale -f 2/3 input-file > output-file
using the following input, will generate the following output:

input-file:
output-file:
Test 007: Process timebase tandem interpretations.

The command:

     rscale -f 2 input-file > output-file
using the following input, will generate the following output:

input-file:
output-file:
Test 008: Process time signature tandem interpretations.

The command:

     rscale -f 1/2 input-file > output-file
using the following input, will generate the following output:

input-file:
output-file:
Test 009: Apply a wierd rhythmic scaling.

The command:

     rscale -f 11/31 input-file > output-file
using the following input, will generate the following output:

input-file:
output-file:
Test 010: Recover original rhythms from exotice rhythmic values.

The command:

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

input-file:
output-file:
Test 011: Scale rhythms in **recip spines.

The command:

     rscale -f 4 input-file > output-file
using the following input, will generate the following output:

input-file:
output-file:
Test 012: Recover original rhythms in **recip spines.

The command:

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

input-file:
output-file: