<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<sounds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../../../bin/shared/xml/schema/vehicle_sounds.xsd">
    <motorized>
        <sounds>
            <!-- SONS VIDROS -->

            <motor template="engineLarge" file="sounds/torpedo_loop.gls" linkNodeOffset="0 1.28 2" pitchScale="1" volumeScale="4" innerRadius="1" outerRadius="100.0">
                <volume indoor="0" outdoor="1.2">
                    <modifier type="MOTOR_RPM_REAL" value="850"  modifiedValue="0.7" />
                    <modifier type="MOTOR_RPM_REAL" value="1500" modifiedValue="0.95" />
                    <modifier type="MOTOR_RPM_REAL" value="1700" modifiedValue="1.1" />
                    <modifier type="MOTOR_RPM_REAL" value="2000" modifiedValue="1.2" />
                </volume>
            </motor>


            <motor template="engineLarge" file="sounds/torpedo_loop.gls" linkNodeOffset="0 1.28 2" linkNode="linkSomVidroFechado" pitchScale="1" volumeScale="4" innerRadius="1" outerRadius="100.0">
                <volume indoor="0.5" outdoor="0">
                    <modifier type="MOTOR_RPM_REAL" value="850"  modifiedValue="0.7" />
                    <modifier type="MOTOR_RPM_REAL" value="1500" modifiedValue="0.95" />
                    <modifier type="MOTOR_RPM_REAL" value="1700" modifiedValue="1.1" />
                    <modifier type="MOTOR_RPM_REAL" value="2000" modifiedValue="1.2" />
                </volume>
            </motor>  
            <motor template="engineLarge" file="sounds/torpedo_loop.gls" linkNodeOffset="0 1.28 2" linkNode="linkSomVidroAberto" pitchScale="1" volumeScale="4" innerRadius="1" outerRadius="100.0">
                <volume indoor="1" outdoor="0">
                    <modifier type="MOTOR_RPM_REAL" value="850"  modifiedValue="0.7" />
                    <modifier type="MOTOR_RPM_REAL" value="1500" modifiedValue="0.95" />
                    <modifier type="MOTOR_RPM_REAL" value="1700" modifiedValue="1.1" />
                    <modifier type="MOTOR_RPM_REAL" value="2000" modifiedValue="1.2" />
                </volume>
            </motor>  


            <motor  file="sounds/turbina_loop.gls"  volumeScale="0.2" innerRadius="1" outerRadius="50" isLocalSound="true">
                <volume indoor="0.4" outdoor="1"/>
                <lowpassGain indoor="0.8" outdoor="1.00" />
                <lowpassCutoffFrequency indoor="100" outdoor="15000"/>
                <lowpassResonance indoor="0" outdoor="0"/>
                <volume indoor="0.70" outdoor="1.00" >
                    <modifier type="DIFFERENTIAL_SPEED" value="0.0"  modifiedValue="0.50" />
                    <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="83.0" modifiedValue="0.30" />
                </volume>
            </motor>

            <gearbox file="sounds/retarder_loop.gls" linkNodeOffset="0.6 1.0 -0.5" pitchScale="1.0" volumeScale="0.4" innerRadius="1" outerRadius="50" fadeIn="5">
                <loopSynthesisRpm>
                    <modifier type="DIFFERENTIAL_SPEED" value="0.0" modifiedValue="0.0" />
                    <modifier type="DIFFERENTIAL_SPEED" value="40.0" modifiedValue="0.5" />
                    <modifier type="DIFFERENTIAL_SPEED" value="83.0" modifiedValue="1.0" />
                </loopSynthesisRpm>
                <volume indoor="0.2" outdoor="1.6" >
                    <modifier type="DIFFERENTIAL_SPEED" value="0.0"  modifiedValue="0.00" />
                    <modifier type="DIFFERENTIAL_SPEED" value="10.0" modifiedValue="0.65" />
                    <modifier type="DIFFERENTIAL_SPEED" value="25.0" modifiedValue="0.90" />
                    <modifier type="DIFFERENTIAL_SPEED" value="50.0" modifiedValue="1.20" />
                    <modifier type="DIFFERENTIAL_SPEED" value="83.0" modifiedValue="1.20" />

                    <modifier type="MOTOR_LOAD" value="-1.00" modifiedValue="1.0" />
                    <modifier type="MOTOR_LOAD" value="0.00"  modifiedValue="1.0" />
                    <modifier type="MOTOR_LOAD" value="0.20"  modifiedValue="1.0" />
                    <modifier type="MOTOR_LOAD" value="0.30"  modifiedValue="1.2" />
                    <modifier type="MOTOR_LOAD" value="0.45"  modifiedValue="1.0" />
                    <modifier type="MOTOR_LOAD" value="0.80"  modifiedValue="0.75" />
                    <modifier type="MOTOR_LOAD" value="1.00"  modifiedValue="0.65" />
                </volume>
                <pitch>
                    <modifier type="SUSPENSION" value="-0.08" modifiedValue="1.07" />
                    <modifier type="SUSPENSION" value="-0.02" modifiedValue="1.05" />
                    <modifier type="SUSPENSION" value="0.0" modifiedValue="1.0" />
                    <modifier type="SUSPENSION" value="0.02" modifiedValue="1.05" />
                    <modifier type="SUSPENSION" value="0.08" modifiedValue="1.08" />
                </pitch>
            </gearbox>
            <gearbox file="sounds/retarder_loop.gls" linkNodeOffset="-0.6 1.0 -0.5" pitchScale="0.8" volumeScale="0.4" innerRadius="1" outerRadius="50" fadeIn="5" isLocalSound="true">
                <loopSynthesisRpm>
                    <modifier type="DIFFERENTIAL_SPEED" value="0.0" modifiedValue="0.0" />
                    <modifier type="DIFFERENTIAL_SPEED" value="40.0" modifiedValue="0.5" />
                    <modifier type="DIFFERENTIAL_SPEED" value="83.0" modifiedValue="1.0" />
                </loopSynthesisRpm>
                <volume indoor="0.2" outdoor="1.6" >
                    <modifier type="DIFFERENTIAL_SPEED" value="0.0"  modifiedValue="0.00" />
                    <modifier type="DIFFERENTIAL_SPEED" value="10.0" modifiedValue="0.65" />
                    <modifier type="DIFFERENTIAL_SPEED" value="25.0" modifiedValue="0.90" />
                    <modifier type="DIFFERENTIAL_SPEED" value="50.0" modifiedValue="1.20" />
                    <modifier type="DIFFERENTIAL_SPEED" value="83.0" modifiedValue="1.20" />

                    <modifier type="MOTOR_LOAD" value="-1.00" modifiedValue="1.0" />
                    <modifier type="MOTOR_LOAD" value="0.00"  modifiedValue="1.0" />
                    <modifier type="MOTOR_LOAD" value="0.20"  modifiedValue="1.0" />
                    <modifier type="MOTOR_LOAD" value="0.30"  modifiedValue="1.2" />
                    <modifier type="MOTOR_LOAD" value="0.45"  modifiedValue="1.0" />
                    <modifier type="MOTOR_LOAD" value="0.80"  modifiedValue="0.75" />
                    <modifier type="MOTOR_LOAD" value="1.00"  modifiedValue="0.65" />
                </volume>
                <pitch>
                    <modifier type="SUSPENSION" value="-0.08" modifiedValue="1.07" />
                    <modifier type="SUSPENSION" value="-0.02" modifiedValue="1.05" />
                    <modifier type="SUSPENSION" value="0.0" modifiedValue="1.0" />
                    <modifier type="SUSPENSION" value="0.02" modifiedValue="1.05" />
                    <modifier type="SUSPENSION" value="0.08" modifiedValue="1.08" />
                </pitch>
            </gearbox>
            <gearbox file="sounds/cabin_loop.gls" linkNodeOffset="1 3 3.6" volumeScale="1.6" pitchScale="1.3" innerRadius="0.8" supportsReverb="false" fadeIn="0.8" fadeOut="3" isLocalSound="true">
                <volume indoor="1.0" outdoor="0" >
                    <modifier type="DIFFERENTIAL_SPEED" value="0.0"  modifiedValue="0.85" />
                    <modifier type="DIFFERENTIAL_SPEED" value="10.0" modifiedValue="1.00" />
                    <modifier type="DIFFERENTIAL_SPEED" value="25.0" modifiedValue="1.10" />
                    <modifier type="DIFFERENTIAL_SPEED" value="50.0" modifiedValue="1.20" />
                    <modifier type="DIFFERENTIAL_SPEED" value="83.0" modifiedValue="1.30" />
                </volume>
                <pitch>
                    <modifier type="SUSPENSION" value="-0.08" modifiedValue="1.05" />
                    <modifier type="SUSPENSION" value="-0.02" modifiedValue="1.03" />
                    <modifier type="SUSPENSION" value="0.0"   modifiedValue="1.0" />
                    <modifier type="SUSPENSION" value="0.02"  modifiedValue="0.98" />
                    <modifier type="SUSPENSION" value="0.08"  modifiedValue="0.95" />
                </pitch>
                <loopSynthesisRpm>
                    <modifier type="DIFFERENTIAL_SPEED" value="0.0" modifiedValue="0.0" />
                    <modifier type="DIFFERENTIAL_SPEED" value="40.0" modifiedValue="0.5" />
                    <modifier type="DIFFERENTIAL_SPEED" value="83.0" modifiedValue="1.0" />
                </loopSynthesisRpm>
            </gearbox>
            <gearbox file="sounds/cabin_loop.gls" linkNodeOffset="0.2 3 3.6" volumeScale="1.6" pitchScale="1.5" innerRadius="0.8" supportsReverb="false" fadeIn="0.8" fadeOut="3" isLocalSound="true">
                <volume indoor="1.0" outdoor="0" >
                    <modifier type="DIFFERENTIAL_SPEED" value="0.0"  modifiedValue="0.85" />
                    <modifier type="DIFFERENTIAL_SPEED" value="10.0" modifiedValue="1.00" />
                    <modifier type="DIFFERENTIAL_SPEED" value="25.0" modifiedValue="1.10" />
                    <modifier type="DIFFERENTIAL_SPEED" value="50.0" modifiedValue="1.20" />
                    <modifier type="DIFFERENTIAL_SPEED" value="83.0" modifiedValue="1.30" />
                </volume>
                <pitch>
                    <modifier type="SUSPENSION" value="-0.08" modifiedValue="1.05" />
                    <modifier type="SUSPENSION" value="-0.02" modifiedValue="1.03" />
                    <modifier type="SUSPENSION" value="0.0"   modifiedValue="1.0" />
                    <modifier type="SUSPENSION" value="0.02"  modifiedValue="0.98" />
                    <modifier type="SUSPENSION" value="0.08"  modifiedValue="0.95" />
                </pitch>
                <loopSynthesisRpm>
                    <modifier type="DIFFERENTIAL_SPEED" value="0.0" modifiedValue="0.0" />
                    <modifier type="DIFFERENTIAL_SPEED" value="40.0" modifiedValue="0.5" />
                    <modifier type="DIFFERENTIAL_SPEED" value="83.0" modifiedValue="1.0" />
                </loopSynthesisRpm>
            </gearbox>
            <motor template="indoorCabinRumble" pitchScale="0.8" linkNodeOffset="0 3 3.2">
                <volume indoor="8.0" outdoor="3.0" />
            </motor> 
            <compressedAir template="compressedAir" volumeScale="1.9"/>
            <airCompressorRun template="brakeCompressorMedium" linkNodeOffset="0 1.7 1.7" volumeScale="3"/>
            <airCompressorStop template="compressedAir" volumeScale="1.9"/>
            <airRelease template="TRUCK_BRAKE_REGULATOR_VALVE" />
            <reverseDrive template="REVERSE_BEEP_03" volumeScale="1.8"/>
        </sounds>
    </motorized>

    <lights>
        <sounds>
            <toggleLights template="SWITCH_01" linkNodeOffset="0.3 0.9 0.8">
                <volume indoor="1.0" outdoor="0.1" />
            </toggleLights>
            <turnLight template="SWITCH_TURNLIGHT" linkNodeOffset="0.3 0.9 0.8">
                <volume indoor="2.4" outdoor="0.1" />
            </turnLight>
        </sounds>
    </lights>

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

    <drivable>
        <sounds>
            <waterSplash template="WATER_SPLASH_01">
                <volume indoor="1.8" outdoor="2.4" />
            </waterSplash>
        </sounds>
    </drivable>

    <honk>
        <sound template="HONK_VALTRA" volumeScale="4" pitchScale="0.7"/>
    </honk>
</sounds>