Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
documentation:file_formats [2017/05/23 19:27] – [Drumkit xml format] muldjorddocumentation:file_formats [2019/03/17 17:00] deva
Line 2: Line 2:
 This page describes the file formats used by the DrumGizmo engine. For ease of use we have implemented everything using xml. The main files are the drum kit files, the instrument files and the midi map files. These are described in detail below. This page describes the file formats used by the DrumGizmo engine. For ease of use we have implemented everything using xml. The main files are the drum kit files, the instrument files and the midi map files. These are described in detail below.
  
-=====New file format (currently unreleased, check 0.9.8 for current format)=====+=====New file format (currently unreleased, check <=0.9.8 for current format)=====
 ====Drumkit xml format==== ====Drumkit xml format====
 <code xml> <code xml>
 <?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
-<drumkit version="2.1.0">+<drumkit samplerate="48000" version="2.1.0">
   <metadata>   <metadata>
 +    <version>1.2.3</version>
     <title>Test Kit</title>     <title>Test Kit</title>
 +    <logo src="LogoFile.png"/>
     <description>This is the description of the drumkit</description>     <description>This is the description of the drumkit</description>
     <license>Creative Commons</license>     <license>Creative Commons</license>
Line 15: Line 17:
     <email>author@email.org</email>     <email>author@email.org</email>
     <website>http://www.drumgizmo.org</website>     <website>http://www.drumgizmo.org</website>
-    <image filename="DrumkitImage.png"/>+    <image src="DrumkitImage.png" map="DrumkitImageClickMap.png"> 
 +      <clickmap colour="ff08a2" instrument="China"/> 
 +      <clickmap colour="a218d7" instrument="HihatClosed"/> 
 +    </image>
   </metadata>   </metadata>
   <channels>   <channels>
Line 103: Line 108:
     </instrument>     </instrument>
     <instrument name="HihatClosed" group="hihat" file="HihatClosed/HihatClosed.xml">     <instrument name="HihatClosed" group="hihat" file="HihatClosed/HihatClosed.xml">
 +      <chokes>
 +        <choke instrument="HihatFullyOpen" choketime="100"/>
 +        <choke instrument="HihatHalfOpen"/>
 +      </chokes>
       <channelmap in="AmbL" out="AmbL" bleed="1.0" main="true"/>       <channelmap in="AmbL" out="AmbL" bleed="1.0" main="true"/>
       <channelmap in="AmbR" out="AmbR" bleed="1.0" main="true"/>       <channelmap in="AmbR" out="AmbR" bleed="1.0" main="true"/>
documentation/file_formats.txt · Last modified: 2019/03/17 17:27 by deva
Trace:
GNU Free Documentation License 1.3
Valid CSS Driven by DokuWiki Recent changes RSS feed Valid XHTML 1.0