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>
    


    效果图:

  • 相关阅读:
    hdu
    《Linux命令行与shell脚本编程大全》 第十四章 学习笔记
    zoj 3665 Yukari's Birthday(枚举+二分)
    ActiveMQ使用STOMP协议的一个错误问题:Unexpected ACK received for message-id
    Ubuntu下屏幕录像、后期处理不完全攻略
    find-all-numbers-disappeared-in-an-array
    find-right-interval
    non-overlapping-intervals
    cut命令如何截取以空格隔开的字段
    arranging-coins
  • 原文地址:https://www.cnblogs.com/del/p/2221101.html
Copyright © 2011-2022 走看看