<?xml version="1.0"?>

<!-- MATS Constellation real sounds from Bernd Drefahl, which seems to be the C-121A / L-749A N494TW.

     Available at http://wwww.flightsim.com, as consound.zip (FS98 sound, 1.5 MB).

     Since this file is not GPL, you must download and install yourself the sounds :
     - Con_1, Con_2, Con_3, Con_4 and Conidle.
     - XCon_1, XCon_2, XCon_3, XCon_4 and XConidle.
     - Conflaps, Conflaph and Conflapt.
     - XContchc, XContchl and XContchr.


     The gear is not heard inside the real MATS Constellation.

     For variety, the sounds depends of manifold pressure (or does it depends of RPM ?).


     Low hardware config : 2 engines per sound; otherwise exception in main loop.

     See also comments in Lockheed1049-sound.xml (level of common sounds is identical).


     References :
     ==========

     - http://www.flightlevel350.net/ :

     N73544 at LSZB, VH-EAG at YPAD, both C121C.

-->
 
<PropertyList>

 <fx>
 
<!-- Engines 1 & 2 -->

  <crank>
   <name>engstart1</name>
   <path>Sounds/engstart.wav</path>
   <condition>
    <or>
     <property>/engines/engine[0]/cranking</property>
     <property>/engines/engine[1]/cranking</property>
    </or>
   </condition>
   <position>
    <x>-2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <offset>0.4</offset>
   </volume>
  </crank>

  <crank>
   <name>crank1</name>
   <mode>looped</mode>
   <path>Sounds/cranking.wav</path>
   <condition>
    <or>
     <and>
      <property>/engines/engine[0]/cranking</property>
      <not>
       <property>/engines/engine[0]/running</property>
      </not>
     </and>
     <and>
      <property>/engines/engine[1]/cranking</property>
      <not>
       <property>/engines/engine[1]/running</property>
      </not>
     </and>
    </or>
   </condition>
   <position>
    <x>-2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <offset>0.5</offset>
   </volume>
  </crank>

  <crank>
   <name>cough1</name>
   <path>Sounds/coughing.wav</path>
   <condition>
    <or>
     <property>/engines/engine[0]/running</property>
     <property>/engines/engine[1]/running</property>
    </or>
   </condition>
   <position>
    <x>-2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <offset>0.3</offset>
   </volume>
  </crank>

<!-- internal -->

  <engine>
   <name>engine low1</name>
   <mode>looped</mode>
   <path>Aircraft/C130/Sounds/Con_1.wav</path>
   <condition>
    <or>
     <and>
      <property>/sim/current-view/internal</property>
      <property>/engines/engine[0]/running</property>
      <greater-than-equals>
       <property>/engines/engine[0]/mp-osi</property>
       <value>6.2</value>
      </greater-than-equals>
      <less-than>
       <property>/engines/engine[0]/mp-osi</property>
       <value>16.2</value>
      </less-than>
     </and>
     <and>
      <property>/sim/current-view/internal</property>
      <property>/engines/engine[1]/running</property>
      <greater-than-equals>
       <property>/engines/engine[1]/mp-osi</property>
       <value>6.2</value>
      </greater-than-equals>
      <less-than>
       <property>/engines/engine[1]/mp-osi</property>
       <value>16.2</value>
      </less-than>
     </and>
    </or>
   </condition>
   <position>
    <x>-2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <property>/engines/engine[0]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
   <volume>
    <property>/engines/engine[1]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
  </engine>

  <engine>
   <name>engine medium1</name>
   <mode>looped</mode>
   <path>Aircraft/C130/Sounds/Con_2.wav</path>
   <condition>
    <or>
     <and>
      <property>/sim/current-view/internal</property>
      <property>/engines/engine[0]/running</property>
      <greater-than-equals>
       <property>/engines/engine[0]/mp-osi</property>
       <value>16.2</value>
      </greater-than-equals>
      <less-than>
       <property>/engines/engine[0]/mp-osi</property>
       <value>26.2</value>
      </less-than>
     </and>
     <and>
      <property>/sim/current-view/internal</property>
      <property>/engines/engine[1]/running</property>
      <greater-than-equals>
       <property>/engines/engine[1]/mp-osi</property>
       <value>16.2</value>
      </greater-than-equals>
      <less-than>
       <property>/engines/engine[1]/mp-osi</property>
       <value>26.2</value>
      </less-than>
     </and>
    </or>
   </condition>
   <position>
    <x>-2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <property>/engines/engine[0]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
   <volume>
    <property>/engines/engine[1]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
