Tue Feb 3 13:22:26 PST 2009 Craig Stuart Sapp 319 MIDI files to automatically align to recordings using Match, and manual beat alignment data for evaluation. =================================================== + Each mazurka directory contains a list of performance IDs which contains data related to that specific performance of the given mazurka. + Inside these performance ID directories are four files: *.mid == MIDI score for the performance (includes realized repeat structure of the performance if there are multiple endings). *.score == Humdrum data file which was used to create the .mid file. And for evaluation purposes, two additional files: *-clean.txt == These are the manually determined beats times in the recordings. *-sa.txt == Automatic beat alignment results from scorealign. Example files: + mazurka06-4/pid9048-04/pid9048-04-clean.txt This file contains data in two columns: The first column is time in seconds for the beat. The second column is the label for the beat. In this case the measure number is 0 and the beat number is 3 (This is a pickup beat in this case). There are comment lines in the file which start with '#' character. This data format is the plain text data format for annotation files in Sonic Visualiser. The separate between the two columns is one tab character. Here is the first few data lines: 1.447981859 0:3 1.917097505 1:1 2.267981859 1:2 2.727981859 1:3 3.087981859 2:1 3.397981859 2:2 3.707981859 2:3 mazurka06-4/pid9048-04/pid9048-04-sa.txt This is the processed output from scorealign (command-line version). The first column contains the time in seconds of the automatically aligned beat location (The second column contains the beat label, with measure then colon (:) followed by beat number in the measure. The third column is the difference between the automatically aligned beat time and the manually assigned beat time. Accuracy is rounded to the nearest millisecond. Negative values means that the automatic aligned beat came before the manual beat location, and positive means the automatic beat location came after the manually assigned beat location. Absolute values less than 0.020 seconds are basically perfect agreements between the two methods. Differences less than 0.050 are very good. Differences greater than 0.100 are pretty bad. 1.447981859 0:3 0 1.848027859 1:1 -0.068 2.252411859 1:2 -0.015 2.655780859 1:3 -0.071 + mazurka06-4/pid9048-04/pid9048-04.mid Not printable directly since it is a binary file. This MIDI file is a type-0, meaning that both left and right hand notes are stored in the same track. This behaviour can be changed so that they are stored in separate tracks if needed (Otherwise, it is probably easier to parse a type-0 MIDI file)... + mazurka06-4/pid9048-04/pid9048-04.score This is the Humdrum **kern score for the recording. It follows the repeats that the performer makes when performing the composition (if there are any repeat markes in the composition). For example, if the performer repeats a section once or twice, the companion score will match what happens in the performance.