<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2005, 2006, 2007 All rights reserved -->
<!-- $Id: MRC_soundbrilliance1639.xml 17977 2011-07-18 17:23:46Z zoo $ -->
<!--                                                                        -->
<!-- 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="Charles Dearden -charlied@comcen.com.au" version="1" lastUpdated="20080429"/>
<!-- made from the MRC_1630 file by Bob Jacobsen-->
  <decoder>
    <family name="Brilliance Sound Decoders" mfg="MRC" lowVersionID="32" highVersionID="32">
      <model model="Mini HO/N Synch Steam Sound 1639" numOuts="2" numFns="12" connector="NMRAmedium" maxTotalCurrent="1.5A" extFnsMRC="yes">
        <size length="33" width="10.5" height="5.0" units="mm"/>
      </model>
    </family>
    <programming direct="yes" paged="yes" register="yes" ops="yes"/>
    <variables>
      <variable label="Primary Address" CV="1" comment="Short address" item="Short Address" default="3">
        <shortAddressVal/>
        <label>Primary Address</label>
        <comment>Short address</comment>
      </variable>
      <variable label="Start Volts" CV="2" item="Vstart" default="0" comment="Range 0-32">
        <decVal max="32"/>
        <label>Start Volts</label>
        <comment>Range 0-32</comment>
      </variable>
      <variable label="Acceleration momentum" CV="3" item="Accel" default="0" comment="Range 0-32">
        <decVal max="32"/>
        <label>Acceleration momentum</label>
        <comment>Range 0-32</comment>
      </variable>
      <variable label="Brake momentum" CV="4" item="Decel" default="0" comment="Range 0-32">
        <decVal max="32"/>
        <label>Brake momentum</label>
        <comment>Range 0-32</comment>
      </variable>
      <variable label="Max Voltage" CV="5" item="Vhigh" default="32" comment="Range 0-32">
        <decVal max="32"/>
        <label>Max Voltage</label>
        <comment>Range 0-32</comment>
      </variable>
      <variable label="Version ID" CV="7" readOnly="yes" item="Decoder Version" default="31">
        <decVal/>
        <label>Version ID</label>
      </variable>
      <variable label="Manufacturer ID" CV="8" readOnly="yes" item="Manufacturer" default="143">
        <decVal/>
        <label>Manufacturer ID</label>
      </variable>
      <variable label="Long Address" CV="17" item="Extended Address" comment="4 digit address (Range 0001-9999)">
        <longAddressVal/>
        <label>Long Address</label>
        <comment>4 digit address (Range 0001-9999)</comment>
      </variable>
      <variable label="Consist Address" CV="19" mask="XVVVVVVV" item="Consist Address">
        <decVal/>
        <label>Consist Address</label>
      </variable>
      <variable label="Consist Direction" CV="19" mask="VXXXXXXX">
        <enumVal>
          <enumChoice choice="Normal">
            <choice>Normal</choice>
          </enumChoice>
          <enumChoice choice="Reversed">
            <choice>Reversed</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Direction</label>
      </variable>
      <variable label="Functions Respond To Address" item="Consist Address Active For FL in Forward" CV="21" mask="XXXXXXXV">
        <enumVal>
          <enumChoice choice="Locomotive Address Only">
            <choice>Locomotive Address Only</choice>
          </enumChoice>
          <enumChoice choice="Respond to Consist Address">
            <choice>Respond to Consist Address</choice>
          </enumChoice>
        </enumVal>
        <label>Functions Respond To Address</label>
      </variable>
      <variable label="Normal direction of motion" CV="29" mask="XXXXXXXV" item="Locomotive Direction">
        <enumVal>
          <enumChoice choice="Forward">
            <choice>Forward</choice>
          </enumChoice>
          <enumChoice choice="Reverse">
            <choice>Reverse</choice>
          </enumChoice>
        </enumVal>
        <label>Normal direction of motion</label>
      </variable>
      <variable label="Speed Steps" CV="29" mask="XXXXXXVX" item="Speed Step Mode" default="1">
        <enumVal>
          <enumChoice choice="14">
            <choice>14</choice>
          </enumChoice>
          <enumChoice choice="28/128 (recommended)">
            <choice>28/128 (recommended)</choice>
          </enumChoice>
        </enumVal>
        <label>Speed Steps</label>
      </variable>
      <variable label="Analog conversion mode" CV="29" mask="XXXXXVXX" default="0" item="Analog (DC) Operation">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>Analog conversion mode</label>
      </variable>
      <variable label="Use Speed Table" CV="29" mask="XXXVXXXX" item="Speed Table Definition">
        <enumVal>
          <enumChoice choice="Don't use Speed Table">
            <choice>Don't use Speed Table</choice>
          </enumChoice>
          <enumChoice choice="Use Speed Table">
            <choice>Use Speed Table</choice>
          </enumChoice>
        </enumVal>
        <label>Use Speed Table</label>
      </variable>
      <variable label="Addressing Mode" CV="29" mask="XXVXXXXX" item="Address Format">
        <enumVal>
          <enumChoice choice="2 digit addressing">
            <choice>2 digit addressing</choice>
          </enumChoice>
          <enumChoice choice="4 digit addressing">
            <choice>4 digit addressing</choice>
          </enumChoice>
        </enumVal>
        <label>Addressing Mode</label>
      </variable>
      <variable label="Sound On/Off" CV="49" mask="XXXXXXXV" tooltip="CV49, F0 double-click also selects" default="1" item="Sound Option 1">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>Sound On/Off</label>
      </variable>
      <variable label="Whistle Type" CV="50" item="Sound Option 2" default="3" tooltip="CV50, range 0-11, F19 also selects whistle type" comment="Range 0-11">
        <decVal max="11"/>
        <label>Whistle Type</label>
        <comment>Range 0-11</comment>
      </variable>
      <variable label="Whistle Volume" CV="51" item="Sound Setting 1" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Whistle Volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Bell Type" CV="52" item="Sound Option 3" default="3" tooltip="CV52, range 0-3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Bell Type</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Bell Volume" CV="53" item="Sound Setting 2" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Bell Volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Bell Ring Rate" CV="54" item="Sound Group 3 Option 4" default="3" tooltip="CV54, 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 label="Chuff type" item="Sound Option 4" CV="55" default="0" tooltip="CV55, range 0-5 single chuff, 6-13 double chuff, F12 for on/off" comment="Range 0-13">
        <decVal max="13"/>
        <label>Chuff type</label>
        <comment>Range 0-13</comment>
      </variable>
      <variable label="Chuff volume" CV="56" item="Sound Setting 4" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Chuff volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Brake Squeal Volume" CV="57" item="Sound Setting 5" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Brake Squeal Volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Air Release Volume" item="Sound Setting 6" CV="58" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Air Release Volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Blower Volume" CV="59" item="Sound Setting 7" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Blower Volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Fire box door volume" CV="60" item="Sound Setting 8" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Fire box door volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Injector Volume" CV="61" item="Sound Setting 9" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Injector Volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Coupling Volume" CV="62" item="Sound Setting 10" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Coupling Volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Air Pump Volume" CV="63" item="Sound Setting 11" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Air Pump Volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Rail clack volume" CV="64" item="Sound Setting 12" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Rail clack volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="User ID #1" CV="105" item="User Id #1" default="0">
        <decVal max="255"/>
        <label>User ID #1</label>
      </variable>
      <variable label="User ID #2" CV="106" item="User Id #2" default="0">
        <decVal max="255"/>
        <label>User ID #2</label>
      </variable>
      <variable label="Conductor volume" CV="112" item="Sound Setting 13" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Conductor volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Directional light enable" item="Global lighting option 2" CV="113" default="1">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>Directional light enable</label>
      </variable>
      <variable label="Brake Release Volume" item="Sound Setting 18" CV="114" default="0" comment="Range 0-3">
        <decVal max="3"/>
        <label>Brake Release Volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Auto brake squeal" item="Sound Option 5" CV="115" default="1" tooltip="CV115, F5 also sounds brake squeal">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>Auto brake squeal</label>
      </variable>
      <variable label="Random Noise" item="Sound Option 6" CV="117" default="1">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>Random Noise</label>
      </variable>
      <variable label="Shoveling volume" CV="118" item="Sound Setting 14" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Shoveling volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Coupling Fire Volume" CV="119" item="Sound Setting 15" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Coupling Fire Volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Chuff Rate" CV="120" item="Sound Group 3 Option 5" default="20" tooltip="CV120, range 0-30, default 20" comment="Range 0-30">
        <decVal max="40"/>
        <label>Chuff Rate</label>
        <comment>Range 0-30</comment>
      </variable>
      <variable label="Chuff Start Point" CV="121" item="Sound Group 3 Option 6" default="0" tooltip="CV121, range 0-5" comment="Range 0-5">
        <decVal max="5"/>
        <label>Chuff Start Point</label>
        <comment>Range 0-5</comment>
      </variable>
      <variable label="Select Speed Curve" item="Speed Table Selection" CV="124" default="0">
        <enumVal>
          <enumChoice choice="Linear">
            <choice>Linear</choice>
          </enumChoice>
          <enumChoice choice="Slow increase at slow speed">
            <choice>Slow increase at slow speed</choice>
          </enumChoice>
          <enumChoice choice="Fast increase at slow speed">
            <choice>Fast increase at slow speed</choice>
          </enumChoice>
        </enumVal>
        <label>Select Speed Curve</label>
      </variable>
    </variables>
    <resets>
      <factReset label="Reset All CVs" CV="125" default="1"/>
    </resets>
  </decoder>
  <pane name="MRC">
    <column>
      <label label="MRC mini decoder for HO or N Synchronized Steam Sound">
        <label>MRC mini decoder for HO or N Synchronized Steam Sound</label>
      </label>
      <label label=" ">
        <label> </label>
      </label>
      <display item="Functions Respond To Address"/>
      <label label=" ">
        <label> </label>
      </label>
      <label label="Controls whether this loco's functions respond in the consist,">
        <label>Controls whether this loco's functions respond in the consist,</label>
      </label>
      <label label="or just to this loco's unique address">
        <label>or just to this loco's unique address</label>
      </label>
    </column>
    <name>MRC</name>
  </pane>
</decoder-config>