<!--
   <pitch>
    <property>/engines/engine[0]/rpm</property>
    <factor>0.0004</factor>
    <min>0.1</min>
    <max>2.0</max>
    <offset>0.3</offset>
   </pitch>
   <pitch>
    <property>/engines/engine[1]/rpm</property>
    <factor>0.0004</factor>
    <min>0.1</min>
    <max>2.0</max>
    <offset>0.3</offset>
   </pitch>
-->
  </engine>

  <engine>
   <name>engine high1</name>
   <mode>looped</mode>
   <path>Aircraft/C130/Sounds/Con_3.wav</path>
   <condition>
    <or>
     <and>
      <property>/sim/current-view/internal</property>
      <property>/engines/engine[0]/running</property>
      <greater-than-equals>
       <property>/engines/engine[0]/mp-osi</property>
       <value>26.2</value>
      </greater-than-equals>
      <less-than>
       <property>/engines/engine[0]/mp-osi</property>
       <value>36.2</value>
      </less-than>
     </and>
     <and>
      <property>/sim/current-view/internal</property>
      <property>/engines/engine[1]/running</property>
      <greater-than-equals>
       <property>/engines/engine[1]/mp-osi</property>
       <value>26.2</value>
      </greater-than-equals>
      <less-than>
       <property>/engines/engine[1]/mp-osi</property>
       <value>36.2</value>
      </less-than>
     </and>
    </or>
   </condition>
   <position>
    <x>-2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <property>/engines/engine[0]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
   <volume>
    <property>/engines/engine[1]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
  </engine>

  <engine>
   <name>engine max1</name>
   <mode>looped</mode>
   <path>Aircraft/C130/Sounds/Con_4.wav</path>
   <condition>
    <or>
     <and>
      <property>/sim/current-view/internal</property>
      <property>/engines/engine[0]/running</property>
      <greater-than-equals>
       <property>/engines/engine[0]/mp-osi</property>
       <value>36.2</value>
      </greater-than-equals>
     </and>
     <and>
      <property>/sim/current-view/internal</property>
      <property>/engines/engine[1]/running</property>
      <greater-than-equals>
       <property>/engines/engine[1]/mp-osi</property>
       <value>36.2</value>
      </greater-than-equals>
     </and>
    </or>
   </condition>
   <position>
    <x>-2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <property>/engines/engine[0]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
   <volume>
    <property>/engines/engine[1]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
  </engine>

  <engine>
   <name>idle1</name>
   <mode>looped</mode>
   <path>Aircraft/C130/Sounds/Conidle.wav</path>
   <condition>
    <or>
     <and>
      <property>/sim/current-view/internal</property>
      <property>/engines/engine[0]/running</property>
      <less-than>
       <property>/engines/engine[0]/mp-osi</property>
       <value>6.2</value>
      </less-than>
     </and>
     <and>
      <property>/sim/current-view/internal</property>
      <property>/engines/engine[1]/running</property>
      <less-than>
       <property>/engines/engine[1]/mp-osi</property>
       <value>6.2</value>
      </less-than>
     </and>
    </or>
   </condition>
   <position>
    <x>-2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <property>/engines/engine[0]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
   <volume>
    <property>/engines/engine[1]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
