<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2005 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.                                                      -->
<decoder-config 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">
  <version author="Alain Le Marchand" version="2.0" lastUpdated="20150427"/>
  <version author="Rick Beaber rbeaber@gmail.com" version="1.1" lastUpdated="20050208"/>
  <!-- version 2.0: removed pane Sound Levels-2, all sound levels on regular pane -->
  <!--              Renaming decoder models                                       -->
  <decoder>
    <family name="Sound Decoders" mfg="MRC" lowVersionID="1" highVersionID="1" comment="Synchronized Sound Brilliance(TM) Decoders">
      <model show="no" model="Synch Diesel Sound 1626" replacementModel="1626 - HO Scale - Diesel" replacementFamily="Sound Decoders" numOuts="4" numFns="12"/>
      <model model="1626 - HO Scale - Diesel" numOuts="4" numFns="12"/>
    </family>
    <programming direct="yes" paged="yes" register="yes" ops="yes"/>
    <variables>
      <variable CV="2" item="Vstart" default="0" comment="Range 0-32">
        <decVal max="32"/>
        <label>Start Volts</label>
        <label xml:lang="it">Volt Partenza</label>
        <label xml:lang="fr">V démarr.</label>
        <label xml:lang="de">Startspannung</label>
        <comment>Range 0-32</comment>
      </variable>
      <variable CV="3" item="Accel" default="0" comment="Range 0-32">
        <decVal max="32"/>
        <label>Acceleration momentum</label>
        <label xml:lang="it">Accellerazione (0-32)</label>
        <label xml:lang="fr">Accelération (0-32)</label>
        <label xml:lang="de">Anfahrverzögerung (0-32)</label>
        <comment>Range 0-32</comment>
      </variable>
      <variable CV="4" item="Decel" default="0" comment="Range 0-32">
        <decVal max="32"/>
        <label>Brake momentum</label>
        <label xml:lang="it">Decellerazione (1-32)</label>
        <label xml:lang="fr">Décélération (1-32)</label>
        <label xml:lang="de">Bremszeit (1-32)</label>
        <comment>Range 0-32</comment>
      </variable>
      <variable CV="5" item="Vhigh" default="0" comment="Range 0-32">
        <decVal max="32"/>
        <label>Max Voltage</label>
        <label xml:lang="it">Volt Massimi (0-32):</label>
        <label xml:lang="de">Höchstgeschwindigkeit</label>
        <comment>Range 0-32</comment>
      </variable>
      <variable CV="7" item="Decoder Version" readOnly="yes" default="1">
        <decVal/>
        <label>Version ID</label>
        <label xml:lang="it">Versione Decoder: </label>
        <label xml:lang="fr">Version décodeur: </label>
        <label xml:lang="de">Decoder Version: </label>
      </variable>
      <variable CV="8" readOnly="yes" item="Manufacturer" default="143">
        <decVal/>
        <label>Manufacturer ID</label>
        <label xml:lang="it">ID Costruttore: </label>
        <label xml:lang="fr">ID constructeur: </label>
        <label xml:lang="de">Hersteller ID: </label>
      </variable>
      <xi:include href="http://jmri.org/xml/decoders/nmra/shortAndLongAddress.xml"/>
      <!-- CV=19 -->
     <xi:include href="http://jmri.org/xml/decoders/nmra/consistAddrDirection.xml"/>
      <!-- CV=29 -->
     <xi:include href="http://jmri.org/xml/decoders/nmra/cv29direction.xml"/>
     <xi:include href="http://jmri.org/xml/decoders/nmra/cv29speedSteps.xml"/>
     <xi:include href="http://jmri.org/xml/decoders/nmra/cv29analog.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv29table1-28.xml"/>
      <variable CV="52" item="Sound Setting 1" default="31" comment="Range 0-31">
        <decVal max="31"/>
        <label>Horn Volume</label>
        <comment>Range 0-31</comment>
      </variable>
      <variable CV="53" item="Sound Setting 2" default="31" comment="Range 0-31">
        <decVal max="31"/>
        <label>Bell Volume</label>
        <comment>Range 0-31</comment>
      </variable>
      <variable CV="54" item="Sound Setting 3" default="31" comment="Range 0-31">
        <decVal max="31"/>
        <label>Diesel Volume</label>
        <comment>Range 0-31</comment>
      </variable>
      <variable CV="55" item="Sound Setting 4" default="31" comment="Range 0-31">
        <decVal max="31"/>
        <label>Brake Volume</label>
        <comment>Range 0-31</comment>
      </variable>
      <variable item="Sound Setting 5" CV="56" default="31" comment="Range 0-31">
        <decVal max="31"/>
        <label>Dynamic Brake Volume</label>
        <comment>Range 0-31</comment>
      </variable>
      <variable item="Sound Setting 6" CV="57" default="31" comment="Range 0-31">
        <decVal max="31"/>
        <label>Brake Release Volume</label>
        <comment>Range 0-31</comment>
      </variable>
      <variable CV="58" item="Sound Setting 7" default="31" comment="Range 0-31">
        <decVal max="31"/>
        <label>Air Pump Volume</label>
        <comment>Range 0-31</comment>
      </variable>
      <variable CV="59" item="Sound Setting 8" default="31" comment="Range 0-31">
        <decVal max="31"/>
        <label>Coupling Volume</label>
        <comment>Range 0-31</comment>
      </variable>
      <variable CV="60" item="Sound Setting 11" default="31" comment="Range 0-31">
        <decVal max="31"/>
        <label>Conductor Volume</label>
        <comment>Range 0-31</comment>
      </variable>
      <variable CV="61" item="Sound Setting 12" default="31" comment="Range 0-31">
        <decVal max="31"/>
        <label>Reverser Volume</label>
        <comment>Range 0-31</comment>
      </variable>
      <variable CV="62" item="Sound Setting 13" default="31" comment="Range 0-31">
        <decVal max="31"/>
        <label>Exhaust Volume</label>
        <comment>Range 0-31</comment>
      </variable>
      <variable CV="63" item="Sound Setting 14" default="31" comment="Range 0-31">
        <decVal max="31"/>
        <label>Sand Release Volume</label>
        <comment>Range 0-31</comment>
      </variable>
      <variable CV="64" item="Sound Setting 15" default="31" comment="Range 0-31">
        <decVal max="31"/>
        <label>Air Release Volume</label>
        <comment>Range 0-31</comment>
      </variable>
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv67speedTableBasic.xml"/>
      <!-- CV 105-106 -->
      <xi:include href="http://jmri.org/xml/decoders/nmra/userId.xml"/>
      <variable CV="50" item="Sound Option 1" default="1" comment="Range 0-2">
        <decVal max="2"/>
        <label>Horn Type</label>
        <comment>Range 0-2</comment>
      </variable>
      <variable CV="51" item="Sound Option 2" default="1" comment="Range 0-2">
        <decVal max="2"/>
        <label>Bell Type</label>
        <comment>Range 0-2</comment>
      </variable>
      <variable item="Global lighting option 3" CV="112" default="0">
        <enumVal>
          <enumChoice choice="Headlights Normal - Pad#1 Ditch - Pad#2 Ditch" value="0">
            <choice>Headlights Normal - Pad#1 Ditch - Pad#2 Ditch</choice>
          </enumChoice>
          <enumChoice choice="Headlights Normal - Pad#1 Mars  - Pad#2 Single Strobe" value="1">
            <choice>Headlights Normal - Pad#1 Mars  - Pad#2 Single Strobe</choice>
          </enumChoice>
          <enumChoice choice="Headlights Normal - Pad#1 Mars  - Pad#2 Dual Strobe" value="2">
            <choice>Headlights Normal - Pad#1 Mars  - Pad#2 Dual Strobe</choice>
          </enumChoice>
          <enumChoice choice="Headlights Rule 17 - Pad#1 Ditch - Pad#2 Ditch" value="16">
            <choice>Headlights Rule 17 - Pad#1 Ditch - Pad#2 Ditch</choice>
          </enumChoice>
          <enumChoice choice="Headlights Rule 17 - Pad#1 Mars  - Pad#2 Single Strobe" value="17">
            <choice>Headlights Rule 17 - Pad#1 Mars  - Pad#2 Single Strobe</choice>
          </enumChoice>
          <enumChoice choice="Headlights Rule 17 - Pad#1 Mars  - Pad#2 Dual Strobe" value="18">
            <choice>Headlights Rule 17 - Pad#1 Mars  - Pad#2 Dual Strobe</choice>
          </enumChoice>
        </enumVal>
        <label>Light Effects</label>
      </variable>
      <variable item="Global lighting option 1" CV="113" default="10" comment="Range 0-48">
        <decVal max="48"/>
        <label>Ditch/Mars Light Rate</label>
        <comment>Range 0-48</comment>
      </variable>
      <variable item="Global lighting option 2" CV="114" default="10" comment="Range 0-48">
        <decVal max="48"/>
        <label>Strobe Light Rate</label>
        <comment>Range 0-48</comment>
      </variable>
      <variable item="Sound Option 3" CV="115">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-OffOn.xml"/>
        <label>Brake squeal</label>
      </variable>
    </variables>
  </decoder>
</decoder-config>
