<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!-- Copyright (C) JMRI 2007 All rights reserved -->
<!-- $Id: MRC_soundbrilliance1658.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="Peter Ulvestad" version="2" lastUpdated="20091003"/>
  <version author="Michael Dunn" version="1" lastUpdated="20070421"/>
<!-- made from the MRC_1636 file by Richard Sauerbrun -->
<!-- Version 2 - Updated, moved consist info to consist tab, added speed table and lots of tooltips -->
  <decoder>
    <family name="Brilliance Sound Decoders" mfg="MRC" lowVersionID="32" highVersionID="32">
      <model model="Synch Diesel Sound 1658 - Kato N F3" numOuts="2" numFns="12" maxTotalCurrent="0.75A" extFnsMRC="yes">
<!-- note only F0 to F12 are NMRA compatible -->
        <size length="90" width="14" height="4.2" units="mm"/>
      </model>
    </family>
    <programming direct="yes" paged="yes" register="yes" ops="yes"/>
<!-- Note Mfg. recognizes CV read back is not 100% correct -->
    <variables>
      <variable label="Short Address" CV="1" tooltip="CV1 sets the Short, Primary or 2-digit address [range 1-127]" item="Short Address" default="3">
        <shortAddressVal/>
        <label>Short Address</label>
      </variable>
      <variable label="Start Voltage" CV="2" tooltip="CV2 sets the motor voltage at Speed Step 1 [range 0-32]" item="Vstart" default="0">
        <decVal max="32"/>
        <label>Start Voltage</label>
      </variable>
      <variable label="Acceleration" CV="3" tooltip="CV3 sets the acceleration rate (delay) [range 0-32]" item="Accel" default="0">
        <decVal max="32"/>
        <label>Acceleration</label>
      </variable>
      <variable label="Deceleration" CV="4" tooltip="CV4 sets the deceleration rate (delay) [range 0-32]" item="Decel" default="0">
        <decVal max="32"/>
        <label>Deceleration</label>
      </variable>
      <variable label="Top Voltage" CV="5" tooltip="CV5 sets the motor voltage at the top Speed Step [range 0-32]" item="Vhigh" default="32">
        <decVal max="32"/>
        <label>Top Voltage</label>
      </variable>
      <variable label="Speed Curve Select" CV="6" tooltip="CV6 sets Speed Curve" item="Speed Table/Mid Range Cab Speed Step">
        <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>Speed Curve Select</label>
      </variable>
      <variable label="Version ID" CV="7" readOnly="yes" tooltip="CV7 is the Decoder ID, Read Only" item="Decoder Version">
        <decVal/>
        <label>Version ID</label>
      </variable>
      <variable label="Manufacturer ID" CV="8" readOnly="yes" tooltip="CV8 is the Manufacturer ID, MRC=143, Read Only" item="Manufacturer" default="143">
        <decVal/>
        <label>Manufacturer ID</label>
      </variable>
      <variable label="Long Address" CV="17" tooltip="CVs17 and 18 set the Extended (4 digit) address, range 128-9999" item="Extended Address">
        <longAddressVal/>
        <label>Long Address</label>
      </variable>
      <variable label="Advanced Consist address" CV="19" tooltip="CV19 set the Advanced Consist address, range 0-127" item="Consist Address" mask="XVVVVVVV" default="0">
        <decVal max="127"/>
        <label>Advanced Consist address</label>
      </variable>
      <variable label="Locomotive Direction In Consist" CV="19" item="Consist Direction" mask="VXXXXXXX" default="0">
        <enumVal>
          <enumChoice choice="Normal">
            <choice>Normal</choice>
          </enumChoice>
          <enumChoice choice="Reversed">
            <choice>Reversed</choice>
          </enumChoice>
        </enumVal>
        <label>Locomotive Direction In Consist</label>
      </variable>
      <variable label="Consist Function" CV="21" tooltip="CV21 selects the address accessory functions will respond to" item="Functions Respond To" mask="XXXXXXXV" default="0">
        <enumVal>
          <enumChoice choice="Functions respond to Locomotive Address Only">
            <choice>Functions respond to Locomotive Address Only</choice>
          </enumChoice>
          <enumChoice choice="Functions respond to Consist Address Only">
            <choice>Functions respond to Consist Address Only</choice>
          </enumChoice>
        </enumVal>
        <label>Consist Function</label>
      </variable>
      <variable label="Normal direction of motion" CV="29" tooltip="CV29 [ '1' bit (LSB)] sets the direction of motion" item="Locomotive Direction" mask="XXXXXXXV">
        <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" tooltip="CV29 ['2' bit] sets the Speed Step resolution" item="Speed Step Mode" mask="XXXXXXVX" 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" tooltip="CV29 ['4' bit] determines if loco motor will respond to DCC only (OFF) or DC and DCC (ON)" item="Analog (DC) Operation" mask="XXXXXVXX" default="0">
        <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" tooltip="CV29 ['8' bit] determines if loco will use Speed Table or not" item="Speed Table Definition" mask="XXXVXXXX" default="1">
        <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" tooltip="CV29 ['32' bit] sets the Addressing Mode" item="Address Format" mask="XXVXXXXX">
        <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="Horn type" CV="50" item="Sound Option 1" default="4" comment="Range 0-16">
        <decVal max="16"/>
        <label>Horn type</label>
        <comment>Range 0-16</comment>
      </variable>
      <variable label="Horn volume" CV="51" item="Sound Setting 1" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Horn volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Bell type" CV="52" item="Sound Option 2" default="3" comment="Range 0-6">
        <decVal max="6"/>
        <label>Bell type</label>
        <comment>Range 0-6</comment>
      </variable>
      <variable label="Bell volume" CV="53" item="Sound Setting 2" default="3" comment="Range 0-7">
        <decVal max="7"/>
        <label>Bell volume</label>
        <comment>Range 0-7</comment>
      </variable>
      <variable label="Bell ring rate" CV="54" item="Sound Setting 3" default="3" comment="Range 0-50">
        <decVal max="50"/>
        <label>Bell ring rate</label>
        <comment>Range 0-50</comment>
      </variable>
      <variable label="Diesel rumble volume" CV="55" item="Sound Setting 4" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Diesel rumble volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Brake squeal volume" CV="56" 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="Dynamic brake volume" item="Sound Setting 6" CV="57" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Dynamic brake volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Air release volume" item="Sound Setting 7" CV="58" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Air release volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Air pump volume" CV="59" item="Sound Setting 8" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Air pump volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Safety pop value volume" CV="60" item="Sound Setting 9" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Safety pop value volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Engine cooling fan volume" CV="61" item="Sound Setting 10" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Engine cooling fan volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Coupling volume" CV="62" item="Sound Setting 11" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Coupling volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Random noise volume" CV="63" item="Sound Setting 12" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Random noise volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Rail wheel clack" CV="64" item="Sound Setting 13" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Rail wheel clack</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Speed Table" CV="67">
        <speedTableVal/>
        <label>Speed Table</label>
      </variable>
      <variable label="User ID #1" CV="105" item="User Id #1" default="0" comment="Range 0-255">
        <decVal max="255"/>
        <label>User ID #1</label>
        <comment>Range 0-255</comment>
      </variable>
      <variable label="User ID #2" CV="106" item="User Id #2" default="0" comment="Range 0-255">
        <decVal max="255"/>
        <label>User ID #2</label>
        <comment>Range 0-255</comment>
      </variable>
      <variable label="Coupling fire volume" CV="113" item="Sound Setting 14" default="3" comment="Range 0-3">
        <decVal max="3"/>
        <label>Coupling fire volume</label>
        <comment>Range 0-3</comment>
      </variable>
      <variable label="Brake release volume" CV="114" item="Sound Setting 15" 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 enable/disable" item="Sound Option 3" CV="115" default="1">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="On">
            <choice>On</choice>
          </enumChoice>
        </enumVal>
        <label>Auto Brake squeal enable/disable</label>
      </variable>
      <variable label="Coupling Sound Type" item="Sound Option 4" CV="116" default="1">
        <enumVal>
          <enumChoice choice="Off">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="Type 1">
            <choice>Type 1</choice>
          </enumChoice>
          <enumChoice choice="Type 2">
            <choice>Type 2</choice>
          </enumChoice>
        </enumVal>
        <label>Coupling Sound Type</label>
      </variable>
      <variable label="Diesel notch mode" item="Sound Option 5" CV="122" default="1">
        <enumVal>
          <enumChoice choice="Off" value="0">
            <choice>Off</choice>
          </enumChoice>
          <enumChoice choice="Auto notch - RPM and notch synchro to speed" value="1">
            <choice>Auto notch - RPM and notch synchro to speed</choice>
          </enumChoice>
          <enumChoice choice="Linear notch - RPM synchro to speed" value="2">
            <choice>Linear notch - RPM synchro to speed</choice>
          </enumChoice>
          <enumChoice choice="Manual notch - notch up/down with F8/F9" value="3">
            <choice>Manual notch - notch up/down with F8/F9</choice>
          </enumChoice>
        </enumVal>
        <label>Diesel notch mode</label>
      </variable>
      <variable label="Diesel rumble type" item="Sound Option 6" CV="123" default="1">
        <enumVal>
          <enumChoice choice="SD" value="0">
            <choice>SD</choice>
          </enumChoice>
          <enumChoice choice="EMD" value="1">
            <choice>EMD</choice>
          </enumChoice>
          <enumChoice choice="GP" value="2">
            <choice>GP</choice>
          </enumChoice>
          <enumChoice choice="Other" value="3">
            <choice>Other</choice>
          </enumChoice>
<!-- Note per Mfg. recorded sounds ARE NOT for GE P42 or EMD E8! -->
        </enumVal>
        <label>Diesel rumble type</label>
      </variable>
    </variables>
    <resets>
      <factReset label="Reset All CVs" CV="125" default="1"/>
    </resets>
  </decoder>
  <pane name="MRC">
    <column>
      <label label="MRC NOTE: Mfg. recognizes CV read back is not 100% correct.">
        <label>MRC NOTE: Mfg. recognizes CV read back is not 100% correct.</label>
      </label>
      <label label=" ">
        <label> </label>
      </label>
      <separator/>
      <label label=" ">
        <label> </label>
      </label>
      <label label="MRC NOTE: Some DCC systems do not have enough power on the program track for programming">
        <label>MRC NOTE: Some DCC systems do not have enough power on the program track for programming</label>
      </label>
      <label label="sound decoders. If your system is one of these, There are Program Track Boosters availlable">
        <label>sound decoders. If your system is one of these, There are Program Track Boosters availlable</label>
      </label>
      <label label="from aftermarket DCC suppliers.">
        <label>from aftermarket DCC suppliers.</label>
      </label>
    </column>
    <name>MRC</name>
  </pane>
</decoder-config>