<!--
   <pitch>
    <property>/engines/engine[0]/rpm</property>
    <factor>0.0004</factor>
    <min>0.1</min>
    <max>2.0</max>
    <offset>0.3</offset>
   </pitch>
   <pitch>
    <property>/engines/engine[1]/rpm</property>
    <factor>0.0004</factor>
    <min>0.1</min>
    <max>2.0</max>
    <offset>0.3</offset>
   </pitch>
-->
  </engine>

<!-- external -->

  <engine>
   <name>external low1</name>
   <mode>looped</mode>
   <path>Aircraft/C130/Sounds/XCon_1.wav</path>
   <condition>
    <or>
     <and>
      <not>
       <property>/sim/current-view/internal</property>
      </not>
      <property>/engines/engine[0]/running</property>
      <greater-than-equals>
       <property>/engines/engine[0]/mp-osi</property>
       <value>6.2</value>
      </greater-than-equals>
      <less-than>
       <property>/engines/engine[0]/mp-osi</property>
       <value>16.2</value>
      </less-than>
     </and>
     <and>
      <not>
       <property>/sim/current-view/internal</property>
      </not>
      <property>/engines/engine[1]/running</property>
      <greater-than-equals>
       <property>/engines/engine[1]/mp-osi</property>
       <value>6.2</value>
      </greater-than-equals>
      <less-than>
       <property>/engines/engine[1]/mp-osi</property>
       <value>16.2</value>
      </less-than>
     </and>
    </or>
   </condition>
   <position>
    <x>-2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <property>/engines/engine[0]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
   <volume>
    <property>/engines/engine[1]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
  </engine>

  <engine>
   <name>external medium1</name>
   <mode>looped</mode>
   <path>Aircraft/C130/Sounds/XCon_2.wav</path>
   <condition>
    <or>
     <and>
      <not>
       <property>/sim/current-view/internal</property>
      </not>
      <property>/engines/engine[0]/running</property>
      <greater-than-equals>
       <property>/engines/engine[0]/mp-osi</property>
       <value>16.2</value>
      </greater-than-equals>
      <less-than>
       <property>/engines/engine[0]/mp-osi</property>
       <value>26.2</value>
      </less-than>
     </and>
     <and>
      <not>
       <property>/sim/current-view/internal</property>
      </not>
      <property>/engines/engine[1]/running</property>
      <greater-than-equals>
       <property>/engines/engine[1]/mp-osi</property>
       <value>16.2</value>
      </greater-than-equals>
      <less-than>
       <property>/engines/engine[1]/mp-osi</property>
       <value>26.2</value>
      </less-than>
     </and>
    </or>
   </condition>
   <position>
    <x>-2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <property>/engines/engine[0]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
   <volume>
    <property>/engines/engine[1]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
  </engine>

  <engine>
   <name>external high1</name>
   <mode>looped</mode>
   <path>Aircraft/C130/Sounds/XCon_3.wav</path>
   <condition>
    <or>
     <and>
      <not>
       <property>/sim/current-view/internal</property>
      </not>
      <property>/engines/engine[0]/running</property>
      <greater-than-equals>
       <property>/engines/engine[0]/mp-osi</property>
       <value>26.2</value>
      </greater-than-equals>
      <less-than>
       <property>/engines/engine[0]/mp-osi</property>
       <value>36.2</value>
      </less-than>
     </and>
     <and>
      <not>
       <property>/sim/current-view/internal</property>
      </not>
      <property>/engines/engine[1]/running</property>
      <greater-than-equals>
       <property>/engines/engine[1]/mp-osi</property>
       <value>26.2</value>
      </greater-than-equals>
      <less-than>
       <property>/engines/engine[1]/mp-osi</property>
       <value>36.2</value>
      </less-than>
     </and>
    </or>
   </condition>
   <position>
    <x>-2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <property>/engines/engine[0]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
   <volume>
    <property>/engines/engine[1]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
  </engine>

  <engine>
   <name>external max1</name>
   <mode>looped</mode>
   <path>Aircraft/C130/Sounds/XCon_4.wav</path>
   <condition>
    <or>
     <and>
      <not>
       <property>/sim/current-view/internal</property>
      </not>
      <property>/engines/engine[0]/running</property>
      <greater-than-equals>
       <property>/engines/engine[0]/mp-osi</property>
       <value>36.2</value>
      </greater-than-equals>
     </and>
     <and>
      <not>
       <property>/sim/current-view/internal</property>
      </not>
      <property>/engines/engine[1]/running</property>
      <greater-than-equals>
       <property>/engines/engine[1]/mp-osi</property>
       <value>36.2</value>
      </greater-than-equals>
     </and>
    </or>
   </condition>
   <position>
    <x>-2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <property>/engines/engine[0]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
   <volume>
    <property>/engines/engine[1]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
  </engine>

  <engine>
   <name>external idle1</name>
   <mode>looped</mode>
   <path>Aircraft/C130/Sounds/XConidle.wav</path>
   <condition>
    <or>
     <and>
      <not>
       <property>/sim/current-view/internal</property>
      </not>
      <property>/engines/engine[0]/running</property>
      <less-than>
       <property>/engines/engine[0]/mp-osi</property>
       <value>6.2</value>
      </less-than>
     </and>
     <and>
      <not>
       <property>/sim/current-view/internal</property>
      </not>
      <property>/engines/engine[1]/running</property>
      <less-than>
       <property>/engines/engine[1]/mp-osi</property>
       <value>6.2</value>
      </less-than>
     </and>
    </or>
   </condition>
   <position>
    <x>-2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <property>/engines/engine[0]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
   <volume>
    <property>/engines/engine[1]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
  </engine>

