Separating Presentation and Content in Mei

Separating Presentation and Content in Mei

SEPARATING PRESENTATION AND CONTENT IN MEI Laurent Pugin Johannes Kepper Perry Roland Swiss RISM / Fribourg University Edirom University of Virginia [email protected] [email protected] [email protected] Maja Hartwig Andrew Hankinson Edirom McGill University, Schulich School of Music [email protected] [email protected] ABSTRACT music notation [8]. Over the last decade, XML has been increasingly used for defining encoding schemes, for ex- Common Western music notation is traditionally orga- ample, in the MusicXML1 interchange format [2] and the nized on staves that can be grouped into systems. When IEEE15992 standard [6]. More recently, with a major re- multiple systems appear on a page, they are arranged lease in 2010 and with the upcoming 2012 release, the from the top to the bottom of the page, similar to lines of music notation model proposed by the Music Encoding words in a text document. Encoding music notation doc- Initiative3 (MEI) has begun to take a leading role. Devel- uments for printing requires this arrangement to be cap- oped by a community of scholars, it acts as an extensible tured. However, in the music notation model proposed music document encoding framework that can be custom- by the Music Encoding Initiative (MEI), the hierarchy of ized for specific needs [5].1 2 3 the XML sub-tree representing the music emphasizes the For XML encoding schemes, such as MEI, that aim to content rather than the layout. Since systems and pages take into account the graphical context of the notation, do not coincide with the musical content, they are encod- the organization of the notation into staves, systems, and ed in a secondary hierarchy that contains very limited pages often needs to be captured. Whereas a page-based information. In this paper, we present a complementary approach will have the page at the top of the XML hierar- solution for augmenting the level of detail of the layout chy, a content-based approach will place an element with of musical documents; that is, the layout information can semantic meaning at the top of the hierarchy, relegating be encoded in a separate sub-tree with cross-references the visual appearance to a secondary role. Music notation to other elements holding the musical content. The major itself is obviously multi-hierarchical, and both approaches advantage of the proposed solution is that it enables mul- reflect valid perspectives. However, a basic principle of tiple layout descriptions, each describing a different vis- XML design is that it requires a single hierarchy to be- ual instantiation of the same musical content. come the primary ordering mechanism of the music nota- tion description. Other hierarchies inherent in music nota- 1. INTRODUCTION tion may then be implemented using alternative tech- Common Western music notation is a system made up of niques such as standoff markup. structured symbols organized upon a group of horizontal Currently, MEI emphasizes the logical content of the lines, commonly called a “staff”, which acts as a bi- notation. For example, in the case of CMN, it employs dimensional reference system. The horizontal axis repre- measures at the top of the hierarchy. Pages and systems sents time while the vertical axis indicates pitch. Staves are captured using the same milestone technique that TEI can be grouped into systems, where the systems contain offers; that is, page and system breaks are represented by concurrent streams of musical events aligned vertically the empty elements <pb/> and <sb/> respectively. It is and where each staff encompasses a defined pitch range. fairly easy to convert between measure-based and page- Systems are arranged across as many pages as necessary based hierarchies using XSLT stylesheets, analogous to to accommodate the musical content. When multiple sys- MusicXML’s conversion between time-based and part- tems appear on a page, multiple systems are arranged based file organization. However, there are additional from the top of the page to the bottom, similar to para- complicating factors in the case of MEI. For example, graphs in a text document. when multiple sources are described within a single en- Numerous schemes have been developed for encoding coding, which is a significant design goal of MEI, the sources do not necessarily agree with regard to page and Permission to make digital or hard copies of all or part of this work for system breaks. Furthermore, they might use a different personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that 1 <http://www.makemusic.com/musicxml> copies bear this notice and the full citation on the first page. 2 <http://www.mx.dico.unimi.it> © 2012 International Society for Music Information Retrieval 3 <http://www.music-encoding.org > score order or map instruments to staves differently. Even out information in an optimized manner would certainly the number of instruments or staves may differ between be valuable. multiple sources. Although MEI is currently capable of 2.1 Requirements dealing with these circumstances, the markup is often verbose, repetitive, and difficult to comprehend quickly. In order optimally to increase the level of detail of the In this paper, we present a complementary module for documents encoded in MEI, it is necessary to achieve a MEI that provides for more detailed capture of layout in- solution that will not overload the logical sub-tree that formation and better separation of musical content and holds the musical content. When mingled with notation visual presentation. The next section describes the objec- content, page and system milestone markers complicate tives pursued, followed by a section on related work. We the encoding of content. Adding more detailed layout then present the module we developed for MEI and con- information, such as page size, results in further compli- clude the paper with remarks on future work. cation. The solution should avoid overlapping hierarchy prob- 2. OBJECTIVES lems whenever possible. Page breaks and system breaks embedded in the content sub-tree represent a non- There are at least two use-cases that would benefit from concurrent hierarchy. Multiple sources requiring different a clearer separation of layout-related information and the presentation exacerbate the problem by creating multiple musical content as proposed in this paper. The first use- instances of non-concurrent hierarchies. case is when precise descriptions in the encoding of ex- Furthermore, it is important for the solution to limit isting source materials are required. A typical example is strictly the amount of duplicated data in the encoding. For the use of MEI as an output of and archival format for example, in the case of “score and parts” editions, when optical music recognition (OMR) software applications the data for the parts duplicates that of the score, the [4]. In such a use, it is necessary to be able to record the score data and the parts data may become desynchro- exact position of the elements on the page. In OMR tran- nized. However, since the duration of a note in the parts scriptions, each note, each music symbol, but also each should be the same as in the score, employing a reference staff and each system requires its coordinate to be stored system eliminates this possibility. in the MEI encoding. Diplomatic transcriptions with ex- The proposed solution should not require the user to act coordinates are not only useful as interchange and choose between content-based or page-based approaches training data for adaptive OMR software applications, but should supplement the current content-focused repre- but they can also be used in digital edition environments sentation of MEI instead. With that in mind it becomes for producing transcription image overlays. A diplomatic clear that the use of this additional layout information has transcription can be shown directly on top of the original to be optional – for users, but also for applications. This source, either for highlighting a particular aspect of the means that applications unaware of this proposal may source or simply for facilitating its readability. Examples safely ignore it, that the additional information provided already exist for text editions [7], and a similar approach by this proposal must leave the musical content sub-tree for music could very well be envisaged with MEI. untouched as much as possible, and that links added be- Such a model would also serve the second use-case, tween the content and the layout elements must not pre- which is the preparation of different renditions from the clude the encoding and decoding of the musical content same musical material, the typical case being an edition on its own. of the full score and, in parallel, an edition of the per- formers’ parts. While it is relatively easy to extract parts 3. RELATED WORK from a score encoded in MEI, there will always be cases where human intervention will be required to finalize the For some aspects, the problem described above is similar layout of the parts, whatever the automatic layout capa- to what is achieved by OMR software applications such bilities of the rendering software application used. The as Photoscore© that extend MusicXML in order to store modifications can include additional dynamic markings, exact positioning information. However, it is done in a lyrics, directives and similar musical information encoded non standard way and is application dependent. There are in nearby staves. The ideal solution is to encode only the also several standard existing encoding strategies and layout modifications applied to the parts so that addition- formats that seem to be relevant to the problem described al changes to the score would automatically be reflected above. The following section will introduce them briefly in the parts.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    6 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us