Humdrum Extras

beat manpage


COMMAND

    beat -- Analyze rhythmic information of **kern data.

SYNOPSIS

    beat [-a[-b rhythm[-z[-d | -s[input[> output]

OPTIONS

    -a Append analysis data to input lines.
    -b rhythm Specify the beat rhythm. For example use -b 2 for cut-time, and -b 4. for compound meters such as 6/8.
    -d Analyze the duration of each line rather than the beat position.
    -s Sum the duration of music in each measure.
    -z Start counting beats from 0 rather than 1.

EXAMPLES

ONLINE DATA

    Input arguments or piped data which are expected to be Humdrum files can also be web addresses. For example, if a program can process files like this:
           program file.krn
    It can also read the data over the web:
           program http://www.some-computer.com/some-directory/file.krn
    Piped data works in a somewhat similar manner:
           cat file.krn | program
    is equivalent to a web file using ths form:
           echo http://www.some-computer.com/some-directory/file.krn | program

    Besides the http:// protocol, there is another special resource indicator prefix called humdrum:// which downloads data from the kernscores website. For example, using the URI humdrum://brandenburg/bwv1046a.krn:

          program humdrum://brandenburg/bwv1046a.krn
    will download the URL:
    Which is found in the Musedata Bach Brandenburg Concerto collection.

    This online-access of Humdrum data can also interface with the classical Humdrum Toolkit commands by using humcat to download the data from the kernscores website. For example, try the command pipeline:

          humcat humdrum://brandenburg/bwv1046a.krn | census -k

DOWNLOAD

    The compiled beat program can be downloaded for the following platforms:

    The source code for the program was last modified on 26 May 2002. Click here to go to the full source-code download page.