<!-- Engines 3 & 4 -->

  <crank>
   <name>engstart2</name>
   <path>Sounds/engstart.wav</path>
   <condition>
    <or>
     <property>/engines/engine[2]/cranking</property>
     <property>/engines/engine[3]/cranking</property>
    </or>
   </condition>
   <position>
    <x>2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <offset>0.4</offset>
   </volume>
  </crank>

  <crank>
   <name>crank2</name>
   <mode>looped</mode>
   <path>Sounds/cranking.wav</path>
   <condition>
    <or>
     <and>
      <property>/engines/engine[2]/cranking</property>
      <not>
       <property>/engines/engine[2]/running</property>
      </not>
     </and>
     <and>
      <property>/engines/engine[3]/cranking</property>
      <not>
       <property>/engines/engine[3]/running</property>
      </not>
     </and>
    </or>
   </condition>
   <position>
    <x>2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <offset>0.5</offset>
   </volume>
  </crank>

  <crank>
   <name>cough2</name>
   <path>Sounds/coughing.wav</path>
   <condition>
    <or>
     <property>/engines/engine[2]/running</property>
     <property>/engines/engine[3]/running</property>
    </or>
   </condition>
   <position>
    <x>2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <offset>0.0</offset>
   </volume>
  </crank>

<!-- internal -->

  <engine>
   <name>engine low2</name>
   <mode>looped</mode>
   <path>Aircraft/C130/Sounds/Con_1.wav</path>
   <condition>
    <or>
     <and>
      <property>/sim/current-view/internal</property>
      <property>/engines/engine[2]/running</property>
      <greater-than-equals>
       <property>/engines/engine[2]/mp-osi</property>
       <value>6.2</value>
      </greater-than-equals>
      <less-than>
       <property>/engines/engine[2]/mp-osi</property>
       <value>16.2</value>
      </less-than>
     </and>
     <and>
      <property>/sim/current-view/internal</property>
      <property>/engines/engine[3]/running</property>
      <greater-than-equals>
       <property>/engines/engine[3]/mp-osi</property>
       <value>6.2</value>
      </greater-than-equals>
      <less-than>
       <property>/engines/engine[3]/mp-osi</property>
       <value>16.2</value>
      </less-than>
     </and>
    </or>
   </condition>
   <position>
    <x>2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <property>/engines/engine[2]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
   <volume>
    <property>/engines/engine[3]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
  </engine>

  <engine>
   <name>engine medium2</name>
   <mode>looped</mode>
   <path>Aircraft/C130/Sounds/Con_2.wav</path>
   <condition>
    <or>
     <and>
      <property>/sim/current-view/internal</property>
      <property>/engines/engine[2]/running</property>
      <greater-than-equals>
       <property>/engines/engine[2]/mp-osi</property>
       <value>16.2</value>
      </greater-than-equals>
      <less-than>
       <property>/engines/engine[2]/mp-osi</property>
       <value>26.2</value>
      </less-than>
     </and>
     <and>
      <property>/sim/current-view/internal</property>
      <property>/engines/engine[3]/running</property>
      <greater-than-equals>
       <property>/engines/engine[3]/mp-osi</property>
       <value>16.2</value>
      </greater-than-equals>
      <less-than>
       <property>/engines/engine[3]/mp-osi</property>
       <value>26.2</value>
      </less-than>
     </and>
    </or>
   </condition>
   <position>
    <x>2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <property>/engines/engine[2]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
   <volume>
    <property>/engines/engine[3]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
