<?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright TEI Consortium.
    Dual-licensed under CC-by and BSD2 licences
    See the file COPYING.txt for details
    $Date$
    $Id$
-->
<?xml-model href="http://tei.oucs.ox.ac.uk/jenkins/job/TEIP5/lastSuccessfulBuild/artifact/P5/release/xml/tei/odd/p5.nvdl" type="application/xml" schematypens="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"?>

<elementSpec xmlns="http://www.tei-c.org/ns/1.0" module="figures" ident="notatedMusic">
  <desc versionDate="2011-04-12" xml:lang="en">encodes the presence of music notation in a text</desc>
  <classes>
    <memberOf key="model.global"/>
    <memberOf key="att.global"/>
    <memberOf key="att.placement"/>
    <memberOf key="att.typed"/>
  </classes>
  <content>
    <zeroOrMore xmlns="http://relaxng.org/ns/structure/1.0">
      <choice>
        <ref name="model.labelLike"/>
        <ref name="model.ptrLike"/>
        <ref name="graphic"/>
        <ref name="binaryObject"/>
      </choice>
    </zeroOrMore>
  </content>
  <exemplum xml:lang="en">
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <notatedMusic>
        <ptr target="bar1.xml"/>
        <graphic url="bar1.jpg"/>
        <desc>First bar of Chopin's Scherzo No.3 Op.39</desc>
      </notatedMusic>
    </egXML>
  </exemplum>
  <remarks versionDate="2011-07-04" xml:lang="en">
    <p>It is possible to describe
        the content of the notation using elements from the <ident type="class">model.labelLike</ident> class and it is possible
        to point to an external representation using elements from <ident type="class">model.ptrLike</ident>. It is possible to
        specify the location of digital objects representing the notated music in other media such
        as images or audio-visual files. The encoder's interpretation of the correspondence between
        the notated music and these digital objects is not encoded explicitly. We recommend the use
        of graphic and binaryObject mainly as a fallback mechanism when the notated music format is
        not displayable by the application using the encoding. The alignment of encoded notated
        music, images carrying the notation, and audio files is a complex matter for which we refer
        the encoder to other formats and specifications such as MPEG-SMR.</p>
  </remarks>
  <listRef>
    <ptr target="#FTNM"/>
  </listRef>
</elementSpec>
