<?xml version="1.0" encoding="utf-8" standalone="no" ?>

   <!-- 26.01.2021: Fendt Favorit 500 Sound-Update by PeterAH (Modding-Welt) -->
   <!--             Sitzfederungs-Sound: InVia_TH / Lance -->

<sounds>

    <!-- Start-Sound -->
    <motorStart file="sounds/favorit500_start.wav" linkNode="0>" innerRadius="23.5" outerRadius="110.0" >
        <volume indoor="0.50" outdoor="0.69" />
        <pitch indoor="1.0" outdoor="1.0" />
        <lowpassGain indoor="0.5" outdoor="1.0" />
    </motorStart>

    <!-- Stop-Sound -->
    <motorStop file="$data/sounds/vehicles/engine/fendt_511c/fendt_511c_stop.wav" linkNode="0>" innerRadius="23.5" outerRadius="110.0" >
        <volume indoor="0.50" outdoor="0.69" />
        <pitch indoor="1.06" outdoor="1.06" />
        <lowpassGain indoor="0.5" outdoor="1.0" />
    </motorStop>

    <!-- Idle-Sound -->
    <motor file="$data/sounds/vehicles/engine/fendt_511c/fendt_511c_idle_loop.wav" linkNode="0>" innerRadius="23.5" outerRadius="110.0" >
        <volume indoor="0.50" outdoor="0.69" >
            <modifier type="MOTOR_RPM" value="0.00" modifiedValue="1.00" />
            <modifier type="MOTOR_RPM" value="0.54" modifiedValue="0.00" />
            <modifier type="ACCELERATE" value="0.0" modifiedValue="1.0" />
            <modifier type="ACCELERATE" value="0.6" modifiedValue="1.5" />
            <modifier type="CRUISECONTROL" value="0" modifiedValue="1.0" />
            <modifier type="CRUISECONTROL" value="0.6" modifiedValue="1.5" />
        </volume>
        <pitch indoor="1.06" outdoor="1.06" >
            <modifier type="MOTOR_RPM" value="0.00" modifiedValue="1.00" />
            <modifier type="MOTOR_RPM" value="0.54" modifiedValue="1.80" />
        </pitch>
        <lowpassGain indoor="0.5" outdoor="1.0" />
    </motor>
    
    <!-- Run-Sound -->
    <motor file="$data/sounds/vehicles/engine/fendt_511c/fendt_511c_run_loop.ogg" linkNode="0>" innerRadius="23.5" outerRadius="110.0" >
        <volume indoor="0.28" outdoor="0.33" >
            <modifier type="MOTOR_RPM" value="0.00" modifiedValue="0.00" />
            <modifier type="MOTOR_RPM" value="0.54" modifiedValue="1.00" />
            <modifier type="MOTOR_LOAD" value="0.15" modifiedValue="1.00" />
            <modifier type="MOTOR_LOAD" value="0.55" modifiedValue="0.75" />
            <modifier type="MOTOR_LOAD" value="1.00" modifiedValue="0.25" />
            <modifier type="ACCELERATE" value="0.0" modifiedValue="1.0"/>
            <modifier type="ACCELERATE" value="0.6" modifiedValue="1.25"/>
            <modifier type="CRUISECONTROL" value="0.0" modifiedValue="1.0"/>
            <modifier type="CRUISECONTROL" value="0.6" modifiedValue="1.25"/>

            <modifier type="SUSPENSION" value="-0.01" modifiedValue="1.2" />
            <modifier type="SUSPENSION" value="0" modifiedValue="1.0" />
        </volume>
        <pitch indoor="1.13" outdoor="1.13" >
            <modifier type="MOTOR_RPM" value="0.25" modifiedValue="0.77" />
            <modifier type="MOTOR_RPM" value="1.00" modifiedValue="1.00" />
            <modifier type="SPEED" value="16.2" modifiedValue="0.95" />
            <modifier type="SPEED" value="36.0" modifiedValue="1.06" />
            <modifier type="SPEED" value="43.0" modifiedValue="1.00" />
            
            <modifier type="SUSPENSION" value="-1.0" modifiedValue="0.95" />
            <modifier type="SUSPENSION" value="-0.05" modifiedValue="0.98" />
            <modifier type="SUSPENSION" value="0" modifiedValue="1.0" />
            <modifier type="SUSPENSION" value="0.05" modifiedValue="1.02" />
            <modifier type="SUSPENSION" value="1.0" modifiedValue="1.05" />
        </pitch>
        <lowpassGain indoor="0.5" outdoor="1.0" />
    </motor>

    <!-- Load-Sound aus dem Stand beim Anfahren und bei Vollgas bergab mit ACCELERATE -->
    <motor file="sounds/favorit500_accelerate_loop.ogg" linkNode="0>" innerRadius="23.5" outerRadius="110.0" >
        <volume indoor="0.62" outdoor="0.90" >
            <modifier type="SPEED" value="0.0"  modifiedValue="0.0" />
            <modifier type="SPEED" value="1.0"  modifiedValue="1.0" />
            <modifier type="SPEED" value="12.0" modifiedValue="0.5" />
            <modifier type="SPEED" value="20.0" modifiedValue="0.5" />
            <modifier type="SPEED" value="22.5" modifiedValue="0.0" />
            <modifier type="ACCELERATE" value="0" modifiedValue="0.00" />
            <modifier type="ACCELERATE" value="0.3" modifiedValue="1.00" />
            <modifier type="MOTOR_LOAD" value="0.25" modifiedValue="1.00" />
            <modifier type="MOTOR_LOAD" value="0.70" modifiedValue="0.00" />
        </volume>
        <pitch indoor="1.0" outdoor="1.0" >
            <modifier type="MOTOR_RPM" value="0.25" modifiedValue="0.75" />
            <modifier type="MOTOR_RPM" value="1.00" modifiedValue="1.00" />
            <modifier type="SPEED" value="0" modifiedValue="0.95" />
            <modifier type="SPEED" value="55" modifiedValue="1.00" />
        </pitch>
        <lowpassGain indoor="0.5" outdoor="1.0" />
    </motor>

    <!-- Load-Sound aus dem Stand beim Anfahren und bei Vollgas bergab mit CRUISECONTROL -->
    <motor file="sounds/favorit500_accelerate_loop.ogg" linkNode="0>" innerRadius="23.5" outerRadius="110.0" >
        <volume indoor="0.62" outdoor="0.90" >
            <modifier type="SPEED" value="0.0"  modifiedValue="0.0" />
            <modifier type="SPEED" value="1.0"  modifiedValue="1.0" />
            <modifier type="SPEED" value="12.0" modifiedValue="0.5" />
            <modifier type="SPEED" value="20.0" modifiedValue="0.5" />
            <modifier type="SPEED" value="22.5" modifiedValue="0.0" />
            <modifier type="CRUISECONTROL" value="0" modifiedValue="0.00" />
            <modifier type="CRUISECONTROL" value="1" modifiedValue="1.00" />
            <modifier type="MOTOR_LOAD" value="0.25" modifiedValue="1.00" />
            <modifier type="MOTOR_LOAD" value="0.70" modifiedValue="0.00" />
        </volume>
        <pitch indoor="1.0" outdoor="1.0" >
            <modifier type="MOTOR_RPM" value="0.25" modifiedValue="0.75" />
            <modifier type="MOTOR_RPM" value="1.00" modifiedValue="1.00" />
            <modifier type="SPEED" value="0" modifiedValue="0.95" />
            <modifier type="SPEED" value="55" modifiedValue="1.00" />
        </pitch>
        <lowpassGain indoor="0.5" outdoor="1.0" />
    </motor>

    <!-- Load-Sound 1. Gang -->    
    <motor file="sounds/favorit500_load_loop.wav" linkNode="0>" innerRadius="23.5" outerRadius="110.0" >
        <volume indoor="0.90" outdoor="1.40" >
            <modifier type="MOTOR_LOAD" value="0.0" modifiedValue="0.00" />
            <modifier type="MOTOR_LOAD" value="0.3" modifiedValue="0.60" />
            <modifier type="MOTOR_LOAD" value="0.6" modifiedValue="0.90" />
            <modifier type="MOTOR_LOAD" value="1.0" modifiedValue="1.05" />
            <modifier type="ACCELERATE" value="0" modifiedValue="0.61" />
            <modifier type="ACCELERATE" value="1" modifiedValue="1.00" />
            <modifier type="CRUISECONTROL" value="0" modifiedValue="1.00" />
            <modifier type="CRUISECONTROL" value="1" modifiedValue="1.64" />
            <modifier type="SPEED" value="22.4" modifiedValue="0.9" />
            <modifier type="SPEED" value="24.4" modifiedValue="0.0" />
 
            <modifier type="SUSPENSION" value="-0.01" modifiedValue="1.2" />
            <modifier type="SUSPENSION" value="0" modifiedValue="1.0" />
        </volume>
        <pitch indoor="1.00" outdoor="1.00" >
            <modifier type="MOTOR_RPM" value="0.25" modifiedValue="0.75" />
            <modifier type="MOTOR_RPM" value="1.0" modifiedValue="1.00" />
            <!--modifier type="SPEED" value="16.2" modifiedValue="1.00" />
            <modifier type="SPEED" value="19.0" modifiedValue="1.07" /-->
            
            <modifier type="SUSPENSION" value="-1.0" modifiedValue="0.95" />
            <modifier type="SUSPENSION" value="-0.05" modifiedValue="0.98" />
            <modifier type="SUSPENSION" value="0" modifiedValue="1.0" />
            <modifier type="SUSPENSION" value="0.05" modifiedValue="1.02" />
            <modifier type="SUSPENSION" value="1.0" modifiedValue="1.05" />
        </pitch>
        <lowpassGain indoor="0.5" outdoor="1.0" />
    </motor>

    <!-- Load-Sound 2. Gang -->    
    <motor file="sounds/favorit500_load_loop.wav" linkNode="0>" innerRadius="23.5" outerRadius="110.0" >
        <volume indoor="0.9" outdoor="1.4" >
            <modifier type="MOTOR_LOAD" value="0.1" modifiedValue="0.55" />
            <modifier type="MOTOR_LOAD" value="0.6" modifiedValue="0.90" />
            <modifier type="MOTOR_LOAD" value="1.0" modifiedValue="1.05" />
            <modifier type="ACCELERATE" value="0" modifiedValue="0.5" />
            <modifier type="ACCELERATE" value="1" modifiedValue="1.0" />
            <modifier type="CRUISECONTROL" value="0" modifiedValue="1.0" />
            <modifier type="CRUISECONTROL" value="1" modifiedValue="2.0" />
            <modifier type="SPEED" value="22.4" modifiedValue="0.00" />
            <modifier type="SPEED" value="23.4" modifiedValue="0.52" />            
            <modifier type="SPEED" value="26.5" modifiedValue="0.98" />

            <!--modifier type="SPEED" value="37.0" modifiedValue="1.08" /-->

            <modifier type="SPEED" value="41.0" modifiedValue="1.15" />            
            <modifier type="SPEED" value="43.0" modifiedValue="0.68" />
 
            <modifier type="SUSPENSION" value="-0.01" modifiedValue="1.3" />
            <modifier type="SUSPENSION" value="0" modifiedValue="1.0" />
        </volume>
        <pitch indoor="1.00" outdoor="1.00" >
            <modifier type="SPEED" value="22.4" modifiedValue="0.75" />
            <modifier type="SPEED" value="43.0" modifiedValue="1.02" />
            
            <modifier type="SUSPENSION" value="-1.0" modifiedValue="0.92" />
            <modifier type="SUSPENSION" value="-0.04" modifiedValue="0.97" />
            <modifier type="SUSPENSION" value="0" modifiedValue="1.0" />
            <modifier type="SUSPENSION" value="0.05" modifiedValue="1.02" />
            <modifier type="SUSPENSION" value="1.0" modifiedValue="1.05" />
        </pitch>
        <lowpassGain indoor="0.5" outdoor="1.0" />
    </motor>
	
	<motor file="sounds/seat-arion660.ogg" linkNode="0>" innerRadius="5.0" outerRadius="10.0" >
        <volume indoor="0.7" outdoor="1.0" >
            <!-- Mit ACCELERATE un CRUISECONTROL damit es beim Gas wegnehmen auf der Straße nicht scheppert -->
            <modifier type="ACCELERATE" value="0.0" modifiedValue="0.5" />
            <modifier type="ACCELERATE" value="0.2" modifiedValue="1.0" />
            <modifier type="CRUISECONTROL" value="0" modifiedValue="1.0" />
            <modifier type="CRUISECONTROL" value="1" modifiedValue="2.0" />
            <modifier type="SPEED" value="0.0" modifiedValue="0.00" />
            <modifier type="SPEED" value="3.0" modifiedValue="0.80" />
            <modifier type="SPEED" value="11.0" modifiedValue="0.95" />
            <modifier type="SPEED" value="18.0" modifiedValue="1.05" />
            <modifier type="SPEED" value="28.0" modifiedValue="1.00" />
            
            
            <modifier type="SUSPENSION" value="-1.0" modifiedValue="1.2" />
            <modifier type="SUSPENSION" value="-0.05" modifiedValue="1.2" />
            <modifier type="SUSPENSION" value="-0.01" modifiedValue="0.00" />
            <modifier type="SUSPENSION" value="0.01" modifiedValue="0.00" />
            <modifier type="SUSPENSION" value="0.05" modifiedValue="1.2" />
            <modifier type="SUSPENSION" value="1.0" modifiedValue="1.2" />
      </volume>
      <pitch indoor="1.0" outdoor="1.0" />
      <lowpassGain indoor="1.0" outdoor="1.0" />
   </motor>

    <motor file="sounds/luftgefedert1.ogg" linkNode="0>" innerRadius="5.0" outerRadius="10.0" >
        <volume indoor="0.9" outdoor="1.0" >
            <modifier type="ACCELERATE" value="0.0" modifiedValue="0.5" />
            <modifier type="ACCELERATE" value="0.2" modifiedValue="1.0" />
            <modifier type="CRUISECONTROL" value="0" modifiedValue="1.0" />
            <modifier type="CRUISECONTROL" value="1" modifiedValue="2.0" />
            <modifier type="SPEED" value="0.0" modifiedValue="0.00" />
            <modifier type="SPEED" value="3.0" modifiedValue="0.80" />
            <modifier type="SPEED" value="11.0" modifiedValue="0.95" />
            <modifier type="SPEED" value="18.0" modifiedValue="1.05" />
            <modifier type="SPEED" value="28.0" modifiedValue="1.00" />

            <modifier type="SUSPENSION" value="-1.0" modifiedValue="1.4" />
            <modifier type="SUSPENSION" value="-0.06" modifiedValue="1.1" />
            <modifier type="SUSPENSION" value="-0.01" modifiedValue="0.00" />
            <modifier type="SUSPENSION" value="0.01" modifiedValue="0.00" />
            <modifier type="SUSPENSION" value="0.06" modifiedValue="1.1" />
            <modifier type="SUSPENSION" value="1.0" modifiedValue="1.4" />
      </volume>
      <pitch indoor="1.0" outdoor="1.0" />
      <lowpassGain indoor="1.0" outdoor="1.0" />
   </motor>
    
    <!-- Getriebe-Sound -->
    <gearbox file="sounds/favorit500_transmission_loop.wav" linkNode="0>" innerRadius="10.0" outerRadius="100.0">
        <volume indoor="0.32" outdoor="0.26" >
            <modifier type="SPEED" value="12.0" modifiedValue="0.0" />
            <modifier type="SPEED" value="39.0" modifiedValue="1.0" />
        </volume>
        <pitch indoor="1.03" outdoor="1.03" >
            <modifier type="SPEED" value="12.0" modifiedValue="0.55" />
            <modifier type="SPEED" value="43.0" modifiedValue="1.0" />
        </pitch>
        <lowpassGain indoor="0.9" outdoor="1.0" />
    </gearbox>

    <!-- Getriebe-Sound beim Gas wegnehmen (Retarder-Sound) -->
    <retarder file="$data/sounds/vehicles/retarder/retarder_loop_01.wav" linkNode="0>" innerRadius="12.0" outerRadius="90.0" >
        <volume indoor="0.32" outdoor="0.32" >
            <modifier type="SPEED" value="14.0" modifiedValue="0.0" />
            <modifier type="SPEED" value="44.0" modifiedValue="1.0" />
            <modifier type="ACCELERATE" value="0" modifiedValue="1.0" />
            <modifier type="ACCELERATE" value="0.01" modifiedValue="0.0" />
            <modifier type="CRUISECONTROL" value="0" modifiedValue="1.0" />
            <modifier type="CRUISECONTROL" value="0.01" modifiedValue="0.0" />
        </volume>
        <pitch indoor="0.4" outdoor="0.4" >    
            <modifier type="SPEED" value="0.0" modifiedValue="1.0" />
            <modifier type="SPEED" value="44.0" modifiedValue="3.0" />
        </pitch>
        <lowpassGain indoor="0.65" outdoor="1.0" />
    </retarder>
    
    <airCompressorStart file="$data/sounds/vehicles/compressor/compressor_controller.wav" linkNode="0>" innerRadius="23.5" outerRadius="110.0" >
        <volume indoor="0.3" outdoor="0.4" />
        <pitch indoor="1.0" outdoor="1.0" />
        <lowpassGain indoor="0.75" outdoor="1.0" />
    </airCompressorStart>

    <airCompressorStop file="$data/sounds/vehicles/compressor/compressor_stop.wav" linkNode="0>" innerRadius="23.5" outerRadius="110.0" >
        <volume indoor="0.3" outdoor="0.4" />
        <pitch indoor="1.0" outdoor="1.0" />
        <lowpassGain indoor="0.75" outdoor="1.0" />
    </airCompressorStop>

    <airCompressorRun file="$data/sounds/vehicles/compressor/compressor_idle_loop.wav" linkNode="0>" innerRadius="23.5" outerRadius="110.0" fadeOut="0.1" >
        <volume indoor="0.2" outdoor="0.20" />
        <pitch indoor="1.0" outdoor="1.0" />
        <lowpassGain indoor="0.75" outdoor="1.0" />
    </airCompressorRun>

    <compressedAir file="$data/sounds/vehicles/brake/brake_small.wav" linkNode="0>" innerRadius="23.5" outerRadius="110.0" >
        <volume indoor="0.9" outdoor="1.35">
            <modifier type="BRAKE_TIME" value="0.0" modifiedValue="0.0" />
            <modifier type="BRAKE_TIME" value="1.0" modifiedValue="1.0" />
        </volume>
        <pitch indoor="1.0" outdoor="1.0" />
        <lowpassGain indoor="0.75" outdoor="1.0" />
    </compressedAir>

    <airRelease file="$data/sounds/vehicles/brake/brake_big.wav" linkNode="0>" innerRadius="10.0" outerRadius="100.0" >
        <volume indoor="0.38" outdoor="0.55" />
        <pitch indoor="1.0" outdoor="1.0" />
        <lowpassGain indoor="0.75" outdoor="1.0" />
    </airRelease>

</sounds>
