<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<sounds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../shared/xml/schema/vehicle_sounds.xsd">
    <motorized>
        <sounds>
          
            <motor  file="sounds/Turbo.gls" linkNodeOffset="0 2 1" volumeScale="0.10" pitchScale="1.13" innerRadius="10" outerRadius="50" isLocalSound="true">
                <volume indoor="0.2" outdoor=".8"/>
                <lowpassGain indoor="0.15" outdoor="1.00" />
                <lowpassCutoffFrequency indoor="100" outdoor="15000"/>
                <lowpassResonance indoor="0" outdoor="0"/>
                <volume indoor="0.30" outdoor="1.00" >
                    <modifier type="DIFFERENTIAL_SPEED" value="0.0"  modifiedValue="1.00" />
                    <modifier type="DIFFERENTIAL_SPEED" value="10.0" modifiedValue="0.80" />
                    <modifier type="DIFFERENTIAL_SPEED" value="25.0" modifiedValue="0.80" />
                    <modifier type="DIFFERENTIAL_SPEED" value="50.0" modifiedValue="0.50" />
                    <modifier type="DIFFERENTIAL_SPEED" value="70.0" modifiedValue="0.40" />
                    <modifier type="DIFFERENTIAL_SPEED" value="90.0" modifiedValue="0.30" />
                </volume>
            </motor>

            <retarder file="sounds/detroitjake2.wav" linkNode="0>1|2" volumeScale="1.2" pitchScale="1.01" innerRadius="23.0" outerRadius="35.0">
				<volume indoor=".7" outdoor="1.5" >
					<modifier type="SPEED" value="5.0" modifiedValue="0.0"/>
					<modifier type="SPEED" value="30.0" modifiedValue="0.8"/>
					<modifier type="SPEED" value="60.0" modifiedValue="1"/>
					<modifier type="SPEED" value="100.0" modifiedValue="1.3"/>
					<modifier type="ACCELERATE" value="0" modifiedValue="1.0"/>
					<modifier type="ACCELERATE" value="0.01" modifiedValue="0.0"/>
					<modifier type="CRUISECONTROL" value="0" modifiedValue="1.0"/>
					<modifier type="CRUISECONTROL" value="0.01" modifiedValue="0.0"/>
				</volume>
				<pitch indoor="1" outdoor="1" >
					<modifier type="SPEED" value="5.0" modifiedValue="0.5"/>
					<modifier type="SPEED" value="30.0" modifiedValue="1"/>
					<modifier type="SPEED" value="60.0" modifiedValue="1.2"/>
					<modifier type="SPEED" value="120.0" modifiedValue="1.6"/>
				</pitch>
				<lowpassGain indoor="1" outdoor="1"/>
			</retarder>   			

		  <!-- <gearbox file="sounds/detroitjake2.wav" linkNode="jakeBrake" innerRadius="23.0" outerRadius="90.0"  pitchScale="9">
                <volume indoor="2" outdoor="2.7" >
                    <modifier type="SPEED" value="3.0" modifiedValue="0.0"/>
                    <modifier type="SPEED" value="7.0" modifiedValue="0.0"/>
                    <modifier type="SPEED" value="9.0" modifiedValue="0.0"/>
                    <modifier type="SPEED" value="22" modifiedValue="1.0"/>
                    <modifier type="SPEED" value="60.0" modifiedValue="1"/>
                    <modifier type="SPEED" value="100.0" modifiedValue="1.0"/>
                    <modifier type="ACCELERATE" value="0" modifiedValue="1.0"/>
                    <modifier type="ACCELERATE" value="0.01" modifiedValue="0.0"/>
                    <modifier type="CRUISECONTROL" value="0" modifiedValue="1.0"/>
                    <modifier type="CRUISECONTROL" value="0.01" modifiedValue="0.0"/>
                    <modifier type="MOTOR_RPM_REAL" value="650" modifiedValue="0.0" />
                    <modifier type="MOTOR_RPM_REAL" value="700" modifiedValue="1" />
                </volume>



                     <loopSynthesisRpm>
                    <modifier type="MOTOR_RPM_REAL" value="650" modifiedValue="0.0" />
                    <modifier type="MOTOR_RPM_REAL" value="1100" modifiedValue="0.5" />
                    <modifier type="MOTOR_RPM_REAL" value="2200" modifiedValue="1.0" />
                </loopSynthesisRpm>

                    <lowpassGain indoor="0.7" outdoor="1"/>
            </gearbox> -->

           <motor template="fanOld_01" pitchScale="0.75" linkNodeOffset="0.5 1 3.5">
                <volume indoor="0.7" outdoor="1.7" />
            </motor>
            <motor template="cabinTruck_01" linkNodeOffset="0.7 2 2.5" volumeScale="4"/>
            <motor template="transmissionTruck_01" volumeScale="1.1" pitchScale="1.2" linkNode="0>0"/>
            <motor template="transmissionTruck_01" volumeScale="1.1" pitchScale="1.0" linkNode="0>0"/>

            <motor template="indoorCabinRumble" volumeScale="16" pitchScale="1.1" linkNodeOffset="1 2 2.8"/>
            <motor template="indoorCabinRumble" volumeScale="16" pitchScale="0.9" linkNodeOffset="0.2 2 2.8"/>

            <compressedAir template="compressedAir" volumeScale="5"/>
            <airCompressorRun template="brakeCompressorLarge" />
            <airCompressorStop template="compressedAir" />
            <airRelease template="truckBrakeRegulatorValve" />
            <gearLeverStart template="gearDisengaged" volumeScale="0.5" linkNodeOffset="0.5 2 2.5"/>
            <gearLeverEnd template="gearEngaged" volumeScale="0.5" linkNodeOffset="0.5 2 2.5"/>
            <reverseDrive template="reverseBeep02" />
        </sounds>
    </motorized>

    <lights>
        <sounds>
            <toggleLights template="switch01"  />
            <turnLight template="switchTurnlight" volumeScale="2" />
        </sounds>
    </lights>

    <enterable>
        <sounds>
            <rain template="rainInVehicle"  linkNodeOffset="0.5 2 2">
                <loopSynthesisRpm>
                    <modifier type="SPEED" value="0.0" modifiedValue="0.0" />
                    <modifier type="SPEED" value="90.0" modifiedValue="1" />
                </loopSynthesisRpm>
                <volume>
                    <modifier type="SPEED" value="0" modifiedValue="1" />
                    <modifier type="SPEED" value="50" modifiedValue="1" />
                    <modifier type="SPEED" value="90" modifiedValue="1.2" />
                </volume>

                <pitch>
                    <modifier type="SPEED" value="0" modifiedValue="1" />
                    <modifier type="SPEED" value="50" modifiedValue="1" />
                    <modifier type="SPEED" value="90" modifiedValue="1.0" />
                </pitch>
            </rain>
            <hail template="hailInVehicle" linkNodeOffset="0.5 2 2" volumeScale="1.5">
                <loopSynthesisRpm>
                    <modifier type="SPEED" value="0.0" modifiedValue="0.0" />
                    <modifier type="SPEED" value="80.0" modifiedValue="1" />
                </loopSynthesisRpm>
                <volume>
                    <modifier type="SPEED" value="0" modifiedValue="1" />
                    <modifier type="SPEED" value="25" modifiedValue="1" />
                    <modifier type="SPEED" value="80" modifiedValue="1.2" />
                </volume>

                <pitch>
                    <modifier type="SPEED" value="0" modifiedValue="1" />
                    <modifier type="SPEED" value="25" modifiedValue="1" />
                    <modifier type="SPEED" value="80" modifiedValue="1.0" />
                </pitch>
            </hail>
        </sounds>
    </enterable>

    <attacherJoints>
        <attacherJointConfigurations>
            <attacherJointConfiguration>
                <attacherJoint>
                    <attachSound template="truckAttach" linkNode="0>" />
                    <detachSound template="truckDetach" linkNode="0>" />
                </attacherJoint>
            </attacherJointConfiguration>
        </attacherJointConfigurations>
        <sounds>
            <attach template="attach01" />
            <hydraulic template="hydraulicOpen02" />
        </sounds>
    </attacherJoints>

    <drivable>
        <sounds>
            <waterSplash template="waterSplash01" />
        </sounds>
    </drivable>

    <honk>
        <sound template="honkTrain" volumeScale="4" pitchScale=".5" linkNodeOffset="0 3 1.8"/>
    </honk>
</sounds>
