Tool-based Identification of Melodic Patterns in MusicXML Documents

Similar documents
MUSICAL STRUCTURAL ANALYSIS DATABASE BASED ON GTTM

Outline. Why do we classify? Audio Classification

Melody Retrieval using the Implication/Realization Model

Representing, comparing and evaluating of music files

SIMSSA DB: A Database for Computational Musicological Research

jsymbolic 2: New Developments and Research Opportunities

Evaluation of Melody Similarity Measures

INTERACTIVE GTTM ANALYZER

Music Processing Introduction Meinard Müller

CSC475 Music Information Retrieval

Enhancing Music Maps

Predicting Variation of Folk Songs: A Corpus Analysis Study on the Memorability of Melodies Janssen, B.D.; Burgoyne, J.A.; Honing, H.J.

Music Radar: A Web-based Query by Humming System

Beethoven, Bach, and Billions of Bytes

Audio Feature Extraction for Corpus Analysis

Analysis of local and global timing and pitch change in ordinary

CALCULATING SIMILARITY OF FOLK SONG VARIANTS WITH MELODY-BASED FEATURES

METHOD TO DETECT GTTM LOCAL GROUPING BOUNDARIES BASED ON CLUSTERING AND STATISTICAL LEARNING

Melody classification using patterns

Jazz Melody Generation from Recurrent Network Learning of Several Human Melodies

Efficient Processing the Braille Music Notation

A STATISTICAL ANALYSIS OF THE ABC MUSIC NOTATION CORPUS: EXPLORING DUPLICATION

TOWARDS STRUCTURAL ALIGNMENT OF FOLK SONGS

Introduction to Mendeley

Audio. Meinard Müller. Beethoven, Bach, and Billions of Bytes. International Audio Laboratories Erlangen. International Audio Laboratories Erlangen

Modeling memory for melodies

Content-based Indexing of Musical Scores

TOWARD AN INTELLIGENT EDITOR FOR JAZZ MUSIC

Beethoven, Bach und Billionen Bytes

Robert Alexandru Dobre, Cristian Negrescu

ANNOTATING MUSICAL SCORES IN ENP

2 2. Melody description The MPEG-7 standard distinguishes three types of attributes related to melody: the fundamental frequency LLD associated to a t

Music Information Retrieval Using Audio Input

Building a Better Bach with Markov Chains

ITU-T Y.4552/Y.2078 (02/2016) Application support models of the Internet of things

IMPROVING RHYTHMIC TRANSCRIPTIONS VIA PROBABILITY MODELS APPLIED POST-OMR

jsymbolic and ELVIS Cory McKay Marianopolis College Montreal, Canada

LMS301: Reference Management Software (Mendeley)

Music Information Retrieval

Assignment 2: MIR Systems

Perceptual Evaluation of Automatically Extracted Musical Motives

ASSOCIATIONS BETWEEN MUSICOLOGY AND MUSIC INFORMATION RETRIEVAL

ETHNOMUSE: ARCHIVING FOLK MUSIC AND DANCE CULTURE

Introductions to Music Information Retrieval

A New Composition Algorithm for Automatic Generation of Thematic Music from the Existing Music Pieces

Chords not required: Incorporating horizontal and vertical aspects independently in a computer improvisation algorithm

Extracting Significant Patterns from Musical Strings: Some Interesting Problems.

Usability of Computer Music Interfaces for Simulation of Alternate Musical Systems

The Human Features of Music.

Searching digital music libraries

Automatic Polyphonic Music Composition Using the EMILE and ABL Grammar Inductors *

PRODUCTION OF TV PROGRAMS ON A SINGLE DESKTOP PC -SPECIAL SCRIPTING LANGUAGE TVML GENERATES LOW-COST TV PROGRAMS-

Week 14 Query-by-Humming and Music Fingerprinting. Roger B. Dannenberg Professor of Computer Science, Art and Music Carnegie Mellon University

The Joint Transportation Research Program & Purdue Library Publishing Services

Music Representation and Music Information Retrieval

