Humdrum Extras

Test Examples


This page lists programs which have example input and output data. 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 barnum program. If the output you generate is not the same as the output listed in the individual tests, then something is wrong with the compiled program or your computing environment.

    barnum Number, renumber, or remove barline numbers in Humdrum files.
    beat Analyze rhythmic information of **kern data.
    gettime Create an absloute timing spine to indicate the playing time of **kern data.
    harm2kern Convert **harm data into **kern data.
    hum2gmn Convert Humdrum data into Guido Music Notation.
    hum2xml Convert Humdrum files into MusicXML files.
    kern2cmn Convert **kern data into CMN data.
    kern2dm Convert **kerndata into input data for Director musices.
    kern2melisma Convert **kern data into input data for the Melisma Music Analyzer.
    kern2skini Convert **kern data into SKINI data for STK.
    keycorel Correlation identification of keys in musical contexts.
    lofcog Line of fifths center of gravity measurements.
    minrhy Find the minimum rhythmic unit in **kern data.
    mvspine Re-organize the spine ordering of a Humdrum file.
    ottava Convert between sounding and printed ottava marks in **kern data.
    pitchmix Randomly reorder the pitches in **kern spines, keep rhythms unchanged.
    prange Generate pitch histogram data from **kern input data.
    rcheck Print rythmic information for a Humdrum file.
    scaletype Categorizes **kern data as pentatonic, hexatonic, or heptatonic.
    scordur Measure the duration of a Humdrum file containing **kern data.
    sonority Identify basic chord qualities in a simultaneous musical texture.
    spinetrace Print spine parsing data to check for spine path errors.
    swing Create a **time spine which "swings" the eighth-note rhythmic levels.
    thru2 Expand repeated material in Humdrum files.
    tiefix Fix tied-note syntax in **kern data.
    time2tempo Convert a **time spine into a **tempo spine.
    transpose Transpose **kern data.
    tsroot Analyze the harmony of **kern data using the Melisma Music Analyzer.
    xml2hum Convert MusicXML files into Humdrum files.
    zscores Calculate standard scores of numerical data spines.