XML Music Notation Encoding Standards: MusicXML and MEI Constantine Zavras.

Slides:



Advertisements
Similar presentations
Can I Use It, and If so, How? Christian Lieske SAP AG – MultiLingual Technology Discussion of Consortium Proposal for OLIF2 File Header.
Advertisements

Chapter 2: Rhythm and Pitch
DOCUMENT TYPES. Digital Documents Converting documents to an electronic format will preserve those documents, but how would such a process be organized?
Music Encoding Initiative (MEI) DTD and the OCVE
METS: An Introduction Structuring Digital Content.
Symbolic Representations of Music Ichiro Fujinaga MUMT 611 McGill University.
MusicXml: Symbolic Music Interchange Format Carmine Casciato MUMT 611 Thursday, January 27th, 2005 Carmine Casciato MUMT 611 Thursday, January 27th, 2005.
History Leading to XHTML
Guitar Trainer Adam Janke CS 470 Final Presentation.
Tutorial of MusicXML An Open Format For Music Notation Present by Ming-Jing Ho.
XML Introduction What is XML –XML is the eXtensible Markup Language –Became a W3C Recommendation in 1998 –Tag-based syntax, like HTML –You get to make.
XML Introduction By Hongming Yu Feb 6 th, Index Markup Language: SGML, HTML, XML An XML example Why is XML important XML introduction XML applications.
Transforming XML Into Music Notation Baron Schwartz, Computer Science Perry Roland, Digital Library Worthy Martin, Computer Science.
HYPERTEXT MARKUP LANGUAGE (HTML)
Digital Encoding What’s behind E-text Resources?.
MusicXML Music 253 / CS 275A Stanford University Winter 2005 Craig Stuart Sapp.
The GUIDO Music Notation Format
16-1 The World Wide Web The Web An infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that information.
Use Cope-events which are like ( ) where element 1. is ontime in 1000s of second 2. is midi note (60 = middle C) 3. is duration in 1000s of.
Another PillowTalk Presentation  2004 Dynamic Systems, Inc. Introduction to XML for SOA Lee H. Burstein,
MSc IT Multimedia XML & XSLT P. Muneesawang. 2 Outline Why XML XSL.
MusicXML David Sears MUMT September, 2009.
Future Work Software Analysis and Design  20% of Americans age 50 and older play an instrument.  21.7% of adults over age 75 suffer from vision loss.
CISC 3140 (CIS 20.2) Design & Implementation of Software Application II Instructor : M. Meyer Address: Course Page:
Introduction to XML. XML - Connectivity is Key Need for customized page layout – e.g. filter to display only recent data Downloadable product comparisons.
TEXT ENCODING INITIATIVE (TEI) Inf 384C Block II, Module C.
Intro. to XML & XML DB Bun Yue Professor, CS/CIS UHCL.
Content and Computer Platforms Week 3. Today’s goals Obtaining, describing, indexing content –XML –Metadata Preparing for the installation of Dspace –Computers.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
Lifecycle Metadata for Digital Objects (INF 389K) September 18, 2006 The Big Metadata Picture, Web Access, and the W3C Context.
Ontologies and Lexical Semantic Networks, Their Editing and Browsing Pavel Smrž and Martin Povolný Faculty of Informatics,
WEB BASED DATA TRANSFORMATION USING XML, JAVA Group members: Darius Balarashti & Matt Smith.
ENOMA - European Network of Online Musical Archives ENOMA Workshop – The Grieg Academy, UiB 26 May 2006 Leif Arne Rønningen and Lars Erik Løvhaug NTNU.
Selected Topics in Software Engineering - Distributed Software Development.
CODES FOR DATA ARCHIVING, INTERCHANGE, AND ANALYSIS: MUSEDATA Music 253/CS 275A Stanford University.
CEAL 2003 XML for CJK Wooseob Jeong School of Information Studies University of Wisconsin - Milwaukee.
What is musical information? Music 253/CS 275A Topic 1A Stanford University.
XML Introduction. Markup Language A markup language must specify What markup is allowed What markup is required How markup is to be distinguished from.
Markup Languages for Music: MusicXML Music 253/CS 275A Stanford University.
Digital Koto Music Scores
XML and Its Applications Ben Y. Zhao, CS294-7 Spring 1999.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
Web Technologies Lecture 4 XML and XHTML. XML Extensible Markup Language Set of rules for encoding a document in a format readable – By humans, and –
SCHOOL OF LIBRARY, ARCHIVE AND INFORMATION STUDIES Andy Dawson LIS1510 Library and Archives Automation Issues XML and extensible systems Andy Dawson School.
IEEE PAR 1599 First Draft Submitted, May 2005 Web Page
XML CSC1310 Fall HTML (TIM BERNERS-LEE) HyperText Markup Language  HTML (HyperText Markup Language): December  Markup  Markup is a symbol.
Mus 253/3C2008 Craig Stuart Sapp; rev. esf MusicXML and MEI Music 253 Stanford University Winter 2010 Craig Stuart Sapp 2005 Rev. E. S.-F. Winter.
Input Methods for Music Notation Software Mus 253/CS 275A Stanford University Notation 1.
METS from scratch Jerome McDonough New York University October 21, 2003.
Digital OU September 15, Partners The Andrew W. Mellon Foundation Society for Classical Studies Medieval Academy of America Renaissance.
XML Extensible Markup Language
XML Introduction to XML Extensible Markup Language.
Digitizing Historical Newspapers South Carolina Digital Newspaper Program's participation with the Library of Congress' Chronicling America: Historic American.
XML Notes taken from w3schools. What is XML? XML stands for EXtensible Markup Language. XML was designed to store and transport data. XML was designed.
for Musical Applications Using XML
Demystifying Digital Scholarship 10: TEI
Markup Languages for Music: MusicXML and MEI
Rosetta Stone of Musical Data
Markup Languages for Music: MusicXML and MEI
Music Representations
Workshop on XML-Based Library Applications 5
Session I - Introduction
Session I - Introduction
Codes for data archiving, interchange, and analysis
Symbolic Representations of Music
Symbolic Representations of Music
XML Introduction By Hongming Yu Feb 6th, 2002.
Introduction to Humdrum
MusicXml: Symbolic Music Interchange Format
CSE591: Data Mining by H. Liu
Presentation transcript:

