mei
play

MEI craig@ccrma.stanford.edu 28 February 2013 MEI XML - PowerPoint PPT Presentation

MEI craig@ccrma.stanford.edu 28 February 2013 MEI XML representaAon for music with focus on academic research Features for generaAng criAcal ediAons


  1. MEI ¡ craig@ccrma.stanford.edu ¡ ¡ 28 ¡February ¡2013 ¡

  2. MEI ¡ • XML ¡representaAon ¡for ¡music ¡with ¡focus ¡on ¡academic ¡research ¡ • Features ¡for ¡generaAng ¡criAcal ¡ediAons ¡of ¡a ¡work ¡(with ¡mulAple ¡source ¡ that ¡are ¡not ¡the ¡same) ¡ • Secondary ¡concentraAon ¡on ¡pre-­‑modern ¡western ¡musical ¡notaAon ¡ (mensuraAon ¡and ¡neumes). ¡ • Examples: ¡ ¡hLp://www2.lib.virginia.edu/innovaAon/mei/Examples ¡ ¡ Hello World!

  3. TEI ¡ hLp://www.tei-­‑c.org/index.xml ¡ • MEI ¡is ¡modeled ¡aPer ¡the ¡Text ¡Encoding ¡IniAaAve: ¡ “a ¡consorAum ¡which ¡collecAvely ¡develops ¡and ¡maintains ¡a ¡standard ¡ for ¡the ¡representaAon ¡of ¡texts ¡in ¡digital ¡form.” ¡ <TEI ¡xmlns='hLp://www.tei-­‑c.org/ns/1.0' ¡xmlns:xml='hLp://www.w3.org/XML/1998 ¡namespace' ¡ xml:id="A050153"> ¡ <teiHeader> ¡ <fileDesc> ¡ <AtleStmt> ¡ <Atle ¡level="s">Aktuelle ¡Nachrichten ¡der ¡Carl-­‑Maria ¡von ¡Weber-­‑Gesamtausgabe</Atle> ¡<Atle ¡ level="a">Quellcode ¡von ¡weber-­‑gesamtausgabe.de ¡auf ¡GitHub ¡verfügbar</Atle> ¡<author ¡ key="A009001">Peter ¡Stadler</author> ¡ </AtleStmt> ¡<publicaAonStmt> ¡ <date ¡when="2013-­‑02-­‑06T12:02:00"/> ¡ </publicaAonStmt> ¡<sourceDesc> ¡ <p>born ¡digital</p> ¡ </sourceDesc> ¡ </fileDesc> ¡<profileDesc> ¡ rendering ¡ <textClass> ¡ <keywords ¡scheme="WeGA_cat"> ¡ <term>announcement</term> ¡ </keywords> ¡ </textClass> ¡ </profileDesc> ¡ </teiHeader> ¡<text ¡type="news"> ¡ <body> ¡ <div ¡xmlns:xml='hLp://www.w3.org/XML/1998/namespace' ¡xml:lang="de"> ¡ <p> ¡ Der ¡Quellcode ¡der ¡WebapplikaAon ¡weber-­‑gesamtausgabe.de ¡ist ¡nun ¡(endlich) ¡unter ¡<ref ¡ target="hLps://github.com/Edirom/WeGA-­‑WebApp">hLps://github.com/Edirom/WeGA-­‑ WebApp</ref> ¡frei ¡verfügbar ¡gemacht ¡worden. ¡<rs ¡type="news" ¡key="A050256">Vor ¡ein ¡paar ¡ Wochen ¡wurden ¡bereits ¡die ¡XML-­‑Schemata ¡veröffentlicht</rs>, ¡so ¡dass ¡gewissermaßen ¡das ¡ technische ¡Fundament ¡der ¡Digitalen ¡Weber-­‑EdiAon ¡jetzt ¡auch ¡offiziell ¡frei ¡zugänglich ¡ist. ¡Das ¡ • HTML ¡on ¡steroids ¡ Ganze ¡ist ¡zwar ¡auf ¡unsere ¡Ausgabe ¡maßgeschneidert, ¡ich ¡hoffe ¡aber ¡doch, ¡dass ¡es ¡zumindest ¡als ¡ Anhaltspunkt ¡und ¡Diskussionsgrundlage ¡für ¡ähnliche ¡EdiAonsvorhaben ¡dienen ¡mag. ¡ • Database ¡format ¡which ¡ </p> ¡<p>Ein ¡paar ¡weiterführende ¡InformaAonen ¡finden ¡sich ¡auf ¡den ¡genannten ¡Seiten, ¡wobei ¡die ¡ DokumentaAon ¡des ¡Ganzen ¡noch ¡ein ¡großes ¡Desperat ¡ist. ¡Ich ¡freue ¡mich ¡über ¡alle ¡Fragen ¡und ¡ can ¡be ¡transformed ¡into ¡ Kommentare ¡und ¡stehe ¡auch ¡bei ¡einer ¡geplanten ¡Nachnutzung ¡gerne ¡mit ¡Rat ¡und ¡Tat ¡zur ¡Seite!</ p> ¡ HTML ¡ </div> ¡ </body> ¡ </text> ¡ hLp://www.weber-­‑gesamtausgabe.de/en/A009001/News/A050153 ¡ </TEI> ¡

  4. Formal ¡DescripAon/DocumentaAon ¡ hLp://music-­‑encoding.org/downloads/mei2012 ¡ Currently ¡three ¡components: ¡ • mei-­‑CMN ¡(Common ¡western ¡Music ¡NotaAon) ¡ • mei-­‑Mensural ¡(precursor ¡to ¡CMN) ¡ • mei-­‑Neumes ¡(precursor ¡to ¡mensural ¡notaAon) ¡ • DocumentaAon ¡(MEI ¡2012): ¡ hLp://music-­‑encoding.googlecode.com/files/MEI_Guidelines_2012_v2.0.0.pdf ¡

  5. DTD/Schema/RelaxNG/ODD ¡ DTD: ¡ ¡ ¡ ¡ ¡ ¡hLp://en.wikipedia.org/wiki/Document_Type_DefiniAon ¡ hLp://www.w3schools.com/dtd/dtd_intro.asp ¡ • Original ¡method ¡for ¡formal ¡descripAon ¡of ¡XML ¡file ¡structure ¡(XML ¡1.0). ¡ Schema: ¡ ¡ ¡hLp://en.wikipedia.org/wiki/XML_Schema_(W3C)` ¡ • 2001: ¡Schema ¡is ¡also ¡in ¡XML ¡format, ¡a ¡successor ¡of ¡DTDs ¡ • XSD ¡(XML ¡Schema ¡DefiniAon) ¡ • More ¡data ¡typing ¡than ¡DTDs ¡ • Namespaces, ¡such ¡as ¡“xml:id” ¡ RelaxNG: ¡hLp://en.wikipedia.org/wiki/RELAX_NG ¡ • REgular ¡LAnguage ¡for ¡Xml ¡Next ¡GeneraAon ¡ • 2009 ¡ ODD: ¡TEI’s ¡meta ¡representaAon ¡to ¡automaAcally ¡generate ¡Schema ¡or ¡RelaxNG ¡ format ¡descripAon. ¡

  6. Tag ¡Library ¡ • hLp://music-­‑encoding.org/documentaAon/tagLibrary ¡(MEI ¡2010-­‑05 ¡version) ¡ • Useful ¡tool ¡for ¡navigaAng ¡the ¡element ¡hierarchy ¡

  7. Basic ¡MEI ¡structure ¡ <meihead> ¡ <filedesc> ¡ <Atlestmt> ¡ <Atle> ¡ <pubstmt> ¡ < opus > ¡ <mei> ¡ <encodingdesc> ¡ <projectdesc> ¡ <score-­‑Amewise> ¡ <music> ¡ <staffdef> ¡ <mdiv> ¡ <score> ¡ <scoredef> ¡ <secAon> ¡ <measure> ¡ <chord> ¡ < note > ¡ <measure> ¡ <layer> ¡ < note > ¡ <arAc> ¡ <staff> ¡ <Ae> ¡ <dynam> ¡ <beam> ¡ < note > ¡ <slur> ¡

  8. Chords ¡ MusicXML ¡ ¡ ¡ ¡ ¡ ¡<note ¡default-­‑x="84"> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<pitch> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<step>C</step> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<octave>5</octave> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡</pitch> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<duraAon>2</duraAon> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<voice>1</voice> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<type>quarter</type> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<stem ¡default-­‑y="-­‑50.5">down</stem> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<notaAons> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<arAculaAons> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<staccato ¡default-­‑x="3" ¡default-­‑y="15" ¡placement="above"/> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡</arAculaAons> ¡ MEI ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡</notaAons> ¡ ¡ ¡ ¡ ¡ ¡ ¡</note> ¡ ¡ ¡ ¡ ¡ ¡ ¡<note ¡default-­‑x="84"> ¡ <chord ¡xml:id="d11e1" ¡dur="4" ¡dur.ges="1" ¡stem.dir=”down"> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<chord/> ¡ ¡ ¡ ¡ <ar=c ¡value="stacc"/> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<pitch> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<step>E</step> ¡ ¡ ¡ ¡<note ¡xml:id="d1e85" ¡ ¡ ¡pname="g" ¡oct=“5"/> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<octave>5</octave> ¡ ¡ ¡ ¡<note ¡xml:id="d1e102" ¡pname="e" ¡oct=“5"/> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡</pitch> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<duraAon>2</duraAon> ¡ ¡ ¡ ¡<note ¡xml:id="d1e118" ¡pname="c" ¡oct=“5"/> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<voice>1</voice> ¡ </chord> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<type>quarter</type> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<stem>down</stem> ¡ ¡ ¡ ¡ ¡ ¡ ¡</note> ¡ ¡ ¡ ¡ ¡ ¡ ¡<note ¡default-­‑x="84"> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<chord/> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<pitch> ¡ MuseData ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<step>G</step> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<octave>5</octave> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡</pitch> ¡ G5 1 1 q d . � ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<duraAon>2</duraAon> ¡ E5 1 1 q d � ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<voice>1</voice> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<type>quarter</type> ¡ C5 1 1 q d � ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<stem>down</stem> ¡ ¡ ¡ ¡ ¡ ¡ ¡</note> ¡ � ¡

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend