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

    <!-- 26.08.2020: Krone BiG X 580 Sound-Update by PeterAH (Modding-Welt) -->

<sounds>

    <!-- Start-Sound -->
    <motorStart file="sound/krone_bigx_580_start.wav" linkNode="0>" innerRadius="23.5" outerRadius="110.0" >
        <volume indoor="0.47" outdoor="0.68" />
        <pitch indoor="1.0" outdoor="1.0" />
        <lowpassGain indoor="0.5" outdoor="1.0" />
    </motorStart>

    <!-- Stop-Sound -->
    <motorStop file="sound/krone_bigx_580_stop.wav" linkNode="0>" innerRadius="23.5" outerRadius="110.0" >
        <volume indoor="0.47" outdoor="0.68" />
        <pitch indoor="1.0" outdoor="1.0" />
        <lowpassGain indoor="0.5" outdoor="1.0" />
    </motorStop>

    <!-- Idle-Sound -->
    <motor file="sound/krone_bigx_580_idle_loop.wav" linkNode="0>" innerRadius="23.5" outerRadius="110.0" >
        <volume indoor="0.47" outdoor="0.68" >
            <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.0" outdoor="1.0" >
            <modifier type="MOTOR_RPM" value="0.00" modifiedValue="1.00" />
            <modifier type="MOTOR_RPM" value="0.60" modifiedValue="1.40" />
        </pitch>
        <lowpassGain indoor="0.5" outdoor="1.0" />
    </motor>

    <!-- Run-Sound -->
    <motor file="sound/krone_bigx_580_run_loop.wav" linkNode="0>" innerRadius="23.5" outerRadius="120.0" >
        <volume indoor="0.38" outdoor="0.55" >
            <modifier type="MOTOR_RPM" value="0.00" modifiedValue="0.00" />
            <modifier type="MOTOR_RPM" value="0.50" modifiedValue="1.00" />
            <modifier type="MOTOR_RPM" value="0.80" modifiedValue="1.00" />
            <modifier type="MOTOR_RPM" value="0.96" modifiedValue="0.90" />
            <modifier type="MOTOR_LOAD" value="0.6" modifiedValue="1.0" />
            <modifier type="MOTOR_LOAD" value="1.0" modifiedValue="0.5" />
            <modifier type="COMBINE_LOAD" value="0.00" modifiedValue="1.00" />
            <modifier type="COMBINE_LOAD" value="0.50" modifiedValue="0.80" />
            <modifier type="ACCELERATE" value="0.0" modifiedValue="1.0" />
            <modifier type="ACCELERATE" value="0.6" modifiedValue="1.2" />
            <modifier type="CRUISECONTROL" value="0" modifiedValue="1.0" />
            <modifier type="CRUISECONTROL" value="0.6" modifiedValue="1.2" />
        </volume>
        <pitch indoor="1.1" outdoor="1.1" >
            <modifier type="MOTOR_RPM" value="0.25" modifiedValue="0.75" />
            <modifier type="MOTOR_RPM" value="0.77" modifiedValue="0.92" />
            <modifier type="MOTOR_RPM" value="1.00" modifiedValue="1.00" />
            <modifier type="COMBINE_LOAD" value="0.00" modifiedValue="1.00" />
            <modifier type="COMBINE_LOAD" value="0.50" modifiedValue="0.88" />
            <modifier type="COMBINE_LOAD" value="1.00" modifiedValue="0.82" />
            
            <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="0.9" />
    </motor>

    <!-- Load-Sound -->
    <motor file="sound/krone_bigx_580_load_loop.wav" linkNode="0>" innerRadius="23.5" outerRadius="110.0" >
        <volume indoor="0.45" outdoor="0.65" >
            <modifier type="MOTOR_RPM" value="0.80" modifiedValue="1.00" />
            <modifier type="MOTOR_RPM" value="0.96" modifiedValue="0.90" />
            <modifier type="MOTOR_LOAD" value="0.0" modifiedValue="0.00" />
            <modifier type="MOTOR_LOAD" value="0.5" modifiedValue="0.70" />
            <modifier type="MOTOR_LOAD" value="1.0" modifiedValue="1.00" />
            <modifier type="SPEED" value="39.0" modifiedValue="1.00" />
            <modifier type="SPEED" value="43.0" modifiedValue="0.75" />
            <modifier type="COMBINE_LOAD" value="0.00" modifiedValue="1.00" />
            <modifier type="COMBINE_LOAD" value="0.50" modifiedValue="0.80" />
            <modifier type="ACCELERATE" value="0" modifiedValue="0.7" />
            <modifier type="ACCELERATE" value="1" modifiedValue="1.0" />
            <modifier type="CRUISECONTROL" value="0" modifiedValue="1.0" />
            <modifier type="CRUISECONTROL" value="1" modifiedValue="1.429" />

            <modifier type="SUSPENSION" value="-0.01" modifiedValue="1.2" />
            <modifier type="SUSPENSION" value="0" modifiedValue="1.0" />
        </volume>    
        <pitch indoor="1.1" outdoor="1.1" >
            <modifier type="MOTOR_RPM" value="0.25" modifiedValue="0.75" />
            <modifier type="MOTOR_RPM" value="0.77" modifiedValue="0.92" />
            <modifier type="MOTOR_RPM" value="1.00" modifiedValue="1.00" />
            <!--modifier type="SPEED" value="15.4" modifiedValue="1.00" /-->
            <modifier type="COMBINE_LOAD" value="0.00" modifiedValue="1.00" />
            <modifier type="COMBINE_LOAD" value="0.50" modifiedValue="0.88" />
            <modifier type="COMBINE_LOAD" value="1.00" modifiedValue="0.82" />

            <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="0.90" />
    </motor>

    <!-- Heulender Häcksel-Sound wenn Durchfluss vorhanden (funktioniert nur bei Mais, nicht bei Gras) -->
    <motor file="sound/krone_bigx_580_work_load_loop.wav" linkNode="0>" innerRadius="23.5" outerRadius="150.0" >
        <volume indoor="0.62" outdoor="0.89" >
            <modifier type="COMBINE_LOAD" value="0.00" modifiedValue="0.00" />
            <modifier type="COMBINE_LOAD" value="0.50" modifiedValue="1.00" />
            <modifier type="SUSPENSION" value="-0.001" modifiedValue="1.25" />
            <modifier type="SUSPENSION" value="0" modifiedValue="1.0" />
            <modifier type="SUSPENSION" value="0.001" modifiedValue="0.95" />
        </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.0" />
            <modifier type="COMBINE_LOAD" value="0.00" modifiedValue="1.20" />
            <modifier type="COMBINE_LOAD" value="0.50" modifiedValue="1.03" />
            <modifier type="COMBINE_LOAD" value="1.00" modifiedValue="0.97" />

            <modifier type="SUSPENSION" value="-1.0" modifiedValue="0.90" />
            <modifier type="SUSPENSION" value="-0.05" modifiedValue="0.96" />
            <modifier type="SUSPENSION" value="-0.001" modifiedValue="0.99" />
            <modifier type="SUSPENSION" value="0" modifiedValue="1.0" />
            <modifier type="SUSPENSION" value="0.001" modifiedValue="1.005" />
            <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>
  
    <!-- Hydrostat-Sound -->
    <gearbox file="sound/krone_bigx_580_gearbox_loop.wav" linkNode="0>" innerRadius="23.5" outerRadius="120.0" >
        <volume indoor="0.90" outdoor="1.15" >
            <modifier type="SPEED" value="0.0" modifiedValue="0.0" />
            <modifier type="SPEED" value="13.0" modifiedValue="0.5" />
            <modifier type="SPEED" value="43.0" modifiedValue="1.0" />
            <modifier type="ACCELERATE" value="0.0" modifiedValue="0.4" />
            <modifier type="ACCELERATE" value="0.5" modifiedValue="1.0" />
            <modifier type="CRUISECONTROL" value="0" modifiedValue="1.0" />
            <modifier type="CRUISECONTROL" value="1" modifiedValue="2.5" />
            <modifier type="COMBINE_LOAD" value="0.00" modifiedValue="1.00" />
            <modifier type="COMBINE_LOAD" value="0.50" modifiedValue="0.00" />
        </volume>
        <pitch indoor="1.0" outdoor="1.0" >
            <modifier type="SPEED" value="0.0" modifiedValue="0.55" />
            <modifier type="SPEED" value="43.0" modifiedValue="1.10" />
            <modifier type="COMBINE_LOAD" value="0.00" modifiedValue="1.00" />
            <modifier type="COMBINE_LOAD" value="0.50" modifiedValue="0.80" />
        </pitch>
        <lowpassGain indoor="0.65" outdoor="1.0" />
    </gearbox>

    <airCompressorStart template="BRAKE_COMPRESSOR_START" linkNode="0>"/>
    <airCompressorStop template="BRAKE_COMPRESSOR_STOP" linkNode="0>"/>
    <airCompressorRun template="BRAKE_COMPRESSOR_RUN" linkNode="0>"/>
    <compressedAir template="BRAKE_SMALL" linkNode="0>"/>
    <airRelease template="BRAKE_REGULATOR_VALVE" linkNode="0>"/>

    <reverseDrive template="REVERSE_BEEP_03" linkNode="0>" />
</sounds>