MusicXML 3.0 (23) - 波音、回音

本文档详细介绍了使用MusicXML格式来描述乐谱的方法。通过具体的示例展示了如何定义音符的各种属性,包括音高、时值等,并解释了如何标记装饰音如颤音、逆颤音等。对于理解音乐文件结构及开发音乐应用具有较高的参考价值。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd">
<score-partwise version="3.0">
  <part-list>
    <score-part id="P1">
      <part-name>Piano</part-name>
    </score-part>
  </part-list>
  <part id="P1">
    <measure number="1">
      <attributes>
        <divisions>256</divisions>
        <key>
          <fifths>0</fifths>
        </key>
        <time>
          <beats>4</beats>
          <beat-type>4</beat-type>
        </time>
        <clef>
          <sign>G</sign>
          <line>2</line>
        </clef>
      </attributes>
      <note>
        <pitch>
          <step>E</step>
          <octave>5</octave>
        </pitch>
        <duration>1024</duration>
        <type>whole</type>
        <notations>
          <ornaments>
            <mordent long="no" />
          </ornaments>
        </notations>
      </note>
    </measure>
    <measure number="2">
      <note>
        <pitch>
          <step>E</step>
          <octave>5</octave>
        </pitch>
        <duration>1024</duration>
        <type>whole</type>
        <notations>
          <ornaments>
            <inverted-mordent long="no" />
          </ornaments>
        </notations>
      </note>
    </measure>
    <measure number="3">
      <note>
        <pitch>
          <step>E</step>
          <octave>5</octave>
        </pitch>
        <duration>1024</duration>
        <type>whole</type>
        <notations>
          <ornaments>
            <mordent long="yes" />
          </ornaments>
        </notations>
      </note>
    </measure>
    <measure number="4">
      <note>
        <pitch>
          <step>E</step>
          <octave>5</octave>
        </pitch>
        <duration>1024</duration>
        <type>whole</type>
        <notations>
          <ornaments>
            <inverted-mordent long="yes" />
          </ornaments>
        </notations>
      </note>
    </measure>
    <measure number="5">
      <note>
        <pitch>
          <step>E</step>
          <octave>5</octave>
        </pitch>
        <duration>1024</duration>
        <type>whole</type>
        <notations>
          <ornaments>
            <turn />
          </ornaments>
        </notations>
      </note>
    </measure>
    <measure number="6">
      <note>
        <pitch>
          <step>E</step>
          <octave>5</octave>
        </pitch>
        <duration>1024</duration>
        <type>whole</type>
        <notations>
          <ornaments>
            <inverted-turn />
          </ornaments>
        </notations>
      </note>
    </measure>
  </part>
</score-partwise>


效果图:

转载于:https://my.oschina.net/hermer/blog/319223

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值