Difference between revisions of "Gear.xml"

From Jeskola Buzz Wiki
Jump to: navigation, search
(Added a complete example file)
Line 18: Line 18:
 
<Machine Name="Jeskola*" Type="Generator" OversampleFactor="2"/>
 
<Machine Name="Jeskola*" Type="Generator" OversampleFactor="2"/>
 
<Machine Name="Jeskola Bass" Type="Generator" OversampleFactor="1"/>
 
<Machine Name="Jeskola Bass" Type="Generator" OversampleFactor="1"/>
 +
 +
=== Example file ===
 +
<pre name="xml">
 +
<?xml version="1.0" encoding="utf-8"?>
 +
<Gear>
 +
  <Machine Name="Jeskola Pattern XP" LoadAtStartup="True"/>
 +
  <Machine Name="Polac VST 1.1" LoadAtStartup="True"/>
 +
  <Machine Name="Polac VSTi 1.1" LoadAtStartup="True"/>
 +
  <Machine Name="CyanPhase Buzz OverLoader" Blacklist="True"/>
 +
  <Machine Name="CyanPhase DX Instrument Adapter" Blacklist="True"/>
 +
  <Machine Name="CyanPhase DX Effect Adapter" Blacklist="True"/>
 +
  <Machine Name="CyanPhase DMO Effect Adapter" Blacklist="True"/>
 +
  <Machine Name="11-MidiCCout" Blacklist="True"/>
 +
</Gear>
 +
</pre>
  
 
[[Category:Glossary]]
 
[[Category:Glossary]]
 
[[Category:Configuration]]
 
[[Category:Configuration]]

Revision as of 16:43, 30 July 2009

This file is currently used for:

  • making a machine load at startup (same as using * in index.txt)
  • blacklisting machines
  • disabling multithreading
  • setting default oversampling mode
  • setting default midi channel

Note that you can use * and ? wildcards in the Name attribute value. Possible attribute keys and values:

  • LoadAtStartup "True" or "False"
  • Blacklist "True" or "False"
  • Multithreading "True" or "False"
  • OversampleFactor "1" or "2"
  • MIDIInputChannel "-1" = none, "0" = all, "1" = 1, "2" = 2, ..., "15" = 15

The following example makes all Jeskola generators except "Jeskola Bass" use 2x oversampling by default:

<Machine Name="Jeskola*" Type="Generator" OversampleFactor="2"/> <Machine Name="Jeskola Bass" Type="Generator" OversampleFactor="1"/>

Example file

<?xml version="1.0" encoding="utf-8"?>
<Gear>
  <Machine Name="Jeskola Pattern XP" LoadAtStartup="True"/>
  <Machine Name="Polac VST 1.1" LoadAtStartup="True"/>
  <Machine Name="Polac VSTi 1.1" LoadAtStartup="True"/>
  <Machine Name="CyanPhase Buzz OverLoader" Blacklist="True"/>
  <Machine Name="CyanPhase DX Instrument Adapter" Blacklist="True"/>
  <Machine Name="CyanPhase DX Effect Adapter" Blacklist="True"/>
  <Machine Name="CyanPhase DMO Effect Adapter" Blacklist="True"/>
  <Machine Name="11-MidiCCout" Blacklist="True"/>
</Gear>