XML Music Notation Encoding Standards: MusicXML and MEI Constantine Zavras

Questions What is musical notation encoding? Why is it needed? Why is an XML standard needed?

Musical Instrument Digital Interface (MIDI) MIDI  MIDI is a format used for sending and receiving musical event information  Used to display music audibly in a digital format  At the basic level MIDI states: When a note starts When a note stops How loud the note is The pitch of the note Limitations  MIDI encodes a single performance  It can’t display visual layouts, it requires a music application  It was not intended as an interchange format, but as a mechanism for sending and receiving musical event information  MIDI cannot distinguish between the same note such as a C# or Db  This is because it has no concept of notes, every note is an event, and it is either off or on  Current notation programs have to guess at what MIDI is saying  XML can represent a specific note

Older Standards SMDL - Standard Music Description Language WEDELMUSIC XML Notation Enhanced Musical Notation Markup Language (EMNML) eXtensible Score Language (XScore) OASIS Discussion List for Music Notation XML TC Music and Lyrics Markup Language (4ML) Music Markup Language (MML) FlowML: A Format for Virtual Orchestras MusiXML IMS MUSIC-XML Project ChordML, Actos, and ChordQL XChords Notation Interchange File Format (NIFF) MusicML Musical Notation Markup Language (MNML)

MusicXML Created by Recodare Goal  To create a file format for musical representation and interchange between musical applications that would be Internet-viewable and non- binary Based off of MuseData and Humdrum The DTD was developed at the same time as the software MusicXML has become the commercial replacement for NIFF which was the XML format that was implemented in musical program such as Sibelius Used to augment specialized proprietary formats

MusicXML (cont.) MusicXML is available under a royalty-free license modeled on W3C MusicXML 2.0 is currently in beta test  This version will expand MusicXML's focus from being an interchange format to being a distribution format for digital sheet music

MusicXML Support Finale Sibelius Dolet SharpEye Notion TabEdit Guitar Pro

Music Encoding Initiative (MEI) Developed and updated by Perry Roland, a researcher at the University of Virginia’s Digital Library project. Goals  Create a framework for the encoding of music data  Enable content-based searching, analysis, visual presentation, etc. MEI supports a large array of forms in which music exists (logical, visual, performance, and analytical). MEI can ignore information it does not need Noncommercial

MEI (cont.) MEI utilizes a number of existing standards, both XML and not.  The metadata of the DTD - TEI and Dublin Core.  Pitch attribute names - Acoustical Society of America (ASA)  Performance data - MIDI

Basic MEI DTD <!ELEMENT meihead (meiid, filedesc, projectdesc?, editorialdecl?, profiledesc?, revisiondesc?, sourcedesc*)> <!ELEMENT ending (div*, (section, ending*, div*)* | (measure?,(pb|sb)?)* | staff* | app*)> <!ELEMENT measure (((staff* | (beam | beatrpt | btrem | chord | ftrem | note | pad | rest | space | tuplet)* | layer* | (msrest | msrpt | multirest | multirpt)?)), ossia*, (annot | arpeg | beam2 | bend | dir | dynam | gliss | hairpin | harm | lyrics | midi | mordent | octave | pedal | phrase | reh | slur | tempo | tie | trill | turn)*, (curve | line | symbol )*)>

MusicXML Limitations MusicXML is adequate, not optimal, for diverse music applications Problems exist when reading certain rhythms composed in MusicXML by Finale and Sibelius, especially with tuplets Very long files

MEI Limitations Does not have the backing of a commercial endeavor. Not as human readable as MusicXML  MusicXML - 2  MEI -

Elements vs. Attributes MusicXML  Elements – Logical Domains  Attributes – Visual and Performance Domains  “Terseness is of minimal importance”  Constantly being updated, elements make the update process easier MEI  Attributes – Logical Domains  Elements – Performance Domains  Smaller Files  Attributes can be constrained by type and value, as well as defaulted values, very useful in music

Schema vs. DTD Both MusicXML and MEI use DTD’s MEI has a few competing schema proposals that are not operable

Hello World in MusicXML and MEI MusicXML Hello World MusicXML Hello World MEI Hello World

MusicXML Example major 3 4 G 2

MusicXML Example (cont.) B quarter down single Auf

MEI Example

Examples I Created Trumpet Score-Part MusicXML MEI – Couldn’t get the transformation to work

The Future MEI XSL Transformation from MusicXML  MEI Transformation Sheet 1 MEI Transformation Sheet 1  MEI Transformation Sheet 2 MEI Transformation Sheet 2

The Future Common Western Musical Notation (CWMN)  Music from any time period before the 17th century is impossible to encode with the standards that exist now. Both MEI and MusicXML have stated that they stay within the bounds of CWMN in order to not overextend their limits.  May be possible to do this in the future, or develop new standards based on existing ones to incorporate other forms of notation into XML. Potential for expansion  Music analysis tools, which MEI has some operability in  Ability to sequence music with no external software beyond a text editor. Music players written in Flash and Java  Can read MusicXML or MEI and play the result online  Convert to MIDI  Create playlists  Encode in MPEG

Resources mei/ mei/