<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2005, 2006, 2007 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-4-15-2.xsd">
  <version author="Alain Le Marchand" version="2" lastUpdated="20150427"/>
  <version author="Fred Dalzell" version="1" lastUpdated="20121231"/>
  <!-- made from the MRC_soundbrilliance1656 file by Pete Cesaro pdsteam@aol.com -->
  <!-- Corrected error in default of CV52 versus MTC chart to reflect decoder capabilities -->
  <!--  ...........................................................................  -->
  <!--                                                                               -->
  <!--  Deprecated file - DO NOT USE ANYMORE - only kept for compatibility           -->
  <!--  ...........................................................................  -->
  <!--  version 2 Replacement models - renamed decoder and family                    -->
  <decoder>
    <family name="Brilliance Sound Decoders" mfg="MRC" lowVersionID="19" highVersionID="19">
      <model show="no" model="Synch Steam Sound 1869" replacementModel="1869 - HO Scale - Steam mini" replacementFamily="Sound Decoders" maxTotalCurrent="1.5A" extFnsMRC="yes">
        <!-- note All functions are NMRA compatible -->
        <size length="28" width="17" height="6.5" units="mm"/>
      </model>
    </family>
    <programming direct="yes" paged="yes" register="yes" ops="yes"/>
    <variables>
      <xi:include href="http://jmri.org/xml/decoders/nmra/shortAndLongAddress.xml"/>
      <variable CV="2" item="Vstart" default="10" tooltip="sets the motor voltage at Speed Step 1, range 0-32" comment="Range 0-32">
        <decVal max="32"/>
        <label>Start Volts</label>
        <comment>Range 0-32</comment>
      </variable>
      <variable CV="3" item="Accel" default="0" tooltip="Sets the acceleration rate (delay or momentum), range 0(default)-32" comment="Range 0-32">
        <decVal max="32"/>
        <label>Acceleration</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" tooltip="Sets the deceleration rate (delay or momentum), range 0(default)-32" comment="Range 0-32">
        <decVal max="32"/>
        <label>Deceleration</label>
        <comment>Range 0-32</comment>
      </variable>
      <variable CV="5" item="Vhigh" default="32" tooltip="sets the motor voltage at top Speed Step, range 0-32(default)" comment="Range 0-32">
        <decVal max="32"/>
        <label>Top 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" tooltip="=19, Read Only" default="19">
        <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" item="Manufacturer" readOnly="yes" tooltip="=143 for MRC, Read Only" 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>
      <!-- CV=19 -->
     <xi:include href="http://jmri.org/xml/decoders/nmra/consistAddrDirection.xml"/>
      <!-- CV=21 -->
     <xi:include href="http://jmri.org/xml/decoders/nmra/cv21_lsb_MRC.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="49" default="1" item="Sound Option 1" tooltip="0=Off, 1=On" comment="Range 0-1">
        <decVal max="1"/>
        <label>Sound Control</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable CV="50" item="Sound Option 2" default="4" tooltip="range 0-13" comment="Range 0-13">
        <decVal max="13"/>
        <label>Whistle Type</label>
        <comment>Range 0-13</comment>
      </variable>
      <variable CV="51" item="Sound Setting 1" default="3" tooltip="range 0-3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Whistle Volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable CV="52" item="Sound Option 3" default="3" tooltip="4 bell versions, range 0-3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Bell Type</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable CV="53" item="Sound Setting 2" default="3" tooltip="range 0-3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Bell Volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable CV="54" item="Sound Setting 3" default="10" tooltip="range 0-50, lower is faster" comment="Range 0-50">
        <decVal max="50"/>
        <label>Bell Ring Rate</label>
        <comment>Range 0-50</comment>
      </variable>
      <variable item="Sound Option 4" CV="55" default="0" tooltip="6 chuff versions, range 0-5" comment="Range 0-5">
        <decVal max="5"/>
        <label>Chuff type</label>
        <comment>Range 0-5</comment>
      </variable>
      <variable CV="56" item="Sound Setting 4" default="3" tooltip="range 0-3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Chuff volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable CV="57" item="Sound Setting 5" default="1" tooltip="range 0-3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Brake Squeal Volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable item="Sound Setting 6" CV="58" default="3" tooltip="range 0-3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Air Release Volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable CV="59" item="Sound Setting 7" default="3" tooltip="range 0-3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Blower Hiss Volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable CV="60" item="Sound Setting 8" default="3" tooltip="range 0-3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Fire box door volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable CV="61" item="Sound Setting 9" default="3" tooltip="range 0-3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Water Injector Volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable CV="62" item="Sound Setting 10" default="3" tooltip="range 0-3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Coupling Volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable CV="63" item="Sound Setting 11" default="0" tooltip="range 0-3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Air Pump Volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable CV="64" item="Sound Setting 12" default="3" tooltip="range 0-3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Rail Clack Volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <xi:include href="http://jmri.org/xml/decoders/nmra/kickStart_63.xml"/>
      <xi:include href="http://jmri.org/xml/decoders/nmra/cv67speedTableBasic.xml"/>
      <variable CV="105" item="User Id #1" default="0" tooltip="range 0-255, code your own ID">
        <decVal max="255"/>
        <label>User ID #1</label>
      </variable>
      <variable CV="106" item="User Id #2" default="0" tooltip="range 0-255, code your own ID">
        <decVal max="255"/>
        <label>User ID #2</label>
      </variable>
      <variable CV="112" item="Sound Setting 13" default="3" tooltip="range 0-3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Conductor volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable CV="113" item="BEMF Load Control Prop Gain (Kp)" default="20" tooltip="range 0 to 31">
        <decVal max="31"/>
        <label>BEMF Load Ctrl Prop Gain (Kp)</label>
        <comment>Range 0-31</comment>
      </variable>
      <variable CV="114" item="BEMF Load Control Integral Gain (Ki)" default="10" tooltip="range 0 - 31">
        <decVal max="31"/>
        <label>BEMF Load Ctrl Integral Gain (Ki)</label>
        <comment>Range 0-31</comment>
      </variable>
      <variable item="Sound Option 5" CV="115" default="1" tooltip="range 0(off) or 1(enable)(Default)">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Air brake squeal enable/disable</label>
      </variable>
      <variable CV="116" item="Sound Setting 14" default="3" tooltip="range 0-3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Sand Drop volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable CV="117" item="Sound Setting 15" default="3" tooltip="range 0-3, default 3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Coal Volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable CV="118" item="Sound Setting 16" default="3" tooltip="range 0-3, default 3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Shoveling Volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable CV="119" item="Sound Setting 17" default="3" tooltip="range 0-3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Coupling Fire Volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable CV="120" item="Sound Setting 18" default="30" tooltip="range 0-60, default 30" comment="Range 0-60">
        <decVal max="60"/>
        <label>Chuff Rate</label>
        <comment>Range 0-60</comment>
      </variable>
      <variable CV="121" item="Sound Setting 19" default="3" tooltip="range 0-10" comment="Range 0-10">
        <decVal max="10"/>
        <label>Chuff Start Point</label>
        <comment>Range 0-10</comment>
      </variable>
      <variable CV="122" item="Sound Option 6" default="1" tooltip="range 0(single) or 1(double)(Default)" comment="MRC docs, use for articulated locomotives">
        <xi:include href="http://jmri.org/xml/decoders/parts/enum-disabledEnabled.xml"/>
        <label>Double chuff enable</label>
        <comment>MRC docs, use for articulated locomotives</comment>
      </variable>
      <variable CV="124" item="BEMF Load Control Intensity" default="160" tooltip="range 0 - 255, default = 160, 0 = Off">
        <decVal max="255"/>
        <label>BEMF Load Control Intensity</label>
        <comment>Range 0-255</comment>
      </variable>
    </variables>
    <resets>
      <factReset label="Reset All CVs" CV="125" default="1">
        <label xml:lang="it">Reset delle CV ai valori di fabbrica</label>
      </factReset>
    </resets>
  </decoder>
</decoder-config>
