NEOS: fix

This commit is contained in:
legoboyvdlp R 2019-06-04 17:21:52 +01:00
parent 0069d2d4c1
commit 74aac4d4ee

View file

@ -519,43 +519,369 @@
</filter>
<filter>
<type>gain</type>
<gain>1</gain>
<input>
<expression>
<product>
<table>
<product><property>/velocities/groundspeed-kt</property><value>1</value> </product>
<entry><ind>0.00</ind> <dep>0.07</dep></entry>
<entry><ind>450</ind> <dep>1.00</dep></entry>
</table>
<property>sim/current-view/internal</property>
</product>
</expression>
</input>
<output>
<prop>sim/sound/other/wind</prop>
</output>
<type>gain</type>
<gain>1</gain>
<input>
<expression>
<product>
<table>
<product><property>/velocities/groundspeed-kt</property><value>1</value> </product>
<entry><ind>0.00</ind> <dep>0.0001</dep></entry>
<entry><ind>10</ind> <dep>0.001</dep></entry>
<entry><ind>100</ind> <dep>0.01</dep></entry>
<entry><ind>250</ind> <dep>0.10</dep></entry>
<entry><ind>550</ind> <dep>0.30</dep></entry>
</table>
<property>sim/current-view/internal</property>
</product>
</expression>
</input>
<output>
<prop>sim/sound/other/cockpit-wind</prop>
</output>
</filter>
<filter>
<type>gain</type>
<gain>1</gain>
<input>
<expression>
<product>
<table>
<product><property>/velocities/groundspeed-kt</property><value>1</value> </product>
<entry><ind>0.00</ind> <dep>1.00</dep></entry>
<entry><ind>450</ind> <dep>2.00</dep></entry>
</table>
<property>sim/current-view/internal</property>
</product>
</expression>
</input>
<output>
<prop>sim/sound/other/windp</prop>
</output>
<type>gain</type>
<gain>1</gain>
<input>
<condition>
<or>
<property>sim/sound/wingview-aft</property>
<property>sim/sound/wingview-fwd</property>
</or>
</condition>
<expression>
<product>
<table>
<product><property>/velocities/groundspeed-kt</property><value>1</value> </product>
<entry><ind>0.00</ind> <dep>0.0001</dep></entry>
<entry><ind>10</ind> <dep>0.001</dep></entry>
<entry><ind>100</ind> <dep>0.01</dep></entry>
<entry><ind>250</ind> <dep>0.10</dep></entry>
<entry><ind>550</ind> <dep>0.30</dep></entry>
</table>
</product>
</expression>
</input>
<input>
<condition>
<and>
<not>
<property>sim/sound/wingview-aft</property>
</not>
<not>
<property>sim/sound/wingview-fwd</property>
</not>
</and>
</condition>
<value>0</value>
</input>
<output>
<prop>sim/sound/other/wind</prop>
</output>
</filter>
<filter>
<type>gain</type>
<gain>1</gain>
<input>
<expression>
<product>
<table>
<product><property>/velocities/groundspeed-kt</property><value>1</value> </product>
<entry><ind>0.00</ind> <dep>0.50</dep></entry>
<entry><ind>550</ind> <dep>1.00</dep></entry>
</table>
<property>sim/sound/internal-custom</property>
</product>
</expression>
</input>
<output>
<prop>sim/sound/other/windp</prop>
</output>
</filter>
<filter>
<type>gain</type>
<gain>1</gain>
<input>
<condition>
<property>sim/current-view/internal</property>
</condition>
<expression>
<table>
<product>
<property>/velocities/groundspeed-kt</property>
<value>1</value>
</product>
<entry><ind>010</ind> <dep>0.00</dep></entry>
<entry><ind>110</ind> <dep>0.50</dep></entry>
<entry><ind>140</ind> <dep>1.00</dep></entry>
</table>
</expression>
</input>
<input>
<condition>
<not><property>sim/current-view/internal</property></not>
</condition>
<value>0</value>
</input>
<output>
<prop>sim/sound/other/cockpit-roll</prop>
</output>
</filter>
<filter>
<type>gain</type>
<gain>1</gain>
<input>
<condition>
<or>
<property>sim/sound/wingview-aft</property>
<property>sim/sound/wingview-fwd</property>
</or>
</condition>
<expression>
<table>
<product>
<property>/velocities/groundspeed-kt</property>
<value>1</value>
</product>
<entry><ind>010</ind> <dep>0.00</dep></entry>
<entry><ind>110</ind> <dep>0.50</dep></entry>
<entry><ind>140</ind> <dep>1.00</dep></entry>
</table>
</expression>
</input>
<input>
<condition>
<and>
<not>
<property>sim/sound/wingview-aft</property>
</not>
<not>
<property>sim/sound/wingview-fwd</property>
</not>
</and>
</condition>
<value>0</value>
</input>
<output>
<prop>sim/sound/other/roll</prop>
</output>
</filter>
<filter>
<type>gain</type>
<gain>1</gain>
<input>
<condition>
<or>
<property>sim/sound/wingview-aft</property>
<property>sim/sound/wingview-fwd</property>
</or>
</condition>
<value>1</value>
</input>
<input>
<condition>
<and>
<not>
<property>sim/sound/wingview-aft</property>
</not>
<not>
<property>sim/sound/wingview-fwd</property>
</not>
</and>
</condition>
<value>0</value>
</input>
<output>
<prop>sim/sound/other/flaps</prop>
</output>
</filter>
<filter>
<type>gain</type>
<gain>1</gain>
<input>
<condition>
<property>sim/sound/internal-custom</property>
</condition>
<expression>
<table>
<product>
<property>/velocities/groundspeed-kt</property>
<value>1</value>
</product>
<entry><ind>010</ind> <dep>0.50</dep></entry>
<entry><ind>140</ind> <dep>1.00</dep></entry>
</table>
</expression>
</input>
<input>
<condition>
<not><property>sim/sound/internal-custom</property></not>
</condition>
<value>0</value>
</input>
<output>
<prop>sim/sound/other/rollp</prop>
</output>
</filter>
<filter>
<type>gain</type>
<gain>1</gain>
<input>
<condition>
<property>sim/sound/internal-custom</property>
</condition>
<expression>
<product>
<property>/systems/pneumatic/pack-psi</property>
<value>0.025</value>
</product>
</expression>
</input>
<input>
<condition>
<not><property>sim/sound/internal-custom</property></not>
</condition>
<value>0</value>
</input>
<output>
<prop>sim/sound/other/air-con</prop>
</output>
</filter>
<!-- wing view properties -->
<filter>
<type>gain</type>
<gain>1</gain>
<input>
<condition>
<equals>
<property>/sim/current-view/view-number</property>
<value>13</value>
</equals>
</condition>
<value>1</value>
</input>
<input>
<condition>
<not>
<equals>
<property>/sim/current-view/view-number</property>
<value>13</value>
</equals>
</not>
</condition>
<value>0</value>
</input>
<output>
<prop>sim/sound/wingview-fwd</prop>
</output>
</filter>
<filter>
<type>gain</type>
<gain>1</gain>
<input>
<condition>
<or>
<equals>
<property>/sim/current-view/view-number</property>
<value>14</value>
</equals>
<equals>
<property>/sim/current-view/view-number</property>
<value>15</value>
</equals>
</or>
</condition>
<value>1</value>
</input>
<input>
<condition>
<and>
<not>
<equals>
<property>/sim/current-view/view-number</property>
<value>14</value>
</equals>
</not>
<not>
<equals>
<property>/sim/current-view/view-number</property>
<value>15</value>
</equals>
</not>
</and>
</condition>
<value>0</value>
</input>
<output>
<prop>sim/sound/wingview-aft</prop>
</output>
</filter>
<filter>
<type>gain</type>
<gain>1</gain>
<input>
<condition>
<or>
<equals>
<property>sim/current-view/internal</property>
<value>1</value>
</equals>
<equals>
<property>/sim/current-view/view-number</property>
<value>13</value>
</equals>
<equals>
<property>/sim/current-view/view-number</property>
<value>14</value>
</equals>
<equals>
<property>/sim/current-view/view-number</property>
<value>15</value>
</equals>
</or>
</condition>
<value>1</value>
</input>
<input>
<condition>
<and>
<not><property>sim/current-view/internal</property></not>
<not>
<equals>
<property>/sim/current-view/view-number</property>
<value>105</value>
</equals>
</not>
<not>
<equals>
<property>/sim/current-view/view-number</property>
<value>106</value>
</equals>
</not>
<not>
<equals>
<property>/sim/current-view/view-number</property>
<value>107</value>
</equals>
</not>
</and>
</condition>
<value>0</value>
</input>
<output>
<prop>sim/sound/internal-custom</prop>
</output>
</filter>
</PropertyList>