<?xml version="1.0"?>
 
<PropertyList>

    <fx>

<!-- Engine 1 -->

<crank>
            <name>engstart0</name>
            <reference-dist>1.0</reference-dist>
            <max-dist>4.0</max-dist>
            <mode>once</mode>
            <path>Sounds/turbine_start.wav</path>
            <condition>
                <greater-than>
                    <property>controls/engines/engine[0]/condition</property>
                    <value>0.1</value>
                </greater-than>
            </condition>
            <volume>
                <property>sim/sound/cabin</property>
                <factor>0.3</factor>
            </volume>
            <position>
                <x>-1.5</x>
                <y>2.6</y>
                <z>-0.33</z>
            </position>
        </crank>

        <prop>
            <name>prop1</name>
            <reference-dist>150.0</reference-dist>
            <max-dist>500.0</max-dist>
            <mode>looped</mode>
            <path>Sounds/turboprop1.wav</path>
            <property>engines/engine[0]/n2</property>
            <condition>
                <greater-than>
                    <property>controls/engines/engine[0]/condition</property>
                    <value>0.001</value>
                </greater-than>
            </condition>
            <volume>
                <property>engines/engine[0]/n2</property>
                <factor>0.01</factor>
            </volume>
            <volume>
                <property>sim/sound/E_volume</property>
            </volume>
            <pitch>
                <property>engines/engine[0]/n2</property>
                <offset>0.0</offset>
                <factor>0.015</factor>
                <min>0.2</min>
                <max>1.2</max>
            </pitch>
            <position>
                <x>-1.5</x>
                <y>2.6</y>
                <z>-0.33</z>
            </position>
        </prop>

        <turbine0>
            <name>turbine0</name>
            <reference-dist>1.0</reference-dist>
            <max-dist>4.0</max-dist>
            <mode>looped</mode>
            <path>Sounds/turbine_loop.wav</path>
            <property>engines/engine[0]/n2</property>
            <volume>
                <property>sim/sound/cabin</property>
                <factor>0.3</factor>
            </volume>
            <position>
                <x>-1.5</x>
                <y>2.6</y>
                <z>-0.33</z>
            </position>
            <pitch>
                <property>engines/engine[0]/n2</property>
                <offset>1.0</offset>
                <factor>0.001</factor>
            </pitch>
        </turbine0>

        <shutdown>
            <name>engine0 off</name>
            <reference-dist>1.0</reference-dist>
            <max-dist>4.0</max-dist>
            <mode>once</mode>
            <path>Sounds/turbine_shutdown.wav</path>
            <condition>
                <equals>
                    <property>controls/engines/engine[0]/condition</property>
                    <value>0</value>
                </equals>
            </condition>
            <volume>
                <property>sim/sound/cabin</property>
                <factor>0.3</factor>
            </volume>
            <position>
                <x>-1.5</x>
                <y>2.6</y>
                <z>-0.33</z>
            </position>
        </shutdown>

