Marking musical dictations using the edit distance algorithm

Musical dictations for ear training and training in music writing form a key practice of basic musical training. Marking students' dictation exercises for large groups of students can require a lot of work. In this paper, we present a tool, called CADiM, that can help automate the marking of such musical dictations. The edit distance, which computes the similarity between any two strings, has been used in various areas such as string/text analysis, protein/genome matching in bio‐computing and musical applications, for example music retrieval or musicological analysis. CADiM's marking algorithm is based on an earlier edit distance proposed for musical sequences, but adapted to reflect the marking heuristic used by a domain expert's specific approach to musical training. Computing an edit distance on musical scores requires using an appropriate representation. More precisely, given our specific context, a symbolic representation is required. We use MusicXML, an XML application for standard Western music notation. Given a Document Type Definition for MusicXML, existing Java tools can generate a MusicXML parser. Such a parser, given appropriate input files, then generates an intermediate form (DOM object) on which analyses and transformations are performed in order to compute the edit distance. In turn, the edit distance is used to give a mark as well as identify the key errors. CADiM has been applied to a number of test cases and the results compared with those obtained by a domain expert. Overall, the results are promising, namely, only 3% difference between the domain expert's marks and those produced by CADiM. Copyright © 2006 John Wiley & Sons, Ltd.

[1]  Ian H. Witten,et al.  Towards the digital music library: tune retrieval from acoustic input , 1996, DL '96.

[2]  Alfred V. Aho,et al.  Compilers: Principles, Techniques, and Tools , 1986, Addison-Wesley series in computer science / World student series edition.

[3]  김동규,et al.  [서평]「Algorithms on Strings, Trees, and Sequences」 , 2000 .

[4]  Andreas Kornstädt,et al.  The JRing System for Computer-Assisted Musicological Analysis , 2001, ISMIR.

[5]  Emanuele Pollastri An Audio Front End for Query-by-Humming Systems , 2001, ISMIR.

[6]  Eleanor Selfridge-Field,et al.  Beyond MIDI: the handbook of musical codes , 1997 .

[7]  Esko Ukkonen,et al.  Including Interval Encoding into Edit Distance Based Music Comparison and Retrieval , 2003 .

[8]  Mikael Fernström,et al.  THE BEST OF TWO WORLDS: RETRIEVING AND BROWSING , 2000 .

[9]  Ian H. Witten,et al.  Towards a digital library of popular music , 1999, DL '99.

[10]  Jacques Steyn,et al.  Framework for a music markup language , 2002 .

[11]  Ian H. Witten,et al.  Signal processing for melody transcription , 1995 .

[12]  Edward J. Coyle,et al.  Perceptual Issues in Music Pattern Recognition: Complexity of Rhythm and Key Finding , 2001, Comput. Humanit..

[13]  J. Craig Cleaveland Program Generators with XML and Java , 2001 .

[14]  Mark Sandler,et al.  Using Long-Term Structure to Retrieve Music: Representation and Matching , 2001 .

[15]  Maxime Crochemore,et al.  Approximate String Matching in Musical Sequences , 2001, Stringology.

[16]  Holger H. Hoos,et al.  The GUIDO Notation Format: A Novel Approach for Adequately Representing Score-Level Music , 1998, ICMC.

[17]  David Sankoff,et al.  Comparison of musical sequences , 1990, Comput. Humanit..

[18]  Craig G. Nevill-Manning,et al.  Distance metrics and indexing strategies for a digital library of popular music , 2000, 2000 IEEE International Conference on Multimedia and Expo. ICME2000. Proceedings. Latest Advances in the Fast Changing World of Multimedia (Cat. No.00TH8532).

[19]  Gonzalo Navarro,et al.  A guided tour to approximate string matching , 2001, CSUR.

[20]  Al Saganich,et al.  XML Development with Java 2 , 2000 .