<?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 template="engineLarge" file="$data/vehicles/volvo/vnx300/sounds/vnx300_loop.gls" volumeScale="2" linkNodeOffset="0 1.8 3.5"/>
            <motor  file="$data/vehicles/volvo/vnx300/sounds/turbo_loop.gls" linkNodeOffset="0.8 3.6 1.1" volumeScale="0.10" innerRadius="10" outerRadius="50" isLocalSound="true">
                <volume indoor="0.2" outdoor="1"/>
                <lowpassGain indoor="0.15" 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="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>
            <motor template="fanModern_01" volumeScale="2" pitchScale="0.8" linkNodeOffset="0 1.5 4"/>
            <motor template="transmissionTruck_01" volumeScale="1.7" pitchScale="0.8" linkNode="0>0|2" isLocalSound="true"/>
            <motor template="transmissionTruck_01" volumeScale="1.7" pitchScale="0.6" linkNode="0>0|3"/>
            <motor template="cabinTruck_01" volumeScale="2" pitchScale="1" linkNodeOffset="0.5 2 2"/>
            <motor template="indoorCabinRumble" volumeScale="8" pitchScale="1.1" linkNodeOffset="0.7 2.6 2.2"/>
            <motor template="indoorCabinRumble" volumeScale="8" pitchScale="0.9" linkNodeOffset="-0.7 2.4 2.2"/>
            <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="truckBrakeRegulatorValve" />
            <reverseDrive template="reverseBeep02" volumeScale="1.8"/>
        </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 file="sounds/Grover.GMYK2.ogg" innerRadius="6">
            <volume indoor="1" outdoor="20"/>
            <pitch outdoor="1"/>
            <lowpassGain indoor="1"/>
        </sound>
    </honk>
</sounds>