<!--
   <pitch>
    <property>/engines/engine[2]/rpm</property>
    <factor>0.0004</factor>
    <min>0.1</min>
    <max>2.0</max>
    <offset>0.3</offset>
   </pitch>
   <pitch>
    <property>/engines/engine[3]/rpm</property>
    <factor>0.0004</factor>
    <min>0.1</min>
    <max>2.0</max>
    <offset>0.3</offset>
   </pitch>
-->
  </engine>

  <engine>
   <name>engine high2</name>
   <mode>looped</mode>
   <path>Aircraft/C130/Sounds/Con_3.wav</path>
   <condition>
    <or>
     <and>
      <property>/sim/current-view/internal</property>
      <property>/engines/engine[2]/running</property>
      <greater-than-equals>
       <property>/engines/engine[2]/mp-osi</property>
       <value>26.2</value>
      </greater-than-equals>
      <less-than>
       <property>/engines/engine[2]/mp-osi</property>
       <value>36.2</value>
      </less-than>
     </and>
     <and>
      <property>/sim/current-view/internal</property>
      <property>/engines/engine[3]/running</property>
      <greater-than-equals>
       <property>/engines/engine[3]/mp-osi</property>
       <value>26.2</value>
      </greater-than-equals>
      <less-than>
       <property>/engines/engine[3]/mp-osi</property>
       <value>36.2</value>
      </less-than>
     </and>
    </or>
   </condition>
   <position>
    <x>2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <property>/engines/engine[2]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
   <volume>
    <property>/engines/engine[3]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
  </engine>

  <engine>
   <name>engine max2</name>
   <mode>looped</mode>
   <path>Aircraft/C130/Sounds/Con_4.wav</path>
   <condition>
    <or>
     <and>
      <property>/sim/current-view/internal</property>
      <property>/engines/engine[2]/running</property>
      <greater-than-equals>
       <property>/engines/engine[2]/mp-osi</property>
       <value>36.2</value>
      </greater-than-equals>
     </and>
     <and>
      <property>/sim/current-view/internal</property>
      <property>/engines/engine[3]/running</property>
      <greater-than-equals>
       <property>/engines/engine[3]/mp-osi</property>
       <value>36.2</value>
      </greater-than-equals>
     </and>
    </or>
   </condition>
   <position>
    <x>2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <property>/engines/engine[2]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
   <volume>
    <property>/engines/engine[3]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
  </engine>

  <engine>
   <name>idle2</name>
   <mode>looped</mode>
   <path>Aircraft/C130/Sounds/Conidle.wav</path>
   <condition>
    <or>
     <and>
      <property>/sim/current-view/internal</property>
      <property>/engines/engine[2]/running</property>
      <less-than>
       <property>/engines/engine[2]/mp-osi</property>
       <value>6.2</value>
      </less-than>
     </and>
     <and>
      <property>/sim/current-view/internal</property>
      <property>/engines/engine[3]/running</property>
      <less-than>
       <property>/engines/engine[3]/mp-osi</property>
       <value>6.2</value>
      </less-than>
     </and>
    </or>
   </condition>
   <position>
    <x>2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <property>/engines/engine[2]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
   <volume>
    <property>/engines/engine[3]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
