<?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="engineMedium" file="$data/vehicles/mack/superliner1979/sounds/superliner1979_loop.gls" linkNodeOffset="0.5 1 2.5" pitchScale="1" volumeScale="2.2" >
                <volume outdoor="1.0" indoor="0.65">
                    <modifier type="MOTOR_RPM_REAL" value="850"      modifiedValue="2" />
                    <modifier type="MOTOR_RPM_REAL" value="6000"   modifiedValue="1.0" />
                </volume>
            </motor>
            <motor template="fanOld_01" pitchScale="0.75" linkNodeOffset="0.5 1 3.5">
                <volume indoor="0.7" outdoor="1.7" />
            </motor>
            <motor template="cabinTruck_01" linkNodeOffset="0.7 2 2.5" volumeScale="4"/>
            <motor template="transmissionTruck_01" volumeScale="1.1" pitchScale="1.2" linkNode="wheel03"/>
            <motor template="transmissionTruck_01" volumeScale="1.1" pitchScale="1.0" linkNode="wheel04"/>

            <motor template="indoorCabinRumble" volumeScale="16" pitchScale="1.1" linkNodeOffset="1 2 2.8"/>
            <motor template="indoorCabinRumble" volumeScale="16" pitchScale="0.9" linkNodeOffset="0.2 2 2.8"/>

            <compressedAir template="compressedAir" volumeScale="5"/>
            <airCompressorRun template="brakeCompressorLarge" />
            <airCompressorStop template="compressedAir" />
            <airRelease template="truckBrakeRegulatorValve" />
            <gearLeverStart template="gearDisengaged" volumeScale="0.5" linkNodeOffset="0.5 2 2.5"/>
            <gearLeverEnd template="gearEngaged" volumeScale="0.5" linkNodeOffset="0.5 2 2.5"/>
            <reverseDrive file="sounds/backupAlarm.ogg" volumeScale="5" />
        </sounds>
    </motorized>

    <enterable>
        <sounds>
            <rain template="rainInVehicle" linkNodeOffset="0.7 2 2.5">
                <loopSynthesisRpm>
                    <modifier type="SPEED" value="0.0" modifiedValue="0.0" />
                    <modifier type="SPEED" value="42.0" modifiedValue="1" />
                </loopSynthesisRpm>
                <volume>
                    <modifier type="SPEED" value="0" modifiedValue="1" />
                    <modifier type="SPEED" value="25" modifiedValue="1" />
                    <modifier type="SPEED" value="42" modifiedValue="1.2" />
                </volume>

                <pitch>
                    <modifier type="SPEED" value="0" modifiedValue="1" />
                    <modifier type="SPEED" value="25" modifiedValue="1" />
                    <modifier type="SPEED" value="42" modifiedValue="1.0" />
                </pitch>
            </rain>
            <hail template="hailInVehicle" linkNodeOffset="0.7 2 2.5" volumeScale="1.5">
                <loopSynthesisRpm>
                    <modifier type="SPEED" value="0.0" modifiedValue="0.0" />
                    <modifier type="SPEED" value="60.0" modifiedValue="1" />
                </loopSynthesisRpm>
                <volume>
                    <modifier type="SPEED" value="0" modifiedValue="1" />
                    <modifier type="SPEED" value="25" modifiedValue="1" />
                    <modifier type="SPEED" value="60" modifiedValue="1.2" />
                </volume>

                <pitch>
                    <modifier type="SPEED" value="0" modifiedValue="1" />
                    <modifier type="SPEED" value="25" modifiedValue="1" />
                    <modifier type="SPEED" value="60" modifiedValue="1.0" />
                </pitch>
            </hail>
        </sounds>
    </enterable>

    <lights>
        <sounds>
            <toggleLights template="switch01"  />
            <turnLight template="switchTurnlight" volumeScale="3" />
        </sounds>
    </lights>

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

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

    <honk>
        <sound file="sounds/PowerHorn3d.ogg" loop="true" volumeScale="3" linkNodeOffset="0.5 1 2.5"/>
    </honk>
</sounds>