Add combustion sound, make buzz more prominent, add flap click sound

This commit is contained in:
legoboyvdlp R 2019-05-08 11:00:14 +01:00
parent 550219c95c
commit 3cfa545688
9 changed files with 368 additions and 8 deletions

View file

@ -168,6 +168,7 @@
<knb1 type="bool">0</knb1>
<oh-btn type="bool">0</oh-btn>
<switch1 type="bool">0</switch1>
<flaps-click type="bool">0</flaps-click>
</sounde>
<instrumentation>

View file

@ -136,6 +136,18 @@ setlistener("/controls/lighting/no-smoking-sign", func {
}, 1);
}, 0, 0);
setlistener("/controls/flight/flap-lever", func {
props.globals.getNode("/sim/sounde/flaps-click").setBoolValue(1);
}, 0, 0);
setlistener("/sim/sounde/flaps-click", func {
if (!getprop("/sim/sounde/flaps-click")) {
return;
}
settimer(func {
props.globals.getNode("/sim/sounde/flaps-click").setBoolValue(0);
}, 0.4);
});
#########
# Doors #
#########

View file

@ -1345,6 +1345,18 @@
</volume>
</switch>
<switch>
<name>Flaps Lever</name>
<mode>once</mode>
<path>Aircraft/IDG-A32X/Sounds/SASA/A320_flaplever.wav</path>
<condition>
<property>/sim/sounde/flaps-click</property>
</condition>
<volume>
<factor>0.75</factor>
</volume>
</switch>
<cvrtone>
<name>CVRtone</name>
<mode>once</mode>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -746,7 +746,7 @@
</orientation>
</engine>
<!-- internal starter -->
<!-- internal hum -->
<engine>
<name>a320_internal_hum_left</name>
<mode>looped</mode>
@ -790,5 +790,95 @@
<z>00</z>
</position>
</engine>
<!-- internal comb spool -->
<engine>
<name>a320_internal_comb_left</name>
<mode>looped</mode>
<path>Aircraft/IDG-A32X/Sounds/SASA/CFM56/cfm_comb.wav</path>
<condition>
<property>sim/current-view/internal</property>
</condition>
<volume>
<property>a320/sound/comb1-left-v</property>
<offset>0</offset>
</volume>
<pitch>
<property>a320/sound/comb1-left-p</property>
<offset>0</offset>
</pitch>
<position>
<x>00</x>
<y>20</y>
<z>00</z>
</position>
</engine>
<engine>
<name>a320_internal_comb_right</name>
<mode>looped</mode>
<path>Aircraft/IDG-A32X/Sounds/SASA/CFM56/cfm_comb.wav</path>
<condition>
<property>sim/current-view/internal</property>
</condition>
<volume>
<property>a320/sound/comb1-right-v</property>
<offset>0</offset>
</volume>
<pitch>
<property>a320/sound/comb1-right-p</property>
<offset>0</offset>
</pitch>
<position>
<x>00</x>
<y>-20</y>
<z>00</z>
</position>
</engine>
<!-- internal high comb -->
<engine>
<name>a320_internal_comb2_left</name>
<mode>looped</mode>
<path>Aircraft/IDG-A32X/Sounds/SASA/CFM56/340_Comb_2.wav</path>
<condition>
<property>sim/current-view/internal</property>
</condition>
<volume>
<property>a320/sound/comb2-left-v</property>
<offset>0</offset>
</volume>
<pitch>
<property>a320/sound/comb2-left-p</property>
<offset>0</offset>
</pitch>
<position>
<x>00</x>
<y>20</y>
<z>00</z>
</position>
</engine>
<engine>
<name>a320_internal_comb2_right</name>
<mode>looped</mode>
<path>Aircraft/IDG-A32X/Sounds/SASA/CFM56/340_Comb_2.wav</path>
<condition>
<property>sim/current-view/internal</property>
</condition>
<volume>
<property>a320/sound/comb2-right-v</property>
<offset>0</offset>
</volume>
<pitch>
<property>a320/sound/comb2-right-p</property>
<offset>0</offset>
</pitch>
<position>
<x>00</x>
<y>-20</y>
<z>00</z>
</position>
</engine>
</fx>
</PropertyList>

View file

