Raffaele Viglianti discusses migrating the Music Encoding Initiative (MEI) schema to use the One Document Does It All (ODD) format like the Text Encoding Initiative (TEI). This will make MEI more modular, extensible, and customizable while also generating documentation. The TEI Special Interest Group in Music is working to combine TEI and MEI so musical notation can be encoded within TEI documents. Examples are provided and further work is outlined.
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Making mei feel odd
1. Making MEI feel ODD
Raffaele Viglianti
Making
feel
ODD
Employing a literate programming approach for MEI
Raffaele Viglianti, Kingʼs College London
TEI Members Meeting – Zadar – 11/11/2010
TEIMM - Zadar 11/11/2010
2. Making MEI feel ODD
Raffaele Viglianti
2 of 22
Introduction
MEI – Music Encoding Initiative
available at
http://music-encoding.org
TEIMM - Zadar 11/11/2010
3. Making MEI feel ODD
Introduction
Raffaele Viglianti
3 of 22
The concept of music is multimodal: it exists in different media
at different stages.
M. Babbit (1965) The use of Computers in Musicological Research
Graphemic Acoustic
Auditory
TEIMM - Zadar 11/11/2010
4. Making MEI feel ODD
Introduction
Raffaele Viglianti
4 of 22
The concept of music is multimodal: it exists in different media
at different stages.
M. Babbit (1965) The use of Computers in Musicological Research
Graphemic Acoustic
Auditory
TEIMM - Zadar 11/11/2010
5. Making MEI feel ODD
Introduction
Raffaele Viglianti
5 of 22
Why MEI?
- Inspired by TEI’s role in the Digital Humanities
- Designed to represent documents and sources, including
manuscripts
- Designed for alignment with facsimiles
- Designed to support the representation of editorial
intervention
- Supports different historical musical repertories
- Is structured in multiple modules
- Is extensible
TEIMM - Zadar 11/11/2010
6. Making MEI feel ODD
Raffaele Viglianti
6 of 22
Motivations
XML formats are defined with Schemata
- W3C
- RelaxNG
-…
Weak support for
- modular structure (i.e. selection of modules)
- format extension
TEIMM - Zadar 11/11/2010
7. Making MEI feel ODD
Motivations
Raffaele Viglianti
7 of 22
XML formats addressing multiple users and uses need formal
customization mechanisms.
XML formats with specific uses
- MathML; DocBook
- MusicXML
XML formats addressing multiple users / uses
• Interchange
TEI • Source representation • Modules ON/OFF
• Document • Customization
MEI • Interpretation
• Extra Documentation
• Scholarly research
TEIMM - Zadar 11/11/2010
8. Making MEI feel ODD
Raffaele Viglianti
8 of 22
Methodology
Literate Programming
"Let us change our traditional attitude to the construction of
programs: instead of imagining that our main task is to instruct a
computer what to do, let us concentrate rather on explaining to
human beings what we want a computer to do."
(D. Knuth, 1984)
Documentation
One “human-friendly”
document
i.e. Docbook DBLP Code
TEIMM - Zadar 11/11/2010
9. Making MEI feel ODD
Methodology
Raffaele Viglianti
9 of 22
Literate programming approach: one human-readable document to
generate code and documentation.
One Document Does it all (ODD)
• Defines TEI’s own structure
• Selecting TEI modules
• Documentation of selection
• Create customizations and document them
TEIMM - Zadar 11/11/2010
10. Making MEI feel ODD
Methodology
Raffaele Viglianti
10 of 22
semantic classification
MODELS
Schema(ta)
ATTRIBUTE
CLASSES
ELEMENTS
ODD Processor
Documentation
normative grouping
MACROS
(Roma)
(HTML, PDF …)
TEIMM - Zadar 11/11/2010
11. Making MEI feel ODD
Methodology
Raffaele Viglianti
11 of 22
semantic classification
MODELS
Schema(ta)
ATTRIBUTE
CLASSES
ELEMENTS
ODD Processor
Documentation
normative grouping
MACROS
(Roma)
(HTML, PDF …)
Adopting this structure for MEI
TEIMM - Zadar 11/11/2010
12. Making MEI feel ODD
Methodology
Raffaele Viglianti
12 of 22
Making MEI feel ODD…
TEI Special Interest Group in Music (Music SIG)
• Encoding music into TEI documents and encoding music-
related documents
• Producing recommendations and examples for encoding
music notation within the TEI
• Defining a vocabulary of elements in TEI for encoding music-
related content and terminology.
TEIMM - Zadar 11/11/2010
13. Making MEI feel ODD
Raffaele Viglianti
13 of 22
Current Work
The TEI Special Interest Group in Music focuses on the encoding of
music-related texts.
Small project sponsored by the TEI (to be completed by end of 2010)
1. Migrate MEI to ODD
– an opportunity to test ODD for non-TEI XML formats
2. Produce a TEI with MEI ODD
3. Produce recommendations and examples to be published on
the SIG’s webspace.
TEIMM - Zadar 11/11/2010
14. Making MEI feel ODD
Current work
Raffaele Viglianti
14 of 22
Migrating MEI to ODD
MEI definition’s history: DTD > RelaxNG > ODD
• Macrostructure (i.e. modules) :)
• Microstructure (i.e. models, classes) :|
– Many macros to be rethought as model classes
– Models + ODD prefixes in references. See chapter 22 of P5 guidelines
TEIMM - Zadar 11/11/2010
15. Making MEI feel ODD
Current work
Raffaele Viglianti
15 of 22
Migrate MEI to ODD
MEI ODD source Schema(ta)
ODD customiza3on Documentation
ODD Processor
(Roma)
MEI “ALL”
ODD
TEIMM - Zadar 11/11/2010
16. Making MEI feel ODD
Current work
Raffaele Viglianti
16 of 22
TEI and MEI combined can represent an even wider range of
documents.
TEI with MEI
Possible “entry points” (still working on a final proposal)
• Like tei:figure, possibly via a new tei:musicalNotation
element
– In paragraph; between paragraphs; between divs (i.e. chapters); in letter
openers and closers; etc.
• Next to tei:text or tei:body
• …
TEIMM - Zadar 11/11/2010
17. Making MEI feel ODD
Current work
Raffaele Viglianti
17 of 22
Philip Gossett. Divas and Scholars. 2009. p. 320
Relationship to the text: like a
figure
Music notation can be
machine-readable
TEIMM - Zadar 11/11/2010
18. Making MEI feel ODD
Current work
Raffaele Viglianti
18 of 22
Carl Maria von Weber: letter to Gottfried Weber
1813-03-09
TEIMM - Zadar 11/11/2010
19. Making MEI feel ODD
Current work
Raffaele Viglianti
19 of 22
Carl Maria von Weber: Hymne op. 36
Many thanks to Johannes Kepper for this example
TEIMM - Zadar 11/11/2010
20. Making MEI feel ODD
Current work
Raffaele Viglianti
20 of 22
C. Debussy. Syrinx (La flûte de Pan) 1913
Article by first performer L. Fleury
TEIMM - Zadar 11/11/2010
21. Making MEI feel ODD
Raffaele Viglianti
21 of 22
Further work
• Produce recommendations and examples to be published on the
SIG’s webspace:
http://www.tei-c.org/SIG/Music/
• MEI draws on other formats’ experience
• TEI, XHTML, EAD
• Use ODD to document these reinterpretations
• MEI with TEI ODD
TEIMM - Zadar 11/11/2010
22. Making MEI feel ODD
Raffaele Viglianti
Making
feel
ODD
Thank you
Raffaele Viglianti, Kingʼs College London
TEI Members Meeting – Zadar – 11/11/2010
MEI: http://music-encoding.org
Music SIG: http://www.tei-c.org/SIG/Music/
TEIMM - Zadar 11/11/2010