MusicXML部门和持续时间

时间:2013-01-05 09:41:26

标签: division duration music-notation musicxml

我有一个来自某个测试套件的MXL文件,其中第一个测量值表示Division为8(即每季度8个单位)。

措施4是3/4时间并且具有以下休息:

<note>
    <rest measure="yes"/>
    <duration>24</duration>
    <voice>1</voice>
</note>

我希望在这里看到<dot/>。因为24除以8是3,我是否应该推断这个音符应该点缀?这是否意味着我将不得不为<dot/>缺少的特殊情况编写代码,但该注释显然应该点缀?

我对这种表现感到困惑。我希望他们自己强制使用type属性......如果有人能够解释如何表示点缀和连音符的持续时间,我会很感激。

3 个答案:

答案 0 :(得分:6)

是的,有音乐专家监控此论坛:-) 整个度量休息本身就是一个象征。您不需要/不允许用点扩展它。

答案 1 :(得分:5)

为什么要将这个音符点缀?如果除法为8,则表示8个单位代表四分音符。所以24代表三个四分音符,在3/4时间的情况下是整个休息时间。

至于连音符我也很好奇。以下是音乐xml网站的教程“apres un reve”中的示例。这也是3/4,有24个分区。时间修改属性指定连音符的比例,在这种情况下是三个八个音符的三连音。

    <time-modification>
      <actual-notes>3</actual-notes>
      <normal-notes>2</normal-notes>
    </time-modification>

上面的时间修改显示三个八分音符占用了两个通常的持续时间。

  <note default-x="92">
    <pitch>
      <step>E</step>
      <alter>-1</alter>
      <octave>5</octave>
    </pitch>
    <duration>8</duration>
    <tie type="stop"/>
    <voice>1</voice>
    <type>eighth</type>
    <time-modification>
      <actual-notes>3</actual-notes>
      <normal-notes>2</normal-notes>
    </time-modification>
    <stem default-y="-40">down</stem>
    <beam number="1">begin</beam>
    <notations>
      <tied type="stop"/>
      <tuplet bracket="no" number="1" placement="above" type="start"/>
    </notations>
  </note>
  <note default-x="122">
    <pitch>
      <step>D</step>
      <octave>5</octave>
    </pitch>
    <duration>8</duration>
    <voice>1</voice>
    <type>eighth</type>
    <time-modification>
      <actual-notes>3</actual-notes>
      <normal-notes>2</normal-notes>
    </time-modification>
    <stem default-y="-42">down</stem>
    <beam number="1">continue</beam>
    <lyric default-y="-80" number="1">
      <syllabic>single</syllabic>
      <text>que</text>
    </lyric>
  </note>
  <note default-x="162">
    <pitch>
      <step>C</step>
      <octave>5</octave>
    </pitch>
    <duration>8</duration>
    <voice>1</voice>
    <type>eighth</type>
    <time-modification>
      <actual-notes>3</actual-notes>
      <normal-notes>2</normal-notes>
    </time-modification>
    <stem default-y="-45">down</stem>
    <beam number="1">end</beam>
    <notations>
      <tuplet number="1" type="stop"/>
    </notations>
    <lyric default-y="-80" number="1">
      <syllabic>begin</syllabic>
      <text>char</text>
    </lyric>
  </note>

答案 2 :(得分:2)

<dot/>元素仅在分数中有一个点时使用。在您的示例中,我们有一个没有点的完整度量值。它看起来像这样:

enter image description here

另一方面,如果您希望有一个反映测量持续时间的休息,它将如下所示:

enter image description here

xml代码就是这样:

  <note>
    <rest />
    <duration>24</duration>
    <voice>1</voice>
    <type>half</type>
    <dot />
  </note>

在您的示例中,不需要type属性,因为其余属性measure="yes"已经告诉我们其余属性应该是什么样的。