﻿<?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>
            <motor template="engineMedium" file="$data/vehicles/valtra/tSeries/sounds/tSeries_loop.gls" linkNodeOffset="0 1.6 1.2" pitchScale="1" volumeScale="1.4" >
                <volume outdoor="1.0" indoor="0.65"/>
            </motor>
            <motor file="$data/vehicles/valtra/tSeries/sounds/Fan_loop.gls" linkNodeOffset="0 1.3 1.7" volumeScale="3.2" innerRadius="0.5" outerRadius="50" fadeIn="0.6" fadeOut="1" pitchScale="0.8">
                <lowpassGain indoor="0.45" 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.65" />
                    <modifier type="DIFFERENTIAL_SPEED" value="10.0" modifiedValue="0.80" />
                    <modifier type="DIFFERENTIAL_SPEED" value="25.0" modifiedValue="1.30" />
                    <modifier type="DIFFERENTIAL_SPEED" value="40.0" modifiedValue="1.40" />
                    <modifier type="DIFFERENTIAL_SPEED" value="53.0" modifiedValue="1.60" />

                    <modifier type="MOTOR_LOAD" value="0.00"   modifiedValue="1.00" />
                    <modifier type="MOTOR_LOAD" value="35.00"  modifiedValue="1.00" />
                    <modifier type="MOTOR_LOAD" value="75.00"  modifiedValue="1.30" />
                    <modifier type="MOTOR_LOAD" value="100.00" modifiedValue="1.50" />
                </volume>
            </motor>
            <gearbox file="$data/vehicles/valtra/tSeries/sounds/Transmission_loop.gls" linkNode="wheelBackLeft" pitchScale="1.0" volumeScale="2.7" innerRadius="1" outerRadius="40" fadeIn="0.9" fadeOut="1">
                <loopSynthesisRpm>
                    <modifier type="DIFFERENTIAL_SPEED" value="0.0" modifiedValue="0.0" />
                    <modifier type="DIFFERENTIAL_SPEED" value="26.0" modifiedValue="0.5" />
                    <modifier type="DIFFERENTIAL_SPEED" value="53.0" modifiedValue="1.0" />
                </loopSynthesisRpm>
                <volume indoor="0.15" outdoor="1" >
                    <modifier type="DIFFERENTIAL_SPEED" value="0.0"  modifiedValue="0.10" />
                    <modifier type="DIFFERENTIAL_SPEED" value="5.0"  modifiedValue="0.40" />
                    <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="53.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="$data/vehicles/valtra/tSeries/sounds/Transmission_loop.gls" linkNode="wheelBackRight" pitchScale="0.75" volumeScale="2.7" innerRadius="1" outerRadius="40" fadeIn="0.9" fadeOut="1">
                <loopSynthesisRpm>
                    <modifier type="DIFFERENTIAL_SPEED" value="0.0" modifiedValue="0.0" />
                    <modifier type="DIFFERENTIAL_SPEED" value="26.0" modifiedValue="0.5" />
                    <modifier type="DIFFERENTIAL_SPEED" value="53.0" modifiedValue="1.0" />
                </loopSynthesisRpm>
                <volume indoor="0.15" outdoor="1" >
                    <modifier type="DIFFERENTIAL_SPEED" value="0.0"  modifiedValue="0.10" />
                    <modifier type="DIFFERENTIAL_SPEED" value="5.0"  modifiedValue="0.40" />
                    <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="53.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="$data/vehicles/valtra/tSeries/sounds/Cabin_loop.gls" linkNodeOffset="0.65 2.5 -1" volumeScale="1.6" pitchScale="1.0" innerRadius="0.8" supportsReverb="false" fadeIn="0.8" fadeOut="1">
                <volume indoor="1" outdoor="0" >
                    <modifier type="DIFFERENTIAL_SPEED" value="0.0"  modifiedValue="1.00" />
                    <modifier type="DIFFERENTIAL_SPEED" value="10.0" modifiedValue="1.00" />
                    <modifier type="DIFFERENTIAL_SPEED" value="25.0" modifiedValue="1.30" />
                    <modifier type="DIFFERENTIAL_SPEED" value="53.0" modifiedValue="1.40" />
                </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="26.0" modifiedValue="0.5" />
                    <modifier type="DIFFERENTIAL_SPEED" value="53.0" modifiedValue="1.0" />
                </loopSynthesisRpm>
            </gearbox>
            <gearbox file="$data/vehicles/valtra/tSeries/sounds/Cabin_loop.gls" linkNodeOffset="-0.65 2.5 -1" volumeScale="1.6" pitchScale="0.90" innerRadius="0.8" supportsReverb="false" fadeIn="0.8" fadeOut="1">
                <volume indoor="1" outdoor="0" >
                    <modifier type="DIFFERENTIAL_SPEED" value="0.0"  modifiedValue="1.00" />
                    <modifier type="DIFFERENTIAL_SPEED" value="10.0" modifiedValue="1.00" />
                    <modifier type="DIFFERENTIAL_SPEED" value="25.0" modifiedValue="1.30" />
                    <modifier type="DIFFERENTIAL_SPEED" value="53.0" modifiedValue="1.40" />
                </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="26.0" modifiedValue="0.5" />
                    <modifier type="DIFFERENTIAL_SPEED" value="53.0" modifiedValue="1.0" />
                </loopSynthesisRpm>
            </gearbox>
            <motor template="indoorCabinRumble" volumeScale="20" pitchScale="1.3"/>
            <compressedAir     template="compressedAir" volumeScale="1.9"/>
            <airCompressorRun  template="brakeCompressorMedium" linkNodeOffset="0 1.7 1.7" volumeScale="2.5"/>
            <airCompressorStop template="compressedAir" volumeScale="1.9"/>
        </sounds>
    </motorized>

    <lights>
        <sounds>
            <toggleLights template="SWITCH_01"  />
            <turnLight file="$data/vehicles/valtra/tSeries/sounds/tSeries_indicator.wav">
                <volume indoor="1" outdoor="0.0" />
            </turnLight>
        </sounds>
    </lights>

    <attacherJoints>
        <sounds>
            <attach template="ATTACH_01" />
            <hydraulic template="defaultHydraulicSound" />
        </sounds>
    </attacherJoints>

    <drivable>
        <sounds>
            <waterSplash template="WATER_SPLASH_01" />
        </sounds>
    </drivable>

    <honk>
        <sound file="$data/vehicles/valtra/tSeries/sounds/tSeries_horn.wav" linkNodeOffset="0 1 1.7" innerRadius="1" outerRadius="50">
            <volume indoor="0.4" outdoor="2" />
            <pitch indoor="1.0" outdoor="1.0" />
            <lowpassGain indoor="0.50" outdoor="1.0" />
        </sound>
    </honk>
</sounds>