Difference between revisions of "Gear.xml"

From Jeskola Buzz Wiki
Jump to: navigation, search
(Added a complete example file)
m
Line 3: Line 3:
 
* blacklisting machines
 
* blacklisting machines
 
* disabling multithreading
 
* disabling multithreading
* setting default oversampling mode
+
* setting default [[oversampling]] mode
 
* setting default midi channel
 
* setting default midi channel
  

Revision as of 16:51, 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>