<?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="$data/vehicles/mack/superliner1979/sounds/superliner1979_loop.gls" volumeScale="1.65" linkNodeOffset="0 2 2.0"/>
            <motor template="indoorCabinRumble" />
            <gearbox file="$data/sounds/vehicles/transmission/truckTransmissionLoop.wav" innerRadius="7.0" outerRadius="70.0" linkNodeOffset="0 1.0 -1.10" fadeIn="0.2"> 
                <volume indoor="1.0" outdoor="1.8" >
                    <modifier type="SPEED" value="0.0" modifiedValue="0.0" />
                    <modifier type="SPEED" value="6.0" modifiedValue="0.5" />
                    <modifier type="SPEED" value="20.0" modifiedValue="0.6" />
                    <modifier type="SPEED" value="40.0" modifiedValue="0.8" />

                    <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="0.9" />
                    <modifier type="MOTOR_LOAD" value="0.45" modifiedValue="0.8" />
                    <modifier type="MOTOR_LOAD" value="0.80" modifiedValue="0.75" />
                    <modifier type="MOTOR_LOAD" value="1.00" modifiedValue="0.7" />

                    <modifier type="DRIVING_DIRECTION" value="-1.0" modifiedValue="1.2" />
                    <modifier type="DRIVING_DIRECTION" value="0.00" modifiedValue="0.0" />
                    <modifier type="DRIVING_DIRECTION" value="1.00" modifiedValue="1.0" />
                </volume>
                <pitch indoor="1.00" outdoor="1.00">
                    <modifier type="SPEED" value="0.0" modifiedValue="0.25"/>
                    <modifier type="SPEED" value="20.0" modifiedValue="0.30"/>
                    <modifier type="SPEED" value="40.0" modifiedValue="0.32"/>
                    <modifier type="SPEED" value="60.0" modifiedValue="0.33"/>
                    <modifier type="SPEED" value="80.0" modifiedValue="0.35"/>
                    
                    <modifier type="MOTOR_LOAD" value="-1.00" modifiedValue="0.90" />
                    <modifier type="MOTOR_LOAD" value="0.50" modifiedValue="1.0" />

                    <modifier type="SUSPENSION" value="-1.0" modifiedValue="0.6" />
                    <modifier type="SUSPENSION" value="0.0"  modifiedValue="1.0" />
                    <modifier type="SUSPENSION" value="0.5"  modifiedValue="1.1" />
                    <modifier type="SUSPENSION" value="1.0"  modifiedValue="1.3" />

                    <modifier type="DRIVING_DIRECTION" value="-1.0" modifiedValue="1.50" />
                    <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 file="$data/sounds/vehicles/transmission/transmissionLoop16.wav" pitchScale="1.9" volumeScale="0.40" innerRadius="7.0" outerRadius="70.0" linkNodeOffset="0 1.0 -1.1" fadeIn="0.2"> 
                <volume indoor="0.8" outdoor="1.6" >
                    <modifier type="SPEED" value="0.0" modifiedValue="0.0" />
                    <modifier type="SPEED" value="10.0" modifiedValue="0.2" />
                    <modifier type="SPEED" value="20.0" modifiedValue="0.4" />
                    <modifier type="SPEED" value="40.0" modifiedValue="0.8" />

                    <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="0.90" />
                    <modifier type="MOTOR_LOAD" value="0.45" modifiedValue="0.80" />
                    <modifier type="MOTOR_LOAD" value="0.80" modifiedValue="0.70" />
                    <modifier type="MOTOR_LOAD" value="1.00" modifiedValue="0.6" />

                    <modifier type="DRIVING_DIRECTION" value="-1.0" modifiedValue="1.3" />
                    <modifier type="DRIVING_DIRECTION" value="0.00" modifiedValue="0.0" />
                    <modifier type="DRIVING_DIRECTION" value="1.00" modifiedValue="1.0" />
                </volume>
                <pitch indoor="1.00" outdoor="1.00">
                    
                    <modifier type="SPEED" value="0.0" modifiedValue="0.50"/>
                    <modifier type="SPEED" value="20.0" modifiedValue="0.52"/>
                    <modifier type="SPEED" value="40.0" modifiedValue="0.55"/>
                    <modifier type="SPEED" value="60.0" modifiedValue="0.60"/>
                    <modifier type="SPEED" value="80.0" modifiedValue="0.70"/>
                    
                    <modifier type="MOTOR_LOAD" value="-1.00" modifiedValue="1.05" />
                    <modifier type="MOTOR_LOAD" value="0.50" modifiedValue="1.0" />

                    <modifier type="SUSPENSION" value="-1.0" modifiedValue="0.6" />
                    <modifier type="SUSPENSION" value="0.0"  modifiedValue="1.0" />
                    <modifier type="SUSPENSION" value="0.5"  modifiedValue="1.1" />
                    <modifier type="SUSPENSION" value="1.0"  modifiedValue="1.3" />

                    <modifier type="DRIVING_DIRECTION" value="-1.0" modifiedValue="1.5" />
                    <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"/> 
            </motor>
            <motor file="$data/sounds/vehicles/transmission/hydrostaticTransmission.wav" pitchScale="2.4" innerRadius="7.0" outerRadius="70.0" linkNodeOffset="0 2 0.0" fadeIn="0.2"> 
                <volume indoor="0.35" outdoor="1.10" >
                    <modifier type="SPEED" value="0.0" modifiedValue="0.0" />
                    <modifier type="SPEED" value="10.0" modifiedValue="0.2" />
                    <modifier type="SPEED" value="20.0" modifiedValue="0.6" />
                    <modifier type="SPEED" value="40.0" modifiedValue="0.8" />
                    
                    <modifier type="MOTOR_LOAD" value="-1.00" modifiedValue="1.05" />
                    <modifier type="MOTOR_LOAD" value="0.00" modifiedValue="1.05" />
                    <modifier type="MOTOR_LOAD" value="0.50" modifiedValue="1.00" />
                    <modifier type="MOTOR_LOAD" value="1.00" modifiedValue="0.80" />

                    <modifier type="DRIVING_DIRECTION" value="-1.0" modifiedValue="1.2" />
                    <modifier type="DRIVING_DIRECTION" value="0.00" modifiedValue="0.0" />
                    <modifier type="DRIVING_DIRECTION" value="1.00" modifiedValue="1.0" />
                </volume>
                <pitch indoor="1.00" outdoor="1.00">
                    <modifier type="MOTOR_RPM_REAL" value="850.0" modifiedValue="0.45"/>
                    <modifier type="MOTOR_RPM_REAL" value="1600.0" modifiedValue="0.47"/>
                    <modifier type="MOTOR_RPM_REAL" value="2000.0" modifiedValue="0.50"/>

                    <modifier type="SUSPENSION" value="-1.0" modifiedValue="0.6" />
                    <modifier type="SUSPENSION" value="0.0"  modifiedValue="1.0" />
                    <modifier type="SUSPENSION" value="0.5"  modifiedValue="1.1" />
                    <modifier type="SUSPENSION" value="1.0"  modifiedValue="1.3" />

                    <modifier type="DRIVING_DIRECTION" value="-1.0" modifiedValue="1.55" />
                    <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"/> 
            </motor>
            <motor file="$data/sounds/vehicles/transmission/transmissionLoop06.wav" pitchScale="3.0" innerRadius="8.0" outerRadius="70.0" linkNodeOffset="0 2 2.5" fadeIn="0.2"> 
                <volume indoor="0.90" outdoor="2.50" >
                    <modifier type="SPEED" value="0.0" modifiedValue="0.0" />
                    <modifier type="SPEED" value="10.0" modifiedValue="0.00" />
                    <modifier type="SPEED" value="20.0" modifiedValue="0.05" />
                    <modifier type="SPEED" value="40.0" modifiedValue="0.15" />
                    <modifier type="SPEED" value="50.0" modifiedValue="0.20" />
                    <modifier type="SPEED" value="60.0" modifiedValue="0.30" />
                    <modifier type="SPEED" value="70.0" modifiedValue="0.30" />
                    <modifier type="SPEED" value="80.0" modifiedValue="0.12" />
                    
                    <modifier type="MOTOR_LOAD" value="-1.00" modifiedValue="0.60" />
                    <modifier type="MOTOR_LOAD" value="0.00" modifiedValue="0.70" />
                    <modifier type="MOTOR_LOAD" value="0.50" modifiedValue="0.80" />
                    <modifier type="MOTOR_LOAD" value="1.00" modifiedValue="0.50" />

                    <modifier type="DRIVING_DIRECTION" value="-1.0" modifiedValue="0.9" />
                    <modifier type="DRIVING_DIRECTION" value="0.00" modifiedValue="0.0" />
                    <modifier type="DRIVING_DIRECTION" value="1.00" modifiedValue="1.0" />
                </volume>
                <pitch indoor="1.00" outdoor="1.00">
                    <modifier type="MOTOR_RPM_REAL" value="850.0" modifiedValue="0.50"/>
                    <modifier type="MOTOR_RPM_REAL" value="1600.0" modifiedValue="0.75"/>
                    <modifier type="MOTOR_RPM_REAL" value="2000.0" modifiedValue="1.1"/>
                    
                    <modifier type="MOTOR_LOAD" value="-1.00" modifiedValue="1.10" />
                    <modifier type="MOTOR_LOAD" value="0.50" modifiedValue="1.0" />

                    <modifier type="SUSPENSION" value="-1.0" modifiedValue="0.6" />
                    <modifier type="SUSPENSION" value="0.0"  modifiedValue="1.0" />
                    <modifier type="SUSPENSION" value="0.5"  modifiedValue="1.1" />
                    <modifier type="SUSPENSION" value="1.0"  modifiedValue="1.3" />

                    <modifier type="DRIVING_DIRECTION" value="-1.0" modifiedValue="1.35" />
                    <modifier type="DRIVING_DIRECTION" value="0.00" modifiedValue="1.0" />
                    <modifier type="DRIVING_DIRECTION" value="1.00" modifiedValue="1.0" />
                </pitch>
                <lowpassGain indoor="0.6" outdoor="1.0" />
                <lowpassCutoffFrequency indoor="250" outdoor="20000.0" />
                <lowpassResonance indoor="1.0" outdoor="1.0"/> 
            </motor>
            
            <compressedAir template="compressedAir"/>
            <airCompressorRun template="brakeCompressorLarge" />
            <airCompressorStop template="compressedAir"/>
            <airRelease template="TRUCK_BRAKE_REGULATOR_VALVE" />
            <gearLeverStart template="gearDisengaged"/>
            <gearLeverEnd template="gearEngaged"/>
            <reverseDrive template="REVERSE_BEEP_03" />
        </sounds>
    </motorized>

    <lights>
        <sounds>
            <toggleLights template="SWITCH_01" />
            <turnLight template="SWITCH_TURNLIGHT" />
        </sounds>
    </lights>

    <attacherJoints>
        <sounds>
            <attach template="truckAttach" linkNode="0>" />
            <detach template="truckDetach" linkNode="0>" />
        </sounds>
    </attacherJoints>

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

    <honk>
        <sound template="HONK_TRUCK" volumeScale="1.5"/>
    </honk>
</sounds>
