zoukankan      html  css  js  c++  java
  • MusicXML 3.0 (2) 调号


    <?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>         <!-- C 大调 -->
            </key>
            <time>
              <beats>4</beats>
              <beat-type>4</beat-type>   
            </time>
            <clef>
              <sign>G</sign>
              <line>2</line>             
            </clef>
          </attributes>
          <note>                         
            <pitch>                      
              <step>C</step>              <!-- 主音 -->
              <octave>4</octave>         
            </pitch>
            <duration>1024</duration>    
            <type>whole</type>           
          </note>
        </measure>
        <measure number="2">              <!-- 第二小节 -->
          <attributes>                   
            <key>                        
              <fifths>2</fifths>  
              <mode>major</mode>          <!-- D 大调 -->
            </key>
          </attributes>
          <note>                         
            <pitch>                      
              <step>D</step>
              <octave>4</octave>          <!-- 主音 -->
            </pitch>
            <duration>1024</duration>    
            <type>whole</type>           
          </note>
        </measure>
        <measure number="3">              <!-- 第三小节 -->
          <attributes>                   
            <key>                        
              <fifths>2</fifths>  
              <mode>minor</mode>          <!-- b 小调 -->
            </key>
          </attributes>
          <note>                         
            <pitch>                      
              <step>B</step>
              <octave>4</octave>          <!-- 主音 -->
            </pitch>
            <duration>1024</duration>    
            <type>whole</type>           
          </note>
        </measure>
        <measure number="4">              <!-- 第四小节 -->  
          <attributes>                   
            <key>                        
              <fifths>-6</fifths>  
              <mode>major</mode>          <!-- bD 大调 -->
            </key>
          </attributes>
          <note>                         
            <pitch>                      
              <step>D</step>
              <alter>-1</alter>           <!-- 主音 -->
              <octave>4</octave>         
            </pitch>
            <duration>1024</duration>    
            <type>whole</type>         
          </note>
        </measure>
      </part>
    </score-partwise>
    


    效果图:

  • 相关阅读:
    问题 B: 投简历
    问题 C: P4 游戏中的Human角色
    绘制直方图
    绘制条形图
    绘制散点图
    问题 A: E2 驾驭const
    问题 B: 矩形类中运算符重载【C++】
    extjs tips
    extjs
    struts1
  • 原文地址:https://www.cnblogs.com/del/p/2221101.html
Copyright © 2011-2022 走看看