<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<sounds>
    <motorized>
        <sounds>
            <motorStart template="LARGE_TRACTOR_MOTOR_START" file="sounds/valtra_s_start.ogg" volumeScale="1.8" linkNode="0>"/>
            <motorStop template="LARGE_TRACTOR_MOTOR_STOP" file="sounds/valtra_s_stop.ogg" volumeScale="1.8" linkNode="0>"/>

            <motor template="LARGE_TRACTOR_MOTOR_IDLE" file="sounds/valtra_s_idle_loop.ogg" volumeScale="1.8" linkNode="0>"/>
            <motor template="LARGE_TRACTOR_MOTOR_OFFLOAD_RUN" file="sounds/valtra_s_run_loop.ogg" volumeScale="1.8" linkNode="0>"/>
            <motor template="LARGE_TRACTOR_MOTOR_ONLOAD_RUN" file="sounds/valtra_s_load_loop.ogg" volumeScale="1.8" linkNode="0>"/>
            <motor file="sounds/valtra_s_gearbox.ogg" linkNode="0>" innerRadius="23.5" outerRadius="60.0" >
                <volume indoor="3.21" outdoor="5.33" >
                    <modifier type="SPEED" value="25.0" modifiedValue="0.15" />
                    <modifier type="SPEED" value="34.0" modifiedValue="0.5" />
                    <modifier type="SPEED" value="43.0" modifiedValue="0.75" />
                    <modifier type="SPEED" value="55.0" modifiedValue="1.0" />
                    <modifier type="ACCELERATE" value="0.0" modifiedValue="0.71" />
                    <modifier type="ACCELERATE" value="0.5" modifiedValue="1.00" />
                    <modifier type="CRUISECONTROL" value="0" modifiedValue="1.00" />
                    <modifier type="CRUISECONTROL" value="1" modifiedValue="1.41" />
                </volume>
                <pitch indoor="1.0" outdoor="1.0" >
                    <modifier type="SPEED" value="0.0" modifiedValue="0.0" />
                    <modifier type="SPEED" value="55.0" modifiedValue="0.75" />
                </pitch>
                <lowpassGain indoor="0.5" outdoor="0.5" />
            </motor> 
            <gearbox file="$data/vehicles/valtra/tSeries/sounds/Transmission_loop.gls" linkNode="wheelBackLeft" pitchScale="1.3" volumeScale="3.2" innerRadius="1" outerRadius="40" fadeIn="0.9">
                <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="10.0" modifiedValue="0.45" />
                    <modifier type="DIFFERENTIAL_SPEED" value="25.0" modifiedValue="0.60" />
                    <modifier type="DIFFERENTIAL_SPEED" value="53.0" modifiedValue="0.70" />

                    <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="1.15" volumeScale="3.2" innerRadius="1" outerRadius="40" fadeIn="0.9">
                <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="10.0" modifiedValue="0.45" />
                    <modifier type="DIFFERENTIAL_SPEED" value="25.0" modifiedValue="0.60" />
                    <modifier type="DIFFERENTIAL_SPEED" value="53.0" modifiedValue="0.70" />

                    <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/sounds/vehicles/transmission/transmissionLoop.wav" pitchScale="0.9" volumeScale="0.35" innerRadius="5.0" outerRadius="80.0" >
                <volume indoor="0.65" outdoor="1.5" >
                    <modifier type="DIFFERENTIAL_SPEED" value="4.0" modifiedValue="0.0" />
                    <modifier type="DIFFERENTIAL_SPEED" value="30.0" modifiedValue="1.0" />
                    <modifier type="DIFFERENTIAL_SPEED" value="60.0" modifiedValue="1.0" />
                    <modifier type="DIFFERENTIAL_SPEED" value="120.0" modifiedValue="1.4" />

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

                    <modifier type="DRIVING_DIRECTION" value="-1.0" modifiedValue="1.5" />
                    <modifier type="DRIVING_DIRECTION" value="0.00" modifiedValue="0.0" />
                    <modifier type="DRIVING_DIRECTION" value="1.00" modifiedValue="1.0" />
                </volume>
                <pitch indoor="1.80" outdoor="1.77">
                    <modifier type="DIFFERENTIAL_SPEED" value="0.0" modifiedValue="0.3"/>
                    <modifier type="DIFFERENTIAL_SPEED" value="60.0" modifiedValue="0.8"/>
                    <modifier type="DIFFERENTIAL_SPEED" value="120.0" modifiedValue="1.3"/>

                    <modifier type="SUSPENSION" value="-1.0" modifiedValue="0.9" />
                    <modifier type="SUSPENSION" value="-0.5" modifiedValue="0.95" />
                    <modifier type="SUSPENSION" value="0.0" modifiedValue="1.0" />
                    <modifier type="SUSPENSION" value="0.5" modifiedValue="1.05" />
                    <modifier type="SUSPENSION" value="1.0" modifiedValue="1.1" />

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

                <lowpassGain indoor="0.3" outdoor="1.0" />
                <lowpassCutoffFrequency indoor="700" outdoor="20000.0" />
                <lowpassResonance indoor="1.0" outdoor="1.0"/>
            </gearbox>
            <motor template="indoorCabinRumble" volumeScale="20" pitchScale="1"/>
            <compressedAir     template="compressedAir" volumeScale="1.9"/>
            <airCompressorRun  template="brakeCompressorLarge" 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="1.8" />
            <pitch indoor="1.0" outdoor="1.0" />
            <lowpassGain indoor="0.50" outdoor="1.0" />
        </sound>
    </honk>
</sounds>