ONLINE ACTIVITIES FOR MUSIC INFORMATION AND ACOUSTICS EDUCATION AND PSYCHOACOUSTIC DATA COLLECTION

Software Quick Manual

Report on the ISME - Gibson Award 2012 to the Greek Society for Music Education and the Music Library of Greece Lillian Voudouri

Computer Coordination With Popular Music: A New Research Agenda 1

Sudhanshu Gautam *1, Sarita Soni 2. M-Tech Computer Science, BBAU Central University, Lucknow, Uttar Pradesh, India

Music and Text: Integrating Scholarly Literature into Music Data

Automatic Commercial Monitoring for TV Broadcasting Using Audio Fingerprinting

Etna Builder - Interactively Building Advanced Graphical Tree Representations of Music

Computational Parsing of Melody (CPM): Interface Enhancing the Creative Process during the Production of Music

Take a Break, Bach! Let Machine Learning Harmonize That Chorale For You. Chris Lewis Stanford University

MUSIR A RETRIEVAL MODEL FOR MUSIC

Doctor of Philosophy

Wonderware Guide to InTouch HMI Documentation

Music Representations. Beethoven, Bach, and Billions of Bytes. Music. Research Goals. Piano Roll Representation. Player Piano (1900)

An ecological approach to multimodal subjective music similarity perception

Computational Modelling of Harmony

Pattern Based Melody Matching Approach to Music Information Retrieval

ATOMIC NOTATION AND MELODIC SIMILARITY

Music Encoding Initiative. Johannes Kepper, Administrative Chair. URL:

REFERENCE MANAGEMENT SOFTWARES : A STUDY OF ENDNOTE, MENDELEY, REFWORK, ZOTERO

administration access control A security feature that determines who can edit the configuration settings for a given Transmitter.

QUALITY OF COMPUTER MUSIC USING MIDI LANGUAGE FOR DIGITAL MUSIC ARRANGEMENT

Bringing an all-in-one solution to IoT prototype developers

EndNote Basics Fall 2010, Room 14N-132 Peter Cohn, x8-5596

(web semantic) rdt describers, bibliometric lists can be constructed that distinguish, for example, between positive and negative citations.

Ask a Librarian: The Role of Librarians in the Music Information Retrieval Community

Music Information Retrieval (MIR)

NEW QUERY-BY-HUMMING MUSIC RETRIEVAL SYSTEM CONCEPTION AND EVALUATION BASED ON A QUERY NATURE STUDY

Efficient Computer-Aided Pitch Track and Note Estimation for Scientific Applications. Matthias Mauch Chris Cannam György Fazekas

a start time signature, an end time signature, a start divisions value, an end divisions value, a start beat, an end beat.

Using different reference quantities in ArtemiS SUITE

Pitch Spelling Algorithms

Background/Purpose. Goals and Features

(12) United States Patent

University of Huddersfield Repository

Curriculum Standard One: The student will listen to and analyze music critically, using the vocabulary and language of music.

Music Representations

MIR IN ENP RULE-BASED MUSIC INFORMATION RETRIEVAL FROM SYMBOLIC MUSIC NOTATION

Melody Retrieval On The Web

Seven Years of Music UU

Next Generation Software Solution for Sound Engineering

Automated extraction of motivic patterns and application to the analysis of Debussy s Syrinx

Evaluating Melodic Encodings for Use in Cover Song Identification

A Case Based Approach to the Generation of Musical Expression

Music Information Retrieval (MIR)

Transcription:

