<?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="sounds/xerion5000Engine_loop.gls" volumeScale="1.65" linkNodeOffset="0 2 2.6" loopSynthesisRPMRatio="0.80"/>
            <motor template="engineLarge" file="sounds/xerion5000Exhaust_loop.gls" volumeScale="1.85" linkNodeOffset="-1.20 2.2 -0.55" loopSynthesisRPMRatio="0.80" innerRadius="1">
                <volume indoor="1.3" outdoor="1.3" >
                    <modifier type="MOTOR_RPM_REAL" value="800"  modifiedValue="0.8" />
                    <modifier type="MOTOR_RPM_REAL" value="1100" modifiedValue="1.2" />
                    <modifier type="MOTOR_RPM_REAL" value="1500" modifiedValue="1.1" />
                    <modifier type="MOTOR_RPM_REAL" value="1700" modifiedValue="1.2" />
                    <modifier type="MOTOR_RPM_REAL" value="1900" modifiedValue="1.3" />
                </volume>
            </motor>
            <motor template="engineLarge" file="sounds/xerion5000TransmissionSlow_loop.gls" linkNodeOffset="0 1 -1.5" volumeScale="6.0" pitchScale="0.6" innerRadius="1" fadeIn="1" fadeOut="1.5" >
                <volume indoor="0.60" outdoor="1.0" >
                    <modifier type="DIFFERENTIAL_SPEED" value="0.0"  modifiedValue="0" />
                    <modifier type="DIFFERENTIAL_SPEED" value="10.0" modifiedValue="0.8" />
                    <modifier type="DIFFERENTIAL_SPEED" value="20.0" modifiedValue="1.0" />
                    <modifier type="DIFFERENTIAL_SPEED" value="30.0" modifiedValue="1" />
                    <modifier type="DIFFERENTIAL_SPEED" value="40.0" modifiedValue="1" />
                    <modifier type="DIFFERENTIAL_SPEED" value="53.0" modifiedValue="1" />

                    <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.45" modifiedValue="1.0" />
                    <modifier type="MOTOR_LOAD" value="0.80" modifiedValue="0.8" />
                    <modifier type="MOTOR_LOAD" value="1.00" modifiedValue="0.7" />

                    <modifier type="DRIVING_DIRECTION" value="-1.0" modifiedValue="0.6" />
                    <modifier type="DRIVING_DIRECTION" value="0.00" modifiedValue="1.0" />
                    <modifier type="DRIVING_DIRECTION" value="1.00" modifiedValue="1.0" />
                </volume>
                <pitch>
                    <modifier type="SUSPENSION" value="-0.10" modifiedValue="1.1" />
                    <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.10"  modifiedValue="1.1" />

                    <modifier type="DRIVING_DIRECTION" value="-1.0" modifiedValue="1.15" />
                    <modifier type="DRIVING_DIRECTION" value="0.00" modifiedValue="1.0" />
                    <modifier type="DRIVING_DIRECTION" value="1.00" modifiedValue="1.0" />
                </pitch>
            </motor>
            <motor template="engineLarge" file="sounds/xerion5000Transmission5000ms_loop.gls" linkNodeOffset="0 1 -1.5" volumeScale="3.0" pitchScale="1.6" innerRadius="1" fadeIn="1" fadeOut="1.5" >
                <volume indoor="0.04" outdoor="1.0" >
                    <modifier type="DIFFERENTIAL_SPEED" value="0.0"  modifiedValue="0" />
                    <modifier type="DIFFERENTIAL_SPEED" value="10.0" modifiedValue="0.8" />
                    <modifier type="DIFFERENTIAL_SPEED" value="20.0" modifiedValue="1.0" />
                    <modifier type="DIFFERENTIAL_SPEED" value="30.0" modifiedValue="1.0" />
                    <modifier type="DIFFERENTIAL_SPEED" value="40.0" modifiedValue="1.0" />
                    <modifier type="DIFFERENTIAL_SPEED" value="53.0" modifiedValue="1.0" />

                    <modifier type="MOTOR_RPM_REAL" value="800"  modifiedValue="0.4" />
                    <modifier type="MOTOR_RPM_REAL" value="1000" modifiedValue="0.4" />
                    <modifier type="MOTOR_RPM_REAL" value="1200" modifiedValue="0.5" />
                    <modifier type="MOTOR_RPM_REAL" value="1400" modifiedValue="0.6" />
                    <modifier type="MOTOR_RPM_REAL" value="1600" modifiedValue="1.0" />
                    <modifier type="MOTOR_RPM_REAL" value="1900" modifiedValue="1.3" />

                    <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.45" modifiedValue="1.0" />
                    <modifier type="MOTOR_LOAD" value="0.80" modifiedValue="0.8" />
                    <modifier type="MOTOR_LOAD" value="1.00" modifiedValue="0.7" />

                    <modifier type="DRIVING_DIRECTION" value="-1.0" modifiedValue="0.6" />
                    <modifier type="DRIVING_DIRECTION" value="0.00" modifiedValue="1.0" />
                    <modifier type="DRIVING_DIRECTION" value="1.00" modifiedValue="1.0" />
                </volume>
                <pitch>
                    <modifier type="SUSPENSION" value="-0.10" modifiedValue="1.1" />
                    <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.10"  modifiedValue="1.1" />

                    <modifier type="DRIVING_DIRECTION" value="-1.0" modifiedValue="1.15" />
                    <modifier type="DRIVING_DIRECTION" value="0.00" modifiedValue="1.0" />
                    <modifier type="DRIVING_DIRECTION" value="1.00" modifiedValue="1.0" />
                </pitch>
            </motor>
            <motor file="sounds/xerion5000Cabin_loop.gls" linkNodeOffset="0.7 2.0 -0.6" volumeScale="2.0" pitchScale="1.3" innerRadius="0.8" supportsReverb="false">
                <volume indoor="1" outdoor="0" >
                    <modifier type="DIFFERENTIAL_SPEED" value="0.0" modifiedValue="0.0" />
                    <modifier type="DIFFERENTIAL_SPEED" value="5.0" modifiedValue="0.6" />
                    <modifier type="DIFFERENTIAL_SPEED" value="15.0" modifiedValue="0.7" />
                    <modifier type="DIFFERENTIAL_SPEED" value="25.0" modifiedValue="0.8" />
                    <modifier type="DIFFERENTIAL_SPEED" value="35.0" modifiedValue="0.8" />
                    <modifier type="DIFFERENTIAL_SPEED" value="42.0" modifiedValue="1.0" />

                    <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.45" modifiedValue="1.0" />
                    <modifier type="MOTOR_LOAD" value="0.80" modifiedValue="1.0" />
                    <modifier type="MOTOR_LOAD" value="1.00" modifiedValue="0.9" />

                    <modifier type="DRIVING_DIRECTION" value="-1.0" modifiedValue="1.35" />
                    <modifier type="DRIVING_DIRECTION" value="0.00" modifiedValue="0.0" />
                    <modifier type="DRIVING_DIRECTION" value="1.00" modifiedValue="1.0" />
                </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" />

                    <modifier type="DRIVING_DIRECTION" value="-1.0" modifiedValue="1.3" />
                    <modifier type="DRIVING_DIRECTION" value="0.00" modifiedValue="1.0" />
                    <modifier type="DRIVING_DIRECTION" value="1.00" modifiedValue="1.0" />

                    <modifier type="DIFFERENTIAL_SPEED" value="0.0" modifiedValue="0.5" />
                    <modifier type="DIFFERENTIAL_SPEED" value="10.0" modifiedValue="0.6" />
                    <modifier type="DIFFERENTIAL_SPEED" value="15.0" modifiedValue="0.7" />
                    <modifier type="DIFFERENTIAL_SPEED" value="30.0" modifiedValue="0.9" />
                    <modifier type="DIFFERENTIAL_SPEED" value="60.0" modifiedValue="1.0" />
                </pitch>
            </motor>
            <motor file="sounds/xerion5000Cabin_loop.gls" linkNodeOffset="-0.7 2.0 -0.6" volumeScale="3.8" pitchScale="0.8" innerRadius="0.8" supportsReverb="false">
                <volume indoor="1" outdoor="0" >
                    <modifier type="DIFFERENTIAL_SPEED" value="0.0" modifiedValue="0.0" />
                    <modifier type="DIFFERENTIAL_SPEED" value="5.0" modifiedValue="0.6" />
                    <modifier type="DIFFERENTIAL_SPEED" value="15.0" modifiedValue="0.7" />
                    <modifier type="DIFFERENTIAL_SPEED" value="25.0" modifiedValue="0.8" />
                    <modifier type="DIFFERENTIAL_SPEED" value="35.0" modifiedValue="0.8" />
                    <modifier type="DIFFERENTIAL_SPEED" value="42.0" modifiedValue="1.0" />

                    <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.45" modifiedValue="1.0" />
                    <modifier type="MOTOR_LOAD" value="0.80" modifiedValue="1.0" />
                    <modifier type="MOTOR_LOAD" value="1.00" modifiedValue="0.9" />

                    <modifier type="DRIVING_DIRECTION" value="-1.0" modifiedValue="1.35" />
                    <modifier type="DRIVING_DIRECTION" value="0.00" modifiedValue="0.0" />
                    <modifier type="DRIVING_DIRECTION" value="1.00" modifiedValue="1.0" />
                </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" />

                    <modifier type="DRIVING_DIRECTION" value="-1.0" modifiedValue="1.3" />
                    <modifier type="DRIVING_DIRECTION" value="0.00" modifiedValue="1.0" />
                    <modifier type="DRIVING_DIRECTION" value="1.00" modifiedValue="1.0" />

                    <modifier type="DIFFERENTIAL_SPEED" value="0.0" modifiedValue="0.5" />
                    <modifier type="DIFFERENTIAL_SPEED" value="10.0" modifiedValue="0.6" />
                    <modifier type="DIFFERENTIAL_SPEED" value="15.0" modifiedValue="0.7" />
                    <modifier type="DIFFERENTIAL_SPEED" value="30.0" modifiedValue="0.9" />
                    <modifier type="DIFFERENTIAL_SPEED" value="60.0" modifiedValue="1.0" />
                </pitch>
            </motor>
            <motor file="$data/sounds/vehicles/cabin/vehIndoorCabinRumble_01.wav" innerRadius="5.0" outerRadius="15.0" volumeScale="9" isLocalSound="true">
                <volume indoor="3.5" outdoor="0.10" >
                    <modifier type="SUSPENSION" value="-0.15" modifiedValue="0.4" />
                    <modifier type="SUSPENSION" value="-0.07" modifiedValue="0.4" />
                    <modifier type="SUSPENSION" value="-0.02" modifiedValue="0.35" />
                    <modifier type="SUSPENSION" value="-0.01" modifiedValue="0.28" />
                    <modifier type="SUSPENSION" value="0.0"   modifiedValue="0.0" />
                    <modifier type="SUSPENSION" value="0.01"  modifiedValue="0.28" />
                    <modifier type="SUSPENSION" value="0.02"  modifiedValue="0.35" />
                    <modifier type="SUSPENSION" value="0.07"  modifiedValue="0.4" />
                    <modifier type="SUSPENSION" value="0.15"  modifiedValue="0.4" />
                </volume>
                <pitch indoor="1.00" outdoor="0.5" >
                    <modifier type="DIFFERENTIAL_SPEED" value="0.0" modifiedValue="0.6"/>
                    <modifier type="DIFFERENTIAL_SPEED" value="80.0" modifiedValue="0.7"/>
                </pitch>
                <lowpassGain indoor="0.4" outdoor="0.3" />
                <lowpassCutoffFrequency indoor="200.0" outdoor="20000.0" />
                <randomization minVolume="-0.2" maxVolume="0.0" minPitch="-0.1" maxPitch="0.4" isInside="true" isOutside="false"/>
            </motor>
            <compressedAir template="compressedAir"/>
            <airCompressorRun template="brakeCompressorLarge" volumeScale="2" linkNodeOffset="0.5 2 2.0"/>
            <airCompressorStop template="compressedAir"/>
        </sounds>
    </motorized>

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

    <attacherJoints>
        <sounds>
            <attach template="attach01" linkNode="0>" />
            <hydraulic template="hydraulicClose03" linkNode="0>" />
        </sounds>
    </attacherJoints>

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

    <honk>
        <sound file="sounds/xerion_honk.ogg" innerRadius="25.0" outerRadius="150.0" fadeOut="0.03"/> 
        <volume indoor="0.25" outdoor="0.55" /> 
        <pitch indoor="1.0" outdoor="1.0" /> 
        <lowpassGain indoor="0.60" outdoor="1.0" />
    </honk>

    <ai>
        <automaticSteering>
            <sounds>
                <engage template="gpsEngageDefault"/>
                <disengage template="gpsDisengageDefault"/>
                <lineEnd template="gpsLineEndDefault"/>
            </sounds>
        </automaticSteering>
    </ai>
</sounds>
