<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2002, 2005, 2006, 2007, 2013 All rights reserved -->
<!--                                                                        -->
<!-- JMRI is free software; you can redistribute it and/or modify it under  -->
<!-- the terms of version 2 of the GNU General Public License as published  -->
<!-- by the Free Software Foundation. See the "COPYING" file for a copy     -->
<!-- of this license.                                                       -->
<!--                                                                        -->
<!-- JMRI is distributed in the hope that it will be useful, but WITHOUT    -->
<!-- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or  -->
<!-- FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License  -->
<!-- for more details.                                                      -->
<!-- version 1 - for WoW Diesel -->

<variables xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://jmri.org/xml/schema/decoder.xsd">
	<variable CV="3" item="Accel" default="7" tooltip="Sets the acceleration rate (delay or momentum), 1(default)" comment="Range 0-255">
		<decVal max="255"/>
		<label>Accel 1 Rate</label>
		<label xml:lang="it">Grado Accell.1</label>
		<comment xml:lang="it">Valori 0-255</comment>
		<tooltip xml:lang="it">Progr. grado accellerazione (ritardo o inerzia), valori 0(default)-255</tooltip>
	</variable>
	<variable CV="4" item="Decel" default="7" tooltip="Sets the deceleration rate (delay or momentum), 1(default)" comment="Range 0-255">
		<decVal max="255"/>
		<label>Decel 1 Rate</label>
		<label xml:lang="it">Grado Decell.1</label>
		<comment xml:lang="it">Valori 0-255</comment>
		<tooltip xml:lang="it">Progr. grado decellerazione (ritardo o inerzia), valori 0-255</tooltip>
	</variable>
	<variable item="Motor Option 1" CV="182" mask="XXXXVXXX" default="1">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-NoYes.xml"/>
		<label>Motor Delay</label>
		<tooltip>Adds ~2 seconds of delay to increases of speed to allow the prime mover to notch up as necessary.</tooltip>
	</variable>
	<variable item="Dynamic Lowest Speed Step" CV="189" default="10" tooltip="Lowest speed step (128 SS mode) the loco can go with dynamic brakes turned on">
		<decVal max="126"/>
	</variable>
	<variable item="Dynamic Decel Rate" CV="190" default="125" tooltip="Decel Rate when Dynamic brakes are on">
		<decVal/>
	</variable>
	<variable item="Dynamic Speed Step Decrease" CV="191" default="5" tooltip="Number of speed steps the loco will slow down per press of the dynamic brake Function">
		<decVal max="126"/>
	</variable>
	<!-- Manual 4 CV programming -->
	<variable CV="201" item="CV201" default="0">
		<decVal max="255"/>
	</variable>
	<variable CV="202" item="CV202" default="0">
		<decVal max="255"/>
	</variable>
	<variable CV="203" item="CV203" default="0">
		<decVal max="255"/>
	</variable>
	<variable CV="204" item="CV204" default="0">
		<decVal max="255"/>
	</variable>
	<variable item="Sound Group 8 Checkbox 5" CV="T2CV.4.1" default="1" mask="XXXXXXXXXXXXXXXV">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>Short Quill Active</label>
	</variable>
	<variable item="Sound Group 8 Checkbox 6" CV="T2CV.4.1" default="1" mask="XXXXXXXXXXXXXXVX">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>Medium  Quill Active</label>
	</variable>
	<variable item="Sound Group 8 Checkbox 7" CV="T2CV.4.1" default="1" mask="XXXXXXXXXXXXXVXX">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>Long  Quill Active</label>
	</variable>
	<variable item="Sound Group 8 Checkbox 8" CV="T2CV.4.1" default="0" mask="XXXXXXXXVXXXXXXX" tooltip="If not selected, Active quills will play in random order">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>Play Active Quills in Order</label>
	</variable>
	<variable item="Sound Setting 21" CV="T2CV.4.2" default="200" tooltip="higher number = higher frequency and higher loop counts if a looping sound">
		<decVal max="255"/>
		<label>Random Sound 1 frequency level</label>
	</variable>
	<variable item="Sound Setting 22" CV="T2CV.4.3" default="200" tooltip="higher number = higher frequency and higher loop counts if a looping sound">
		<decVal max="255"/>
		<label>Random Sound 2 frequency level</label>
	</variable>
	<variable item="Sound Setting 23" CV="T2CV.4.4" default="80" tooltip="higher number = higher frequency and higher loop counts if a looping sound">
		<decVal max="255"/>
		<label>Random Sound 3 frequency level</label>
	</variable>
	<variable item="Sound Setting 24" CV="T2CV.4.5" default="16" tooltip="higher number = higher frequency and higher loop counts if a looping sound">
		<decVal max="255"/>
		<label>Random Sound 4 frequency level</label>
	</variable>
	<variable item="Sound Setting 25" CV="T2CV.4.6" default="768" tooltip="2560 is about 1 second between times through random sound routine" mask="VVVVVVVVVVVVVVVV">
		<decVal max="65535"/>
		<label>Random Sound Overall Timer</label>
	</variable>
	<variable item="Sound Setting 26" CV="T2CV.4.7" default="126" tooltip="The speed at which Random sounds will stop playing (speed of zero stops random sounds from playing)">
		<decVal max="126"/>
		<label>Random Sound Cutout Speed Step</label>
	</variable>
	<variable item="Sound Setting 1" CV="T2CV.4.10" default="100" >
		<decVal max="100"/>
		<label>Global volume</label>
	</variable>
	<variable item="Sound Group 5 Checkbox 1" CV="T2CV.4.12" default="0" mask="XXXXXXXXXXXXXXXV">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>Crew Alert enable</label>
	</variable>
	<variable item="Sound Group 5 Checkbox 2" CV="T2CV.4.12" default="1" mask="XXXXXXXXXXXXXXVX">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>DC mode Quill</label>
	</variable>
	<variable item="Sound Group 5 Checkbox 4" CV="T2CV.4.12" default="0" mask="XXXXXXXXXXXXVXXX">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>DCC mode automatic bell</label>
	</variable>
	<variable item="Sound Group 5 Checkbox 5" CV="T2CV.4.12" default="0" mask="XXXXXXXXXXXVXXXX">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>Forward sound enable</label>
	</variable>
	<variable item="Sound Group 5 Checkbox 6" CV="T2CV.4.12" default="0" mask="XXXXXXXXXXVXXXXX">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>Reverse sound enable</label>
	</variable>
	<variable item="Sound Group 5 Checkbox 7" CV="T2CV.4.12" default="0" mask="XXXXXXXXXVXXXXXX">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>Stop sound enable</label>
	</variable>
	<variable item="Sound Group 5 Checkbox 8" CV="T2CV.4.12" default="0" mask="XXXXXXXXVXXXXXXX">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>Direction change sound enable</label>
	</variable>
	<variable item="Sound Group 6 Checkbox 1" CV="T2CV.4.12" default="1" mask="XXXXXXXVXXXXXXXX">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>Random Sound 1 enable</label>
	</variable> 
	<variable item="Sound Group 6 Checkbox 2" CV="T2CV.4.12" default="1" mask="XXXXXXVXXXXXXXXX">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>Random Sound 2 enable</label>
	</variable> 
	<variable item="Sound Group 6 Checkbox 3" CV="T2CV.4.12" default="1" mask="XXXXXVXXXXXXXXXX">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>Random Sound 3 enable</label>
	</variable> 
	<variable item="Sound Group 6 Checkbox 4" CV="T2CV.4.12" default="1" mask="XXXXVXXXXXXXXXXX">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>Random Sound 4 enable</label>
	</variable> 
	<variable item="Sound Group 6 Checkbox 5" CV="T2CV.4.12" default="1" mask="XXXVXXXXXXXXXXXX">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>DC mode automatic bell</label>
	</variable> 
	<variable item="Sound Group 6 Checkbox 6" CV="T2CV.4.12" default="1" mask="XXVXXXXXXXXXXXXX">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>DC mode automatic Forward horn</label>
	</variable> 
	<variable item="Sound Group 6 Checkbox 7" CV="T2CV.4.12" default="1" mask="XVXXXXXXXXXXXXXX">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>DC mode automatic Reverse horn</label>
	</variable> 
	<variable item="Sound Group 6 Checkbox 8" CV="T2CV.4.12" default="1" mask="VXXXXXXXXXXXXXXX">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>DC mode automatic Stop horn</label>
	</variable> 
	<variable item="Brake grinding noise start speed" CV="T2CV.4.13" default="15" >
		<decVal max="126"/>
    <!--    label applied in pane-->
	</variable>

  <xi:include href="http://jmri.org/xml/decoders/tcs/wow_dual_f0_f12.xml"/>

	<variable item="Sound Group 7 Checkbox 3" CV="T2CV.4.19" default="0" mask="XXXXXXXXXXXXXVXX">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>Mute on Start up</label>
	</variable>
	<variable item="Sound Group 7 Checkbox 4" CV="T2CV.4.19" default="1" mask="XXXXXXXXXXXXVXXX">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>Switch/Mainline Mode Audio Feedback</label>
	</variable>
	<variable item="Sound Group 7 Checkbox 5" CV="T2CV.4.19" default="1" mask="XXXXXXXXXXXVXXXX">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>Rotate Horn/Bell Audio Feedback</label>
	</variable>
	<variable item="Sound Group 7 Checkbox 6" CV="T2CV.4.19" default="1" mask="XXXXXXXXXXVXXXXX">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>Light Mode/Sound Mode Audio Feedback</label>
	</variable>
	<variable item="Sound Group 7 Checkbox 7" CV="T2CV.4.19" default="1" mask="XXXXXXXXXVXXXXXX">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>Audio Auto Shut-off Timer</label>
	</variable>
	<variable item="Sound Group 7 Checkbox 8" CV="T2CV.4.19" default="1" mask="XXXXXXXXVXXXXXXX">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>Function 2 Toggle in Audio Assist</label>
		<tooltip>Digitrax bit: set simulates button 2 as toggle while in Audio Assist mode</tooltip>
	</variable>
	<variable item="Sound Group 8 Checkbox 3" CV="T2CV.4.19" default="0" mask="XXXXXVXXXXXXXXXX">
		<xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
		<label>Reverse Directional Horns</label>
		<tooltip>If set the directional horns (if enabled) are played in opposite direction from normal, use along with Normal Direction Of Motion setting</tooltip>
	</variable>
	<variable item="Sound Setting 2" CV="T2CV.4.21" default="2600" mask="VVVVVVVVVVVVVVVV" exclude="WOW Diesel Sound Set 1 EMD,WOW Diesel Sound Set 2,WOW Diesel Sound Set 3" tooltip="a value of 256 is about 3 minutes">
		<decVal max="65535"/>
		<label>Audio Auto Shut-off Time</label>
	</variable>
	<variable item="Sound Setting 10" CV="T2CV.4.29" default="43" mask="VVVVVVVVVVVVVVVV" tooltip="Controls how long the engineer must be idle for the crew alert alarm to sound">
		<decVal max="65535"/>
		<label>Crew Alert Timer Reset</label>
	</variable>
	<variable item="Sound Option 8" CV="T2CV.4.30" default="13" mask="VVVVVVVVVVVVVVVV" tooltip="Determines which light function turns on when the crew alert alarm sounds. Valid Values are 0-12. (Use a value of 13+ to disable the light feature)">
		<enumVal>
			<enumChoice choice="Function 0"/>
			<enumChoice choice="Function 1"/>
			<enumChoice choice="Function 2"/>
			<enumChoice choice="Function 3"/>
			<enumChoice choice="Function 4"/>
			<enumChoice choice="Function 5"/>
			<enumChoice choice="Function 6"/>
			<enumChoice choice="Function 7"/>
			<enumChoice choice="Function 8"/>
			<enumChoice choice="Function 9"/>
			<enumChoice choice="Function 10"/>
			<enumChoice choice="Function 11"/>
			<enumChoice choice="Function 12"/>
			<enumChoice choice="Disabled"/>
		</enumVal>
		<label>Crew Alert light function</label>
	</variable>
  <variable item="Sound Group 3 Option 1" CV="T2CV.4.40" default="42" mask="VVVVVVVVVVVVVVVV">
    <decVal max="65535"/>
    <label>Aux Input Loop Timer</label>
    <tooltip>Controls how long a loop sound is allowed to play when triggered by the aux input (reed switch input) a value of 42 gives about a 3 second loop time</tooltip>
  </variable>
	<variable item="Sound Setting 31" CV="T2CV.4.43" default="1280" mask="VVVVVVVVVVVVVVVV" tooltip="the ADC voltage we must be at before we can turn on and start making sounds">
		<decVal max="65535"/>
		<label>DC mode ADC start value</label>
	</variable>
	<variable item="Sound Setting 32" CV="T2CV.4.44" default="1350" mask="VVVVVVVVVVVVVVVV" tooltip="Above this ADC reading the bell will stop playing in DC mode">
		<decVal max="65535"/>
		<label>DC Mode Bell ADC cutout voltage</label>
	</variable>
	<variable item="Sound Setting 27" CV="T2CV.4.45" default="15" mask="VVVVVVVVVVVVVVVV" tooltip="In DCC mode the bell will play starting at speed step 1 up until the Automatic Bell Cutout Speed is reached">
		<decVal max="126"/>
		<label>Automatic Bell Cutout Speed</label>
	</variable>
	<variable item="Sound Setting 33" CV="T2CV.4.46" default="356" mask="VVVVVVVVVVVVVVVV" tooltip="The adc value below the motor start value that the voltage must drop to before decoder shuts off the motor. This hysteresis allows the voltage to drop from the motor and start horns being turned on with oscillating on/off">
		<decVal max="65535"/>
		<label>Dc Mode Motor Hysteresis</label>
	</variable>
	<variable item="Sound Setting 29" CV="T2CV.4.48" default="1000" mask="VVVVVVVVVVVVVVVV" tooltip="The minimum volume of the traction motor when the motor is turned on at speed step one">
		<decVal max="32767"/>
		<label>Traction Motor Minimum Volume</label>
	</variable>
	<variable item="Sound Setting 30" CV="T2CV.4.49" default="258" mask="VVVVVVVVVVVVVVVV" tooltip="Controls how much the pitch goes up per speed step. A value of 258 throws out every other sample (doubles the pitch) at max speed a value of 0 keeps all samples, no pitch change">
		<decVal max="32767"/>
		<label>Traction Motor Pitch Adjustment</label>
	</variable>
	<variable item="Switch mode acceleration" CV="T2CV.4.50" default="6" mask="VVVVVVVVVVVVVVVV" tooltip="The value loaded into CV3 when switch mode is enabled">
		<decVal max="255"/>
	</variable>
	<variable item="Switch mode deceleration" CV="T2CV.4.51" default="6" mask="VVVVVVVVVVVVVVVV" tooltip="The value loaded into CV4 when switch mode is enabled">
		<decVal max="255"/>
	</variable>
	<variable item="Main line mode acceleration" CV="T2CV.4.52" default="20" mask="VVVVVVVVVVVVVVVV" tooltip="The value loaded into CV3 when main line mode is enabled">
		<decVal max="255"/>
	</variable>
	<variable item="Main line mode deceleration" CV="T2CV.4.53" default="60" mask="VVVVVVVVVVVVVVVV" tooltip="The value loaded into CV4 when main line mode is enabled">
		<decVal max="255"/>
	</variable>
	<!-- Volume groups -->
	<variable item="Volume Group 1" CV="T3CV.6.0.1" default="25">
		<decVal max="100"/>
		<label>Air Compressor</label>
	</variable>
	<variable item="Volume Group 2" CV="T3CV.6.0.2" default="15">
		<decVal max="100"/>
		<label>Air Spitter</label>
	</variable>
	<variable item="Volume Group 3" CV="T3CV.6.0.3" default="16">
		<decVal max="100"/>
		<label>Bell</label>
	</variable>
	<variable item="Volume Group 4" CV="T3CV.6.0.4" default="10">
		<decVal max="100"/>
		<label>Brake Release</label>
	</variable>
	<variable item="Volume Group 5" CV="T3CV.6.0.5" default="13">
		<decVal max="100"/>
		<label>Brake Squeal</label>
	</variable>
	<variable item="Volume Group 6" CV="T3CV.6.0.6" default="20">
		<decVal max="100"/>
		<label>Catenary</label>
	</variable>
	<variable item="Volume Group 7" CV="T3CV.6.0.7" default="40">
		<decVal max="100"/>
		<label>Cooling Fan </label>
	</variable>
	<variable item="Volume Group 8" CV="T3CV.6.0.8" default="15">
		<decVal max="100"/>
		<label>Coupler Clank</label>
	</variable>
	<variable item="Volume Group 9" CV="T3CV.6.0.9" default="15">
		<decVal max="100"/>
		<label>Crew Alert</label>
	</variable>
	<variable item="Volume Group 10" CV="T3CV.6.0.10" default="15">
		<decVal max="100"/>
		<label>direction change</label>
	</variable>
	<variable item="Volume Group 11" CV="T3CV.6.0.11" default="45">
		<decVal max="100"/>
		<label>dynamic brake </label>
	</variable>
	<variable item="Volume Group 12" CV="T3CV.6.0.12" default="80">
		<decVal max="100"/>
		<label>forward sound </label>
	</variable>
	<variable item="Volume Group 13" CV="T3CV.6.0.13" default="80">
		<decVal max="100"/>
		<label>horn long </label>
	</variable>
	<variable item="Volume Group 14" CV="T3CV.6.0.14" default="80">
		<decVal max="100"/>
		<label>horn quill </label>
	</variable>
	<variable item="Volume Group 15" CV="T3CV.6.0.15" default="80">
		<decVal max="100"/>
		<label>horn short </label>
	</variable>
	<variable item="Volume Group 16" CV="T3CV.6.0.16" default="10">
		<decVal max="100"/>
		<label>idling sounds </label>
	</variable>
	<variable item="Volume Group 17" CV="T3CV.6.0.17" default="50">
		<decVal max="100"/>
		<label>momentum </label>
	</variable>
	<variable item="Volume Group 18" CV="T3CV.6.0.18" default="40">
		<decVal max="100"/>
		<label>mute </label>
	</variable>
	<variable item="Volume Group 19" CV="T3CV.6.0.19" default="80">
		<decVal max="100"/>
		<label>reverse sound</label>
	</variable>
	<variable item="Volume Group 20" CV="T3CV.6.0.20" default="60">
		<decVal max="100"/>
		<label>rotate whistle</label>
	</variable>
	<variable item="Volume Group 21" CV="T3CV.6.0.21" default="80">
		<decVal max="100"/>
		<label>sanding valve</label>
	</variable>
	<variable item="Volume Group 22" CV="T3CV.6.0.22" default="80">
		<decVal max="100"/>
		<label>station announcements arriving</label>
	</variable>
	<variable item="Volume Group 23" CV="T3CV.6.0.23" default="80">
		<decVal max="100"/>
		<label>station announcements departing</label>
	</variable>
	<variable item="Volume Group 24" CV="T3CV.6.0.24" default="80">
		<decVal max="100"/>
		<label>stop sound</label>
	</variable>
	<variable item="Volume Group 25" CV="T3CV.6.0.25" default="10">
		<decVal max="100"/>
		<label>traction motor</label>
	</variable>
	<variable item="Volume Group 26" CV="T3CV.6.0.26" default="20">
		<decVal max="100"/>
		<label>traction motor blower</label>
	</variable>
	<variable item="Volume Group 27" CV="T3CV.6.0.27" default="80">
		<decVal max="100"/>
		<label>whoosh</label>
	</variable>
	<variable item="Volume Group 28" CV="T3CV.6.0.28" default="15">
		<decVal max="100"/>
		<label>WindShield Wipers</label>
	</variable>
</variables>