Tool-based Identification of Melodic Patterns in MusicXML Documents Manuel Burghardt (manuel.burghardt@ur.de), Lukas Lamm (lukas.lamm@stud.uni-regensburg.de), David Lechler (david.lechler@stud.uni-regensburg.de), Matthias Schneider (Matthias.Schneider@stud.uni-regensburg.de), Tobias Semmelmann (Tobias.Semmelmann@stud.uni-regensburg.de), Introduction: Digital musicology Computer-based methods in musicology have been around at least since the 1980s 1. Besides the creation of digital editions (cf. Kepper et al., 2014; Veit, 2015), scholars in this area of study have also been interested in quantitative approaches for musicological analyses (cf. Müllensiefen and Frieler, 2004; Vigilanti, 2007). Such quantitative analyses rely on music information retrieval (MIR) systems, which can be used to search collections of songs according to different musicological parameters. There are many examples for existing MIR systems, all with specific strengths and weaknesses. Among the main downsides of such systems are: Usability problems, i.e. tools are cumbersome to use, as they oftentimes only provide a command-line interface and also require some basic programming skills to utilize them; example: Humdrum 2 Restricted scope of querying, i.e. tools can only be used to search for musical incipits; examples: RISM 3, HymnQuest 4 1 The popular series Computing in Musicology started around 1985. For an overview of all volumes of the series cf. http://www.ccarh.org/publications/books/cm/;; Note: All URLs mentioned in this text were last checked on March 3, 2016. 2 http://www.humdrum.org/ 3 https://opac.rism.info/ 4 http://hymnquest.com/

Restricted song collection, i.e. tools can only be used for specific collections of music files; various examples of MIR tools for specific collections are described in Typke et al. (2005) A particularly promising MIR tool can be found in Peachnote 5 (Viro, 2011), which uses optical music recognition (OMR) software to index more than one million sheets from the Petrucci Music Library 6, aiming to provide a search interface for musicology which can be seen as an analog of the Google Books Ngram Viewer 7. Despite many existing software solutions, we believe that accurate OMR is still a major challenge in digital musicology. At the same time, there are numerous databases 8 at hand, that provide machine-readable music documents, fully annotated with MusicXML (Good, 2001) markup. On this account, we designed MusicXML Analyzer, a generic MIR system that is trying to overcome the weaknesses of existing MIR tools, and that allows for the analysis of arbitrary documents encoded in MusicXML format. MusicXML Analyzer: Basic functionality and implementation details MusicXML Analyzer can be used to analyze songs in a quantitative manner, and to search for specific melodic patterns in a collection of songs. The results of the analyses are rendered as virtual scores and can be viewed in any recent web browser. In addition, the queries and the results can be played as a synthesized audio file; all analyses can also be exported as PDF or CSV files. The tool comprises three main components: (1) the upload function, (2) the analysis function, and (3) the search function. After one or more files in MusicXML format have been uploaded via an intuitive drag-and-drop dialog, the analysis component parses the data and calculates basic frequencies; the results are stored in an SQL database and can be displayed in a dashboard view (cf. Fig. 1). 5 http://www.peachnote.com/ 6 http://imslp.org/ 7 https://books.google.com/ngrams 8 http://www.musicxml.com/music-in-musicxml/

Figure 1: Snippet from the dashboard view, showing basic frequencies for a corpus of MusicXML documents. The dashboard displays the following information, either for an individual song, or for a corpus of multiple songs: Overall statistics for single notes, rests and measures Types of instruments used in the song (if described in the MusicXML data) Frequency distribution for single notes, intervals, keys, note durations and meters Via a dedicated search function, a corpus of MusicXML documents can be queried for melodic patterns on different levels of information: Search for a sound sequence; example: c, c, g, g Search for a rhythmic pattern; example: eighth note, eighth note, quarter note, quarter note Search for melodic patterns, i.e. a combination of sound sequence and rhythm; example: c / eighth note, c / eighth note, g / quarter note, g / quarter note

Search queries can be entered via a virtual staff that was realized with the VexFlow library 9 (cf. Fig. 2). Once a search pattern has been entered, it can also be played as a synthesized Midi sequence, which was realized with the Midi.js library 10. Figure 2: Interface for entering queries to identify tonal, rhythmic, or melodic patterns in a corpus of MusicXML documents. After a query has been submitted, all results i.e. the songs that contain the search pattern are displayed in a list view. The list contains the name of the song and also the number of total occurrences of the search pattern in that song. By clicking on one of the song items in the list, a virtual score is rendered for the whole song; the search pattern is highlighted whenever it occurs in that virtual score (cf. Fig. 3). The whole song can be played directly in the web browser, or downloaded for further analyses as a PDF (realized with the jspdf library 11 ). 9 http://www.vexflow.com/ 10 http://mudcu.be/midi-js 11 https://parall.ax/products/jspdf