<!--
   <pitch>
    <property>/engines/engine[2]/rpm</property>
    <factor>0.0004</factor>
    <min>0.1</min>
    <max>2.0</max>
    <offset>0.3</offset>
   </pitch>
   <pitch>
    <property>/engines/engine[3]/rpm</property>
    <factor>0.0004</factor>
    <min>0.1</min>
    <max>2.0</max>
    <offset>0.3</offset>
   </pitch>
-->
  </engine>

<!-- external -->

  <engine>
   <name>external low2</name>
   <mode>looped</mode>
   <path>Aircraft/C130/Sounds/XCon_1.wav</path>
   <condition>
    <or>
     <and>
      <not>
       <property>/sim/current-view/internal</property>
      </not>
      <property>/engines/engine[2]/running</property>
      <greater-than-equals>
       <property>/engines/engine[2]/mp-osi</property>
       <value>6.2</value>
      </greater-than-equals>
      <less-than>
       <property>/engines/engine[2]/mp-osi</property>
       <value>16.2</value>
      </less-than>
     </and>
     <and>
      <not>
       <property>/sim/current-view/internal</property>
      </not>
      <property>/engines/engine[3]/running</property>
      <greater-than-equals>
       <property>/engines/engine[3]/mp-osi</property>
       <value>6.2</value>
      </greater-than-equals>
      <less-than>
       <property>/engines/engine[3]/mp-osi</property>
       <value>16.2</value>
      </less-than>
     </and>
    </or>
   </condition>
   <position>
    <x>2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <property>/engines/engine[2]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
   <volume>
    <property>/engines/engine[3]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
  </engine>

  <engine>
   <name>external medium2</name>
   <mode>looped</mode>
   <path>Aircraft/C130/Sounds/XCon_2.wav</path>
   <condition>
    <or>
     <and>
      <not>
       <property>/sim/current-view/internal</property>
      </not>
      <property>/engines/engine[2]/running</property>
      <greater-than-equals>
       <property>/engines/engine[2]/mp-osi</property>
       <value>16.2</value>
      </greater-than-equals>
      <less-than>
       <property>/engines/engine[2]/mp-osi</property>
       <value>26.2</value>
      </less-than>
     </and>
     <and>
      <not>
       <property>/sim/current-view/internal</property>
      </not>
      <property>/engines/engine[3]/running</property>
      <greater-than-equals>
       <property>/engines/engine[3]/mp-osi</property>
       <value>16.2</value>
      </greater-than-equals>
      <less-than>
       <property>/engines/engine[3]/mp-osi</property>
       <value>26.2</value>
      </less-than>
     </and>
    </or>
   </condition>
   <position>
    <x>2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <property>/engines/engine[2]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
   <volume>
    <property>/engines/engine[3]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
  </engine>

  <engine>
   <name>external high2</name>
   <mode>looped</mode>
   <path>Aircraft/C130/Sounds/XCon_3.wav</path>
   <condition>
    <or>
     <and>
      <not>
       <property>/sim/current-view/internal</property>
      </not>
      <property>/engines/engine[2]/running</property>
      <greater-than-equals>
       <property>/engines/engine[2]/mp-osi</property>
       <value>26.2</value>
      </greater-than-equals>
      <less-than>
       <property>/engines/engine[2]/mp-osi</property>
       <value>36.2</value>
      </less-than>
     </and>
     <and>
      <not>
       <property>/sim/current-view/internal</property>
      </not>
      <property>/engines/engine[3]/running</property>
      <greater-than-equals>
       <property>/engines/engine[3]/mp-osi</property>
       <value>26.2</value>
      </greater-than-equals>
      <less-than>
       <property>/engines/engine[3]/mp-osi</property>
       <value>36.2</value>
      </less-than>
     </and>
    </or>
   </condition>
   <position>
    <x>2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <property>/engines/engine[2]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
   <volume>
    <property>/engines/engine[3]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
  </engine>

  <engine>
   <name>external max2</name>
   <mode>looped</mode>
   <path>Aircraft/C130/Sounds/XCon_4.wav</path>
   <condition>
    <or>
     <and>
      <not>
       <property>/sim/current-view/internal</property>
      </not>
      <property>/engines/engine[2]/running</property>
      <greater-than-equals>
       <property>/engines/engine[2]/mp-osi</property>
       <value>36.2</value>
      </greater-than-equals>
     </and>
     <and>
      <not>
       <property>/sim/current-view/internal</property>
      </not>
      <property>/engines/engine[3]/running</property>
      <greater-than-equals>
       <property>/engines/engine[3]/mp-osi</property>
       <value>36.2</value>
      </greater-than-equals>
     </and>
    </or>
   </condition>
   <position>
    <x>2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <property>/engines/engine[2]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
   <volume>
    <property>/engines/engine[3]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
  </engine>

  <engine>
   <name>external idle2</name>
   <mode>looped</mode>
   <path>Aircraft/C130/Sounds/XConidle.wav</path>
   <condition>
    <or>
     <and>
      <not>
       <property>/sim/current-view/internal</property>
      </not>
      <property>/engines/engine[2]/running</property>
      <less-than>
       <property>/engines/engine[2]/mp-osi</property>
       <value>6.2</value>
      </less-than>
     </and>
     <and>
      <not>
       <property>/sim/current-view/internal</property>
      </not>
      <property>/engines/engine[3]/running</property>
      <less-than>
       <property>/engines/engine[3]/mp-osi</property>
       <value>6.2</value>
      </less-than>
     </and>
    </or>
   </condition>
   <position>
    <x>2.0</x>
    <y>0.0</y>
    <z>-2.0</z>
   </position>
   <volume>
    <property>/engines/engine[2]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
   <volume>
    <property>/engines/engine[3]/mp-osi</property>
    <factor>0.009</factor>
    <min>0.05</min>
    <max>0.2</max>
    <offset>0.03</offset>
   </volume>
  </engine>