<!-- Engine 2 -->

        <crank>
            <name>engstart1</name>
            <reference-dist>2.0</reference-dist>
            <max-dist>4.0</max-dist>
            <mode>once</mode>
            <path>Sounds/turbine_start.wav</path>
            <condition>
                <greater-than>
                    <property>controls/engines/engine[1]/condition</property>
                    <value>0</value>
                </greater-than>
            </condition>
            <volume>
                <property>sim/sound/cabin</property>
                <factor>0.3</factor>
            </volume>
            <position>
                <x>-1.5</x>
                <y>-2.6</y>
                <z>-0.33</z>
            </position>
        </crank>


        <prop>
            <name>prop2</name>
            <reference-dist>150.0</reference-dist>
            <max-dist>500.0</max-dist>
            <mode>looped</mode>
            <path>Sounds/turboprop1.wav</path>
            <property>engines/engine[1]/n2</property>
            <condition>
                <greater-than>
                    <property>controls/engines/engine[1]/condition</property>
                    <value>0.001</value>
                </greater-than>
            </condition>
            <volume>
                <property>engines/engine[1]/n2</property>
                <factor>0.01</factor>
            </volume>
            <volume>
                <property>sim/sound/E_volume</property>
            </volume>
            <pitch>
                <property>engines/engine[1]/n2</property>
                <offset>0.0</offset>
                <factor>0.015</factor>
                <min>0.2</min>
                <max>1.2</max>
            </pitch>
            <position>
                <x>-1.5</x>
                <y>-2.6</y>
                <z>-0.33</z>
            </position>
        </prop>


 
        <turbine1>
            <name>turbine1</name>
            <reference-dist>1.0</reference-dist>
            <max-dist>4.0</max-dist>
            <mode>looped</mode>
            <path>Sounds/turbine_loop.wav</path>
            <condition>
                <greater-than>
                    <property>engines/engine[1]/n2</property>
                    <value>50.995</value>
                </greater-than>
            </condition>
            <volume>
                <property>sim/sound/cabin</property>
                <factor>0.3</factor>
            </volume>
            <position>
                <x>-1.5</x>
                <y>-2.6</y>
                <z>-0.33</z>
            </position>
            <pitch>
                <property>engines/engine[1]/n2</property>
                <offset>1.0</offset>
                <factor>0.001</factor>
            </pitch>
        </turbine1>

        <shutdown>
            <name>engine1 off</name>
            <reference-dist>1.0</reference-dist>
            <max-dist>4.0</max-dist>
            <mode>once</mode>
            <path>Sounds/turbine_shutdown.wav</path>
            <condition>
                <equals>
                    <property>controls/engines/engine[1]/condition</property>
                    <value>0</value>
                </equals>
            </condition>
            <volume>
                <property>sim/sound/cabin</property>
                <factor>0.3</factor>
            </volume>
            <position>
                <x>-1.5</x>
                <y>-2.6</y>
                <z>-0.33</z>
            </position>
        </shutdown>



        <rumble>
            <name>rumble</name>
            <reference-dist>2.0</reference-dist>
            <max-dist>5.0</max-dist>
            <mode>looped</mode>
            <path>Sounds/rumble.wav</path>
            <condition>
                <or>
                    <property>gear/gear[0]/wow</property>
                    <property>gear/gear[1]/wow</property>
                    <property>gear/gear[2]/wow</property>
                </or>
            </condition>
            <volume>
                <property>velocities/groundspeed-kt</property>
                <factor>0.05</factor>
                <max>0.5</max>
            </volume>
            <position>
                <x>0</x>
                <y>0</y>
                <z>-2</z>
            </position>
        </rumble>

        <gear>
            <name>gear</name>
            <mode>in-transit</mode>
            <path>Sounds/gear.wav</path>
            <property>gear/gear[0]/position-norm</property>
            <reference-dist>2.0</reference-dist>
            <max-dist>5.0</max-dist>
            <pitch>
                <internal>dt_play</internal>
                <offset>0.8</offset>
                <factor>-0.001</factor>
            </pitch>
            <position>
                <x>0</x>
                <y>0</y>
                <z>-2</z>
            </position>
        </gear>

        <gear>
            <name>gear-lock</name>
            <path>Sounds/gear-lck.wav</path>
            <condition>
                <equals>
                    <property>gear/gear[0]/position-norm</property>
                    <value>0</value>
                </equals>
            </condition>
            <reference-dist>2.0</reference-dist>
            <max-dist>5.0</max-dist>
            <position>
                <x>0</x>
                <y>0</y>
                <z>-2</z>
            </position>
        </gear>

        <squeal>
            <name>squeal</name>
            <reference-dist>20.0</reference-dist>
            <max-dist>40.0</max-dist>
            <path>Sounds/squeal.wav</path>
            <condition>
                <or>
                    <property>gear/gear[0]/wow</property>
                    <property>gear/gear[1]/wow</property>
                    <property>gear/gear[2]/wow</property>
                </or>
            </condition>
            <volume>
                <property>sim/sound/E_volume</property>
            </volume>
            <volume>
                <property>velocities/airspeed-kt</property>
                <factor>0.01</factor>
            </volume>
            <pitch>
                <property>velocities/airspeed-kt</property>
                <factor>0.0025</factor>
                <offset>1.0</offset>
            </pitch>
            <position>
                <x>0</x>
                <y>0</y>
                <z>-2</z>
            </position>
        </squeal>
 
        <flap>
            <name>flaps</name>
            <reference-dist>2.0</reference-dist>
            <max-dist>5.0</max-dist>
            <mode>in-transit</mode>
            <path>Sounds/flaps.wav</path>
            <property>surface-positions/flap-pos-norm</property>
            <volume>
                <property>sim/sound/cabin</property>
            </volume>
            <position>
                <x>0</x>
                <y>0</y>
                <z>0</z>
            </position>
        </flap>

        <wind>
            <name>wind</name>
            <reference-dist>0.5</reference-dist>
            <max-dist>1.0</max-dist>
            <mode>looped</mode>
            <path>Sounds/wind.wav</path>
            <condition>
                <and>
                    <equals>
                        <property>sim/current-view/view-number</property>
                        <value>0</value>
                    </equals>
                    <not>
                        <property>sim/crashed</property>
                    </not>
                </and>
            </condition>
            <position>
                <x>-5</x>
                <y>0</y>
                <z>0</z>
            </position>
            <volume>
                <property>position/altitude-ft</property>
                <factor>-0.000015</factor>
                <offset>1.0</offset>
                <min>0</min>
                <max>0.5</max>
            </volume>
            <volume>
                <property>velocities/airspeed-kt</property>
                <factor>0.0015</factor>
                <min>0.0</min>
                <max>0.25</max>
            </volume>
            <pitch>
                <property>velocities/airspeed-kt</property>
                <factor>0.01</factor>
                <offset>1.0</offset>
            </pitch>
        </wind>

    </fx>

</PropertyList>