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

 <fx>

 <engine>
      <name>engine #1 starting</name>
      <mode>looped</mode>
      <path>Aircraft/PC-9M/Sounds/startup.wav</path>
      <condition>
        <property>engines/engine[0]/starter</property>
	  </condition>
      <volume>
        <property>engines/engine[0]/n2</property>
        <type>log</type>
        <factor>0.6</factor>
        <offset>0.5</offset>
      </volume>
      <volume>
        <property>sim/sound/cabin</property>
      </volume>
      <pitch>
        <property>engines/engine[0]/n2</property>
        <type>log</type>
        <factor>0.4</factor>
        <offset>0.1</offset>
      </pitch>
    </engine>

    <engine>
      <name>engine #1 starting plus</name>
      <mode>once</mode>
      <path>Sounds/turbine_start.wav</path>
      <condition>
        <property>engines/engine[0]/starter</property>
	  </condition>
      <volume>
		<property>sim/sound/cabin</property>
        <factor>0.4</factor>
      </volume>
    </engine>

    <engine>
      <name>engine #1 running</name>
      <mode>looped</mode>
      <path>Aircraft/PC-9M/Sounds/running.wav</path>
      <condition>
        <or>
          <greater-than>
            <property>engines/engine[0]/n2</property>
            <value type="double">19.9</value>
          </greater-than>
          <and>
	        <not>
              <property>engines/engine[0]/starter</property>
            </not>
            <greater-than>
              <property>engines/engine[0]/n2</property>
              <value type="double">1</value>
            </greater-than>
          </and>
        </or>
      </condition>
      <volume>
        <property>engines/engine[0]/n2</property>
        <type>log</type>
        <factor>0.4</factor>
		<offset>0.2</offset>
      </volume>
      <volume>
        <property>sim/sound/E_volume</property>
      </volume>
      <pitch>
       <property>engines/engine[0]/n2</property>
       <factor>0.004</factor>
       <offset>0.8</offset>
      </pitch>
    </engine>

    <engine>
      <name>engine #1 running plus</name>
      <mode>looped</mode>
     <path>Aircraft/PC-9M/Sounds/running.wav</path>
      <condition>
		<property>engines/engine[0]/running</property>
      </condition>
      <volume>
        <property>engines/engine[0]/n2</property>
        <type>log</type>
        <factor>0.6</factor>
		<offset>0.5</offset>
      </volume>
      <volume>
        <property>sim/sound/cabin</property>
      </volume>
      <pitch>
        <property>engines/engine[0]/n2</property>
		<type>log</type>
        <factor>0.4</factor>
        <offset>0.1</offset>
      </pitch>
    </engine>

  <tire-rumble>
   <name>tire-rumble</name>
   <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.004</factor>
    <max>0.7</max>
   </volume>
  </tire-rumble>


 <gear>
      <name>gear</name>
      <mode>in-transit</mode>
      <path>Sounds/gear.wav</path>
      <property>/gear/gear[0]/position-norm</property>
      <pitch>
        <internal>dt_play</internal>
        <offset>1.0</offset>
        <factor>-0.04</factor>
      </pitch>
    </gear>

  <gear-lock>
   <name>gear-lock</name>
   <path>Sounds/gear-lck.wav</path>
   <condition>
    <equals>
     <property>/gear/gear[0]/position-norm</property>
     <value>0</value>
    </equals>
   </condition>
  </gear-lock>
  
   <flap>
      <name>flaps</name>
      <mode>in-transit</mode>
      <path>Sounds/flaps.wav</path>
      <property>/surface-positions/flap-pos-norm</property>
      <volume>
        <offset>0.25</offset>
      </volume>
    </flap>
    
    <air-brake>
      <name>air-brake</name>
      <mode>in-transit</mode>
      <path>Sounds/flaps.wav</path>
      <property>surface-positions/speedbrake-pos-norm</property>
      <volume>
        <factor>0.25</factor>
      </volume>
    </air-brake>

  <squeal>
   <name>squeal</name>
   <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>/velocities/speed-down-fps</property>
    <factor>0.05</factor>
   </volume>
   <volume>
    <property>/velocities/airspeed-kt</property>
    <factor>0.01</factor>
   </volume>
   <volume>
    <internal>dt_stop</internal>
    <factor>0.05</factor>
    <max>1.0</max>
   </volume>
   <pitch>
    <property>/velocities/airspeed-kt</property>
    <factor>0.0025</factor>
    <offset>1.2</offset>
   </pitch>
  </squeal>

  <wind>
   <name>wind</name>
   <mode>looped</mode>
   <path>Sounds/wind.wav</path>
   <property>/velocities/airspeed-kt</property>
   <volume>
    <property>/position/altitude-ft</property>
    <factor>-0.000015</factor>
    <offset>1.0</offset>
    <min>0.1</min>
    <max>1.0</max>
   </volume>
   <volume>
     <property>/velocities/airspeed-kt</property>
     <factor>0.0015</factor>
     <min>0.03</min>
     <max>0.25</max>
   </volume>
   <pitch>
    <property>/velocities/airspeed-kt</property>
    <factor>0.01</factor>
    <offset>1.25</offset>
   </pitch>
  </wind>

  <buffet>
   <name>alpha-buffet</name>
   <mode>looped</mode>
   <condition>
    <greater-than>
     <property>/orientation/alpha-deg</property>
     <value>10.0</value>
    </greater-than>
   </condition>
   <path>Sounds/rumble.wav</path>
   <volume>
    <property>/orientation/alpha-deg</property>
    <type>abs</type>
    <factor>0.02</factor>
    <max>0.8</max>
   </volume>
   <pitch>
    <property>/orientation/alpha-deg</property>
    <type>abs</type>
    <factor>0.05</factor>
   </pitch>
  </buffet>
  
  <crash>
   <name>crash</name>
   <condition>
    <property>sim/crashed</property>
   </condition>
   <path>Sounds/crash.wav</path>
  </crash>
       <switch>
            <name>switch1</name>
            <mode>once</mode>
            <path>Aircraft/PC-9M/Sounds/click1.wav</path>
            <condition>
                <property>sim/sound/click1</property>
            </condition>
            <volume>
                <factor>0.4</factor>
            </volume>
            <position>
                <x>-24</x>
                <y>0</y>
                <z>0.18</z>
            </position>
            <reference-dist>2</reference-dist>
            <max-dist>200.0</max-dist>
        </switch>
        <switch>
            <name>switch2</name>
            <mode>once</mode>
            <path>Aircraft/PC-9M/Sounds/click2.wav</path>
            <condition>
                <property>sim/sound/click2</property>
            </condition>
            <volume>
                <factor>0.5</factor>
            </volume>
            <position>
                <x>-24</x>
                <y>0</y>
                <z>0.18</z>
            </position>
            <reference-dist>2</reference-dist>
            <max-dist>200.0</max-dist>
        </switch>
        <switch>
            <name>click3</name>
            <mode>once</mode>
            <path>Aircraft/PC-9M/Sounds/click3.wav</path>
            <condition>
                <property>sim/sound/click3</property>
            </condition>
            <volume>
                <factor>1</factor>
            </volume>
            <position>
                <x>-24</x>
                <y>0</y>
                <z>0.18</z>
            </position>
            <reference-dist>2</reference-dist>
            <max-dist>200.0</max-dist>
        </switch>
        <switch>
            <name>click4</name>
            <mode>once</mode>
            <path>Aircraft/PC-9M/Sounds/click4.wav</path>
            <condition>
                <property>sim/sound/click4</property>
            </condition>
            <volume>
                <factor>1</factor>
            </volume>
            <position>
                <x>-24</x>
                <y>0</y>
                <z>0.18</z>
            </position>
            <reference-dist>2</reference-dist>
            <max-dist>200.0</max-dist>
        </switch>
        <switch>
            <name>click5</name>
            <mode>once</mode>
            <path>Aircraft/PC-9M/Sounds/click5.wav</path>
            <condition>
                <property>sim/sound/click5</property>
            </condition>
            <volume>
                <factor>0.7</factor>
            </volume>
            <position>
                <x>-24</x>
                <y>0</y>
                <z>0.18</z>
            </position>
            <reference-dist>2</reference-dist>
			<max-dist>200.0</max-dist>
        </switch>
        <switch>
            <name>click6</name>
            <mode>once</mode>
            <path>Aircraft/PC-9M/Sounds/click6.wav</path>
            <condition>
                <property>sim/sound/click6</property>
            </condition>
            <volume>
                <factor>1</factor>
            </volume>
            <position>
                <x>-24</x>
                <y>0</y>
                <z>0.18</z>
            </position>
            <reference-dist>2</reference-dist>
            <max-dist>200.0</max-dist>
        </switch>
        <switch>
            <name>click7</name>
            <mode>once</mode>
            <path>Aircraft/PC-9M/Sounds/click7.wav</path>
            <condition>
                <property>sim/sound/click7</property>
            </condition>
            <volume>
                <factor>1</factor>
            </volume>
            <position>
                <x>-24</x>
                <y>0</y>
                <z>0.18</z>
            </position>
            <reference-dist>2</reference-dist>
            <max-dist>200.0</max-dist>
        </switch>
        <switch>
            <name>click8</name>
            <mode>once</mode>
            <path>Aircraft/PC-9M/Sounds/click8.wav</path>
            <condition>
                <property>sim/sound/click8</property>
            </condition>
            <volume>
                <factor>1</factor>
            </volume>
            <position>
                <x>-24</x>
                <y>0</y>
                <z>0.18</z>
            </position>
            <reference-dist>2</reference-dist>
            <max-dist>200.0</max-dist>
        </switch>
</fx>

</PropertyList>