Figure 3: Virtual score rendering of a document from the results list; the search pattern is highlighted in red color. MusicXML Analyzer was implemented by means of standard web technologies (HTML, CSS, JavaScript, PHP), in particular by utilizing the following libraries and frameworks: Laravel 12, jquery 13, D3.js 14, Bootstrap 15, Typed.js 16, Dropzone.js 17. A short demo video that showcases the main functionality of the tool is available at https://dl.dropboxusercontent.com/u/4194636/musicxml-analyzer.mp4 A fully functional online demo 18 of MusicXML Analyzer is available at http://music-xml-analyzer.herokuapp.com/ MusicXML Analyzer can also be downloaded and modified (according to the MIT open source license) from GitHub: https://github.com/freakimkaefig/music-xml-analyzer 12 http://laravel.com/ 13 https://jquery.com/ 14 http://d3js.org/ 15 http://getbootstrap.com/ 16 http://www.mattboldt.com/demos/typed-js/ 17 http://www.dropzonejs.com/ 18 Due to some technical limitations of our server environment, the initial access to the online demo may take a few seconds to wake up the server from idle mode.

Future directions In its current implementation, MusicXML Analyzer performs an exact match search, i.e. only documents which have the exact same value in their MusicXML markup will be found by the search function. We are planning to implement a more sophisticated melodic similarity algorithm (cf. Grachten et al., 2002; Miura and Shioya, 2003) that allows for the configuration of different similarity thresholds. At the same time, we are adapting MusicXML Analyzer for a recent project on a large corpus of German folksongs. Besides monophonic melodies, this collection of folksongs also contains machine-readable metadata (region, date, etc.) and lyrics. Accordingly, we are trying to enhance the search features of MusicXML Analyzer in a way it can not only search songs for melodic patterns, but also for metadata parameters and keywords from the lyrics. Such an enhanced MIR system could be used to analyze the following research questions: Are there characteristic melodic and linguistic patterns for German folksongs, from a diachronic perspective as well as from a regional perspective? Are there melodic-linguistic collocations, i.e. do certain melodic patterns co-occur with certain keywords or phrases? References Good, M. (2001). MusicXML for Notation and Analysis. In Hewlett, W. B. and Selfridge-Field, E. (eds.), The Virtual Score: Representation, Retrieval, Restoration. Cambridge (MA) and London (UK): MIT Press, pp. 113 24. Grachten, M. A., Josep, L. and Mántaras R. L. (2002). A comparison of different approaches to melodic similarity. Proceedings of the 2nd International Conference in Music and Artificial Intelligence (ICMAI) 2002. Kepper, J., Schreiter, S. and Veit, J. (2014). Freischütz analog oder digital Editionsformen im Spannungsfeld von Wissenschaft und Praxis. Editio, 28: 127 50. Miura, T., & Shioya, I. (2003). Similarity among melodies for music information retrieval. Proceedings of the 12th International Conference on Information and Knowledge Management (CIKM) 2003. Müllensiefen, D. and Frieler, K. (2004). Optimizing Measures Of Melodic Similarity For The Exploration Of A Large Folk Song Database. Proceedings of the 5th International Conference on Music Information Retrieval (ISMIR) 2004, pp. 274 80.

Typke, R., Wiering, F. and Veltkamp, R. C. (2005). A survey of music information retrieval systems. Proceedings of the 6th International Conference on Music Information Retrieval (ISMIR) 2005, pp. 153 60. Veit, J. (2015). Music notation beyond paper. On developing digital humanities tools for music editing. Forschungsforum Paderborn, 18: 40-48. Viglianti, R. (2007). MusicXML: An XML Based Approach to Musicological Analysis. Digital Humanities 2007: Conference Abstracts, pp. 235 37. Viro, V. (2011). Peachnote: Music Score Search and Analysis Platform. Proceedings of the 12th International Conference on Music Information Retrieval (ISMIR) 2011, pp. 359-62.