MusicXML教程还不清楚<divisions>元素中的数字是如何在MusicXML中初始化的。这和MIDI文件有关吗?因为我和不同的样本进行了交叉检查,有着相同的时间签名,而且数字一直在变化。
发布于 2016-05-29 20:37:05
除法是一个任意数字,允许您独立于“注释类型”指定音符的持续时间。
您将<divisions>指定为度量值属性的一部分,它意味着“每个季度注释的划分数”。
然后,对于度量中的每个音符,您指定<duration>,它将音符的长度确定为四分之一音符的一小部分。
因此,在下面的示例中,在attributes组中,我们指出每个季度有4个分部。然后,在第一个音符,也就是四分之一音符中,我们说这个音符持续四个部分。下一个音符是第八个音符,我们说它持续两个师,以此类推…
<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>发布于 2016-08-22 23:19:35
没有固定的方法来设置它。通常,它将是最不常见的分隔符,允许您用整数的除数指定所有可能的音符持续时间。它们并不总是与midi鞑靼直接相关。
https://stackoverflow.com/questions/35332083
复制相似问题