【问题标题】:How <divisions> specified in MusicXML在 MusicXML 中如何指定 <divisions>
【发布时间】:2016-02-11 06:14:21
【问题描述】:

MusicXML 教程对于如何在 MusicXML 中初始化 &lt;divisions&gt; 元素中的数字不够清楚。它与 MIDI 文件有关吗?因为我已经交叉检查了具有相同时间签名的不同样本并且数字不断变化。

【问题讨论】:

    标签: musicxml


    【解决方案1】:

    Divisions 是一个任意数字,可让您独立于音符的“类型”指定音符的持续时间。

    您将&lt;divisions&gt; 指定为小节属性的一部分,它的意思是“每四分音符的分割数”。

    然后为小节中的每个音符指定&lt;duration&gt;,它将音符的长度确定为一个四分音符的分数。

    因此,在以下示例中,在属性组中,我们声明每个四分音符有 4 个分区。然后,在第一个音符(即四分音符)中,我们声明该音符持续 4 个分区。下一个音符是八分音符,所以我们声明它持续 2 个分区,依此类推...

    <measure number="1">
       <attributes>
          <divisions>4</divisions>
          <time>
             <beats>2</beats>
             <beat-type>4</beat-type>
          </time>
       </attributes>
       <note>
          <pitch>
             <step>C</step>
             <alter>0</alter>
             <octave>4</octave>
          </pitch>
          <duration>4</duration>
          <type>quarter</type>
       </note>
       <note>
          <pitch>
             <step>C</step>
             <alter>0</alter>
             <octave>4</octave>
          </pitch>
          <duration>2</duration>
          <type>eighth</type>
       </note>
       <note>
          <pitch>
             <step>C</step>
             <alter>0</alter>
             <octave>4</octave>
          </pitch>
          <duration>1</duration>
          <type>16th</type>
       </note>
       <note>
          <pitch>
             <step>C</step>
             <alter>0</alter>
             <octave>4</octave>
          </pitch>
          <duration>1</duration>
          <type>16th</type>
       </note>
    </measure>
    

    【讨论】:

      【解决方案2】:

      没有固定的设置方法。通常它是最不常用的分隔符,它允许您指定所有可能的音符持续时间以及整数个分隔符。它们并不总是与 midi tatums 直接相关。

      【讨论】:

        猜你喜欢
        • 2021-10-12
        • 2016-01-04
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2014-05-17
        • 1970-01-01
        相关资源
        最近更新 更多