<!-- touch down -->

  <squeal>
   <name>squeal center</name>
   <path>Aircraft/C130/Sounds/XContchc.wav</path>
   <condition>
    <property>/gear/gear[0]/wow</property>
   </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>
  </squeal>

  <squeal>
   <name>squeal left</name>
   <path>Aircraft/C130/Sounds/XContchl.wav</path>
   <condition>
    <property>/gear/gear[1]/wow</property>
   </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>
  </squeal>

  <squeal>
   <name>squeal right</name>
   <path>Aircraft/C130/Sounds/XContchr.wav</path>
   <condition>
    <property>/gear/gear[2]/wow</property>
   </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>
  </squeal>
 
<!-- flaps -->

  <flap>
   <name>flaps up</name>
   <path>Aircraft/C130/Sounds/Conflaph.wav</path>
   <condition>
    <equals>
     <property>/surface-positions/flap-pos-norm</property>
     <value>0.0</value>
    </equals>
   </condition>
   <volume>
    <factor>0.2</factor>
   </volume>
   <reference-dist>10.0</reference-dist>
   <max-dist>20.0</max-dist>
  </flap>
 
  <flap>
   <name>flaps down</name>
   <path>Aircraft/C130/Sounds/Conflapt.wav</path>
   <condition>
    <equals>
     <property>/surface-positions/flap-pos-norm</property>
     <value>1.0</value>
    </equals>
   </condition>
   <volume>
    <factor>0.2</factor>
   </volume>
   <reference-dist>10.0</reference-dist>
   <max-dist>20.0</max-dist>
  </flap>
 
  <flap>
   <name>flaps</name>
   <mode>in-transit</mode>
   <path>Aircraft/C130/Sounds/Conflaps.wav</path>
   <property>/surface-positions/flap-pos-norm</property>
   <volume>
    <factor>0.2</factor>
   </volume>
   <reference-dist>10.0</reference-dist>
   <max-dist>20.0</max-dist>
  </flap>

  <wind>
   <name>wind</name>
   <mode>looped</mode>
   <path>Aircraft/C130/Sounds/WindConn.wav</path>
   <condition>
    <property>/sim/current-view/internal</property>
   </condition>
   <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.09</max>
   </volume>
  </wind>