@ -388,7 +388,7 @@
<table>
<product><property>/engines/engine[0]/n1-actual</property><value>0.01</value></product>
<entry><ind>0.00</ind> <dep>0.00</dep></entry>
<entry><ind>0.60</ind> <dep>0.05 </dep></entry>
<entry><ind>0.50</ind> <dep>0.05 </dep></entry>
<entry><ind>0.70</ind> <dep>0.15</dep></entry>
<entry><ind>0.90</ind> <dep>0.40</dep></entry>
</table>
@ -448,7 +448,7 @@
<table>
<product><property>/engines/engine[1]/n1-actual</property><value>0.01</value></product>
<entry><ind>0.00</ind> <dep>0.00</dep></entry>
<entry><ind>0.60</ind> <dep>0.05 </dep></entry>
<entry><ind>0.50</ind> <dep>0.05 </dep></entry>
<entry><ind>0.70</ind> <dep>0.15</dep></entry>
<entry><ind>0.90</ind> <dep>0.40</dep></entry>
</table>
@ -615,6 +615,7 @@
</output>
</filter>
<!-- idle jet whine -->
<filter>
<type>gain</type>
<gain>1</gain>
@ -737,6 +738,7 @@
</output>
</filter>
<!-- external idle -->
<filter>
<type>gain</type>
<gain>1</gain>
@ -870,8 +872,8 @@
<product><property>/engines/engine[0]/n1-actual</property><value>0.01</value></product>
<entry><ind>0.32</ind> <dep>0.00</dep></entry>
<entry><ind>0.65</ind> <dep>0.30</dep></entry>
<entry><ind>0.90</ind> <dep>0.25</dep></entry>
<entry><ind>0.99</ind> <dep>0.08</dep></entry>
<entry><ind>0.85</ind> <dep>0.15</dep></entry>
<entry><ind>0.99</ind> <dep>0.02</dep></entry>
</table>
</product>
</expression>
@ -900,7 +902,7 @@
<product><property>/engines/engine[1]/n1-actual</property><value>0.01</value></product>
<entry><ind>0.32</ind> <dep>0.00</dep></entry>
<entry><ind>0.65</ind> <dep>0.30</dep></entry>
<entry><ind>0.90</ind> <dep>0.25</dep></entry>
<entry><ind>0.85</ind> <dep>0.15</dep></entry>
<entry><ind>0.99</ind> <dep>0.08</dep></entry>
</table>
</product>
@ -973,6 +975,249 @@
</output>
</filter>
<!-- spool comb -->
<filter>
<type>gain</type>
<gain>1</gain>
<input>
<condition>
<property>sim/current-view/internal</property>
</condition>
<expression>
<product>
<table>
<product><property>/engines/engine[0]/n1-actual</property><value>0.01</value></product>
<entry><ind>0.32</ind> <dep>0.00</dep></entry>
<entry><ind>0.62</ind> <dep>0.30</dep></entry>
<entry><ind>0.74</ind> <dep>0.25</dep></entry>
<entry><ind>0.78</ind> <dep>0.10</dep></entry>
<entry><ind>0.94</ind> <dep>0.02</dep></entry>
</table>
</product>
</expression>
</input>
<input>
<condition>
<not><property>sim/current-view/internal</property></not>
</condition>
<expression><value>0</value></expression>
</input>
<output>
<prop>a320/sound/comb1-left-v</prop>
</output>
</filter>
<filter>
<type>gain</type>
<gain>1</gain>
<input>
<condition>
<property>sim/current-view/internal</property>
</condition>
<expression>
<product>
<table>
<product><property>/engines/engine[1]/n1-actual</property><value>0.01</value></product>
<entry><ind>0.32</ind> <dep>0.00</dep></entry>
<entry><ind>0.62</ind> <dep>0.30</dep></entry>
<entry><ind>0.74</ind> <dep>0.25</dep></entry>
<entry><ind>0.78</ind> <dep>0.10</dep></entry>
<entry><ind>0.94</ind> <dep>0.02</dep></entry>
</table>
</product>
</expression>
</input>
<input>
<condition>
<not><property>sim/current-view/internal</property></not>
</condition>
<expression><value>0</value></expression>
</input>
<output>
<prop>a320/sound/comb1-right-v</prop>
</output>
</filter>
<filter>
<type>gain</type>
<gain>1</gain>
<input>
<condition>
<property>sim/current-view/internal</property>
</condition>
<expression>
<product>
<table>
<product><property>/engines/engine[0]/n1-actual</property><value>0.01</value></product>
<entry><ind>0.19</ind> <dep>0.70</dep></entry>
<entry><ind>0.99</ind> <dep>1.80</dep></entry>
</table>
</product>
</expression>
</input>
<input>
<condition>
<not><property>sim/current-view/internal</property></not>
</condition>
<expression><value>0</value></expression>
</input>
<output>
<prop>a320/sound/comb1-left-p</prop>
</output>
</filter>
<filter>
<type>gain</type>
<gain>1</gain>
<input>
<condition>
<property>sim/current-view/internal</property>
</condition>
<expression>
<product>
<table>
<product><property>/engines/engine[1]/n1-actual</property><value>0.01</value></product>
<entry><ind>0.19</ind> <dep>0.70</dep></entry>
<entry><ind>0.99</ind> <dep>1.80</dep></entry>
</table>
</product>
</expression>
</input>
<input>
<condition>
<not><property>sim/current-view/internal</property></not>
</condition>
<expression><value>0</value></expression>
</input>
<output>
<prop>a320/sound/comb1-right-p</prop>
</output>
</filter>
<!-- high spool comb -->
<filter>
<type>gain</type>
<gain>1</gain>
<input>
<condition>
<property>sim/current-view/internal</property>
</condition>
<expression>
<product>
<table>
<product><property>/engines/engine[0]/n1-actual</property><value>0.01</value></product>
<entry><ind>0.32</ind> <dep>0.00</dep></entry>
<entry><ind>0.68</ind> <dep>0.02</dep></entry>
<entry><ind>0.74</ind> <dep>0.20</dep></entry>
<entry><ind>0.78</ind> <dep>0.40</dep></entry>
<entry><ind>0.85</ind> <dep>0.45</dep></entry>
<entry><ind>0.94</ind> <dep>0.45</dep></entry>
<entry><ind>1.00</ind> <dep>0.45</dep></entry>
</table>
</product>
</expression>
</input>
<input>
<condition>
<not><property>sim/current-view/internal</property></not>
</condition>
<expression><value>0</value></expression>
</input>
<output>
<prop>a320/sound/comb2-left-v</prop>
</output>
</filter>
<filter>
<type>gain</type>
<gain>1</gain>
<input>
<condition>
<property>sim/current-view/internal</property>
</condition>
<expression>
<product>
<table>
<product><property>/engines/engine[1]/n1-actual</property><value>0.01</value></product>
<entry><ind>0.32</ind> <dep>0.00</dep></entry>
<entry><ind>0.68</ind> <dep>0.02</dep></entry>
<entry><ind>0.74</ind> <dep>0.20</dep></entry>
<entry><ind>0.78</ind> <dep>0.40</dep></entry>
<entry><ind>0.85</ind> <dep>0.45</dep></entry>
<entry><ind>0.94</ind> <dep>0.45</dep></entry>
<entry><ind>1.00</ind> <dep>0.45</dep></entry>
</table>
</product>
</expression>
</input>
<input>
<condition>
<not><property>sim/current-view/internal</property></not>
</condition>
<expression><value>0</value></expression>
</input>
<output>
<prop>a320/sound/comb2-right-v</prop>
</output>
</filter>
<filter>
<type>gain</type>
<gain>1</gain>
<input>
<condition>
<property>sim/current-view/internal</property>
</condition>
<expression>
<product>
<table>
<product><property>/engines/engine[0]/n1-actual</property><value>0.01</value></product>
<entry><ind>0.19</ind> <dep>0.70</dep></entry>
<entry><ind>0.99</ind> <dep>1.80</dep></entry>
</table>
</product>
</expression>
</input>
<input>
<condition>
<not><property>sim/current-view/internal</property></not>
</condition>
<expression><value>0</value></expression>
</input>
<output>
<prop>a320/sound/comb2-left-p</prop>
</output>
</filter>
<filter>
<type>gain</type>
<gain>1</gain>
<input>
<condition>
<property>sim/current-view/internal</property>
</condition>
<expression>
<product>
<table>
<product><property>/engines/engine[1]/n1-actual</property><value>0.01</value></product>
<entry><ind>0.19</ind> <dep>0.70</dep></entry>
<entry><ind>0.99</ind> <dep>1.80</dep></entry>
</table>
</product>
</expression>
</input>
<input>
<condition>
<not><property>sim/current-view/internal</property></not>
</condition>
<expression><value>0</value></expression>
</input>
<output>
<prop>a320/sound/comb2-right-p</prop>
</output>
</filter>
<!-- external spool -->
<filter>
<type>gain</type>
<gain>1</gain>
@ -1105,7 +1350,7 @@
<product><property>/engines/engine[0]/n1-actual</property><value>0.01</value></product>
<entry><ind>0.65</ind> <dep>0.00</dep></entry>
<entry><ind>0.70</ind> <dep>0.10</dep></entry>
<entry><ind>0.90</ind> <dep>0.40</dep></entry>
<entry><ind>0.90</ind> <dep>0.60</dep></entry>
<entry><ind>1.02</ind> <dep>1.00</dep></entry>
</table>
</product>
@ -1135,7 +1380,7 @@
<product><property>/engines/engine[1]/n1-actual</property><value>0.01</value></product>
<entry><ind>0.65</ind> <dep>0.00</dep></entry>
<entry><ind>0.70</ind> <dep>0.10</dep></entry>
<entry><ind>0.90</ind> <dep>0.40</dep></entry>
<entry><ind>0.90</ind> <dep>0.60</dep></entry>
<entry><ind>1.02</ind> <dep>1.00</dep></entry>
</table>
</product>