<!-- common sounds -->

  <rumble>
   <name>rumble</name>
   <mode>looped</mode>
   <path>Sounds/rumble.wav</path>
   <condition>
    <and>
     <less-than> <!-- BUG : wow not reset, when starting in flight -->
      <property>/position/altitude-agl-ft</property>
      <value>50</value>
     </less-than>
     <greater-than> <!-- only taxi -->
      <property>/velocities/airspeed-kt</property>
      <value>20</value>     
     </greater-than>
     <or>
      <property>/gear/gear[0]/wow</property>
      <property>/gear/gear[1]/wow</property>
      <property>/gear/gear[2]/wow</property>
     </or>
    </and>
   </condition>
   <volume>
    <property>/velocities/airspeed-kt</property>
    <type>log</type>
    <factor>0.5</factor>
   </volume>
  </rumble>

  <gear>
   <name>gear</name>
   <mode>in-transit</mode>
   <path>Aircraft/C130/Sounds/gear_move.wav</path>
   <property>/gear/gear[0]/position-norm</property>
   <condition>
    <and>
     <not>
      <property>/sim/current-view/internal</property>
     </not>
     <greater-than>
      <property>/gear/gear[0]/position-norm</property>
      <value>0.0</value>
     </greater-than>
     <less-than>
      <property>/gear/gear[0]/position-norm</property>
      <value>1.0</value>
     </less-than>
    </and>
   </condition>
   <pitch>
    <internal>dt_play</internal>
    <offset>1.0</offset>
    <factor>-0.001</factor>
   </pitch>
   <volume>
    <factor>1.0</factor>
   </volume>
  </gear>
 
  <stall>
   <name>stall</name>
   <path>Aircraft/C130/Sounds/stall_horn.wav</path>
   <property>/sim/alarms/stall-warning</property>
   <volume>
    <property>/velocities/airspeed-kt</property>
    <min>30.0</min>
   </volume>
   <reference-dist>10.0</reference-dist>
   <max-dist>20.0</max-dist>
  </stall>

  <door>
   <name>Crew door</name>
   <path>Sounds/door_close.wav</path>
   <condition>
    <equals>
     <property>/instrumentation/doors/crew/position-norm</property>
     <value>0.0</value>
    </equals>
   </condition>
   <volume>
    <factor>0.2</factor>
   </volume>
  </door>

  <door>
   <name>Passenger door</name>
   <path>Sounds/door_close.wav</path>
   <condition>
    <equals>
     <property>/instrumentation/doors/passenger/position-norm</property>
     <value>0.0</value>
    </equals>
   </condition>
   <volume>
    <factor>0.2</factor>
   </volume>
  </door>

<!-- cannot disable click in external views, otherwise heard when ctrl-V -->

  <click>
   <name>click on</name>
   <path>Aircraft/C130/Sounds/click.wav</path>
   <condition>
    <property>/instrumentation/generic/click</property>
   </condition>
   <volume>
    <max>0.2</max>
   </volume>
  </click>

  <click>
   <name>click off</name>
   <path>Aircraft/C130/Sounds/click.wav</path>
   <condition>
    <not>
     <property>/instrumentation/generic/click</property>
    </not>
   </condition>
   <volume>
    <max>0.2</max>
   </volume>
  </click>

</fx>
 
</PropertyList>
