Sim: Rework IAE sounds and cleanup

This commit is contained in:
Josh Davidson 2019-08-11 17:50:28 -04:00
parent 162507f12f
commit c34e854027
34 changed files with 7869 additions and 11911 deletions

View file

@ -7,7 +7,7 @@
<sim>
<sound>
<path>Aircraft/IDG-A32X/Sounds/cfm56a-sound.xml</path>
<path>Aircraft/IDG-A32X/Sounds/cfm56-sound.xml</path>
</sound>
<checklists include="A32X-Checklists.xml"/>
<description>Airbus A320-111 (CFM56-5A1)</description>

View file

@ -7,7 +7,7 @@
<sim>
<sound>
<path>Aircraft/IDG-A32X/Sounds/cfm56b-sound.xml</path>
<path>Aircraft/IDG-A32X/Sounds/cfm56-sound.xml</path>
</sound>
<checklists include="A32X-Checklists.xml"/>
<description>Airbus A320-214 (CFM56-5B4)</description>

View file

@ -167,6 +167,9 @@
<path>Aircraft/IDG-A32X/Systems/pfd.xml</path>
</autopilot>
<!-- 10 is sound -->
<autopilot n="11">
<path>Aircraft/IDG-A32X/Systems/sound-common.xml</path>
</autopilot>
</systems>
<sound>

View file

@ -95,12 +95,6 @@ setprop("/systems/acconfig/options/nd-rate", 1);
setprop("/systems/acconfig/options/uecam-rate", 1);
setprop("/systems/acconfig/options/lecam-rate", 1);
setprop("/systems/acconfig/options/iesi-rate", 1);
setprop("/systems/acconfig/options/sound/interior-volume", 1);
setprop("/systems/acconfig/options/sound/exterior-volume", 1);
setprop("/systems/acconfig/options/sound/wing-volume", 1);
setprop("/systems/acconfig/options/sound/avionics-volume", 1);
setprop("/systems/acconfig/options/sound/effects-volume", 1);
setprop("/systems/acconfig/options/sound/mechanical-volume", 1);
setprop("/systems/acconfig/options/autopush/show-route", 1);
setprop("/systems/acconfig/options/autopush/show-wingtip", 1);
var main_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/main/dialog", "Aircraft/IDG-A32X/AircraftConfig/main.xml");
@ -118,11 +112,8 @@ var error_mismatch = gui.Dialog.new("sim/gui/dialogs/acconfig/error/mismatch/dia
var groundservices_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/groundsrvc/dialog", "Aircraft/IDG-A32X/AircraftConfig/groundservices.xml");
var du_quality = gui.Dialog.new("sim/gui/dialogs/acconfig/du-quality/dialog", "Aircraft/IDG-A32X/AircraftConfig/du-quality.xml");
var rendering_dlg = gui.Dialog.new("sim/gui/dialogs/rendering/dialog", "Aircraft/IDG-A32X/AircraftConfig/rendering.xml");
var sound_config_dlg = gui.Dialog.new("sim/gui/dialogs/sound-config/dialog", "Aircraft/IDG-A32X/AircraftConfig/sound-config.xml");
spinning.start();
init_dlg.open();
http.load("https://raw.githubusercontent.com/Octal450/IDG-A32X/master/revision.txt").done(func(r) setprop("/systems/acconfig/new-revision", r.response));
var revisionFile = (getprop("/sim/aircraft-dir") ~ "/revision.txt");
var current_revision = io.readfile(revisionFile);

View file

@ -1,175 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright (c) 2019 Jonathan Redpath (legoboyvdlp) -->
<!-- A32X Sound Dialog -->
<PropertyList>
<name>sound-config</name>
<layout>vbox</layout>
<group>
<layout>hbox</layout>
<text>
<halign>left</halign>
<label>Sound Configuration</label>
</text>
<button>
<halign>right</halign>
<pref-width>20</pref-width>
<pref-height>20</pref-height>
<legend>X</legend>
<key>Esc</key>
<binding>
<command>nasal</command>
<script>
acconfig.writeSettings();
</script>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
</group>
<hrule/>
<group>
<layout>vbox</layout>
<text>
<halign>left</halign>
<label>Engine Sounds</label>
</text>
</group>
<hrule/>
<group>
<layout>vbox</layout>
<slider>
<halign>left</halign>
<label>Cockpit Volume</label>
<property>/systems/acconfig/options/sound/interior-volume</property>
<min>0.25</min>
<max>1.5</max>
<x>10</x>
<y>50</y>
<width>200</width>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
<slider>
<halign>left</halign>
<label>Exterior Volume</label>
<property>/systems/acconfig/options/sound/exterior-volume</property>
<min>0.25</min>
<max>1.5</max>
<x>10</x>
<y>50</y>
<width>200</width>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
<slider>
<halign>left</halign>
<label>Wing Volume</label>
<property>/systems/acconfig/options/sound/wing-volume</property>
<min>0.25</min>
<max>1.5</max>
<x>10</x>
<y>50</y>
<width>200</width>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
</group>
<hrule/>
<group>
<layout>vbox</layout>
<text>
<halign>left</halign>
<label>Engine Sounds</label>
</text>
</group>
<hrule/>
<group>
<layout>vbox</layout>
<slider>
<halign>left</halign>
<label>Avionics Volume</label>
<property>/systems/acconfig/options/sound/avionics-volume</property>
<min>0.25</min>
<max>1.5</max>
<x>10</x>
<y>50</y>
<width>200</width>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
<slider>
<halign>left</halign>
<label>Effects Volume</label>
<property>/systems/acconfig/options/sound/effects-volume</property>
<min>0.25</min>
<max>1.5</max>
<x>10</x>
<y>50</y>
<width>200</width>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
<slider>
<halign>left</halign>
<label>Mechanical Volume</label>
<property>/systems/acconfig/options/sound/mechanical-volume</property>
<min>0.25</min>
<max>1.5</max>
<x>10</x>
<y>50</y>
<width>200</width>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
</group>
<hrule/>
<group>
<layout>hbox</layout>
<button>
<halign>left</halign>
<legend>Close</legend>
<pref-width>210</pref-width>
<binding>
<command>nasal</command>
<script>
acconfig.writeSettings();
</script>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
</group>
</PropertyList>

View file

@ -7,10 +7,10 @@
<mode>looped</mode>
<path>Aircraft/IDG-A32X/Sounds/SASA/A320.wav</path>
<condition>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
</condition>
<volume>
<property>sim/sound/other/apu</property>
<property>/systems/apu/rpm</property>
<factor>0.005</factor>
<max>0.25</max>
</volume>
@ -26,10 +26,10 @@
<mode>looped</mode>
<path>Aircraft/IDG-A32X/Sounds/SASA/x320_apu.wav</path>
<condition>
<not><property>sim/current-view/internal</property></not>
<not><property>/sim/current-view/internal</property></not>
</condition>
<volume>
<property>sim/sound/other/apu</property>
<property>/systems/apu/rpm</property>
<factor>0.005</factor>
</volume>
<pitch>
@ -47,7 +47,7 @@
<condition>
<and>
<equals>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
<value>1</value>
</equals>
<equals>
@ -56,9 +56,6 @@
</equals>
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/mechanical-volume</property>
</volume>
</hyd-yellow>
<!-- Disabled until proper PTU system implemented, to not annoy people -->
@ -70,7 +67,6 @@
<property>/systems/hydraulic/ptu-active</property>
</condition>
<volume>
<property>/systems/acconfig/options/sound/mechanical-volume</property>
<factor>8</factor>
</volume>
<reference-dist>20.0</reference-dist>
@ -157,7 +153,6 @@
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/avionics-volume</property>
<factor>8</factor>
</volume>
<reference-dist>20.0</reference-dist>
@ -194,7 +189,6 @@
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/avionics-volume</property>
<factor>8</factor>
</volume>
<reference-dist>20.0</reference-dist>
@ -229,7 +223,6 @@
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/avionics-volume</property>
<factor>8</factor>
</volume>
<reference-dist>20.0</reference-dist>
@ -264,7 +257,6 @@
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/avionics-volume</property>
<factor>8</factor>
</volume>
<reference-dist>20.0</reference-dist>
@ -299,7 +291,6 @@
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/avionics-volume</property>
<factor>8</factor>
</volume>
<reference-dist>20.0</reference-dist>
@ -334,7 +325,6 @@
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/avionics-volume</property>
<factor>8</factor>
</volume>
<reference-dist>20.0</reference-dist>
@ -369,7 +359,6 @@
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/avionics-volume</property>
<factor>8</factor>
</volume>
<reference-dist>20.0</reference-dist>
@ -404,7 +393,6 @@
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/avionics-volume</property>
<factor>8</factor>
</volume>
<reference-dist>20.0</reference-dist>
@ -439,7 +427,6 @@
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/avionics-volume</property>
<factor>8</factor>
</volume>
<reference-dist>20.0</reference-dist>
@ -474,7 +461,6 @@
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/avionics-volume</property>
<factor>8</factor>
</volume>
<reference-dist>20.0</reference-dist>
@ -509,7 +495,6 @@
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/avionics-volume</property>
<factor>8</factor>
</volume>
<reference-dist>20.0</reference-dist>
@ -544,7 +529,6 @@
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/avionics-volume</property>
<factor>8</factor>
</volume>
<reference-dist>20.0</reference-dist>
@ -579,7 +563,6 @@
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/avionics-volume</property>
<factor>8</factor>
</volume>
<reference-dist>20.0</reference-dist>
@ -628,7 +611,6 @@
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/avionics-volume</property>
<factor>8</factor>
</volume>
<reference-dist>20.0</reference-dist>
@ -675,7 +657,6 @@
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/avionics-volume</property>
<factor>8</factor>
</volume>
<reference-dist>20.0</reference-dist>
@ -711,7 +692,6 @@
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/avionics-volume</property>
<factor>8</factor>
</volume>
<reference-dist>20.0</reference-dist>
@ -746,7 +726,6 @@
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/avionics-volume</property>
<factor>8</factor>
</volume>
<reference-dist>20.0</reference-dist>
@ -827,7 +806,6 @@
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/avionics-volume</property>
<factor>8</factor>
</volume>
<reference-dist>20.0</reference-dist>
@ -859,7 +837,6 @@
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/avionics-volume</property>
<factor>40.0</factor>
</volume>
</apoff>
@ -889,7 +866,6 @@
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/avionics-volume</property>
<factor>40.0</factor>
</volume>
</apoff>
@ -900,7 +876,7 @@
<path>Aircraft/IDG-A32X/Sounds/SASA/A320_gear.wav</path>
<property>gear/gear[0]/position-norm</property>
<volume>
<property>sim/sounde/gear-vol</property>
<property>/sim/sounde/gear-vol</property>
</volume>
</gear>
@ -910,7 +886,7 @@
<path>Aircraft/IDG-A32X/Sounds/SASA/A320_gear.wav</path>
<property>gear/gear[1]/position-norm</property>
<volume>
<property>sim/sounde/gear-vol</property>
<property>/sim/sounde/gear-vol</property>
</volume>
</gear>
@ -920,7 +896,7 @@
<path>Aircraft/IDG-A32X/Sounds/SASA/A320_gear.wav</path>
<property>gear/gear[2]/position-norm</property>
<volume>
<property>sim/sounde/gear-vol</property>
<property>/sim/sounde/gear-vol</property>
</volume>
</gear>
@ -929,14 +905,14 @@
<mode>looped</mode>
<name>wind</name>
<condition>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
</condition>
<volume>
<property>sim/sound/other/cockpit-wind</property>
<property>/sim/sound/other/cockpit-wind-v</property>
<offset>0</offset>
</volume>
<pitch>
<property>sim/sound/other/windp</property>
<property>/sim/sound/other/wind-p</property>
<offset>0</offset>
</pitch>
</wind>
@ -946,14 +922,14 @@
<mode>looped</mode>
<name>wind</name>
<condition>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
</condition>
<volume>
<property>sim/sound/other/wind</property>
<property>/sim/sound/other/wind-v</property>
<offset>0</offset>
</volume>
<pitch>
<property>sim/sound/other/windp</property>
<property>/sim/sound/other/wind-p</property>
<offset>0</offset>
</pitch>
</wind>
@ -963,23 +939,20 @@
<mode>looped</mode>
<name>air conditioning</name>
<condition>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
</condition>
<volume>
<property>sim/sound/other/air-con</property>
<property>/sim/sound/other/air-con</property>
</volume>
</ac>
<wow>
<mode>once</mode>
<name>wow0</name>
<path>Aircraft/IDG-A32X/Sounds/SASA/Touch-Nose.wav</path>
<path>Aircraft/IDG-A32X/Sounds/SASA/Touch-Main.wav</path> <!-- Nose seemed to harsh -->
<condition>
<property>gear/gear[0]/wow</property>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
</volume>
</wow>
<wow>
@ -989,9 +962,6 @@
<condition>
<property>gear/gear[1]/wow</property>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
</volume>
</wow>
<wow>
@ -1001,9 +971,6 @@
<condition>
<property>gear/gear[2]/wow</property>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
</volume>
</wow>
<roll>
@ -1012,11 +979,11 @@
<path>Aircraft/IDG-A32X/Sounds/SASA/Cockpit_Roll.wav</path>
<property>gear/gear[0]/wow</property>
<volume>
<property>sim/sound/other/cockpit-roll</property>
<property>/sim/sound/other/cockpit-roll-v</property>
<factor>1</factor>
</volume>
<pitch>
<property>sim/sound/other/rollp</property>
<property>/sim/sound/other/roll-p</property>
</pitch>
</roll>
@ -1025,11 +992,13 @@
<mode>looped</mode>
<path>Aircraft/IDG-A32X/Sounds/SASA/Cockpit_Roll.wav</path>
<property>gear/gear[1]/wow</property>
<volume>
<property>sim/sound/other/cockpit-roll</property>
<property>/sim/sound/other/cockpit-roll-v</property>
<factor>1</factor>
</volume>
<pitch>
<property>/sim/sound/other/roll-p</property>
</pitch>
</roll>
<roll>
@ -1038,11 +1007,11 @@
<path>Aircraft/IDG-A32X/Sounds/SASA/Cockpit_Roll.wav</path>
<property>gear/gear[2]/wow</property>
<volume>
<property>sim/sound/other/cockpit-roll</property>
<property>/sim/sound/other/cockpit-roll-v</property>
<factor>1</factor>
</volume>
<pitch>
<property>sim/sound/other/rollp</property>
<property>/sim/sound/other/roll-p</property>
</pitch>
</roll>
@ -1053,11 +1022,11 @@
<path>Aircraft/IDG-A32X/Sounds/SASA/Roll.wav</path>
<property>gear/gear[0]/wow</property>
<volume>
<property>sim/sound/other/roll</property>
<property>/sim/sound/other/roll-v</property>
<factor>1</factor>
</volume>
<pitch>
<property>sim/sound/other/rollp</property>
<property>/sim/sound/other/roll-p</property>
</pitch>
</roll>
@ -1066,11 +1035,13 @@
<mode>looped</mode>
<path>Aircraft/IDG-A32X/Sounds/SASA/Roll.wav</path>
<property>gear/gear[1]/wow</property>
<volume>
<property>sim/sound/other/roll</property>
<property>/sim/sound/other/roll-v</property>
<factor>1</factor>
</volume>
<pitch>
<property>/sim/sound/other/roll-p</property>
</pitch>
</roll>
<roll>
@ -1079,11 +1050,11 @@
<path>Aircraft/IDG-A32X/Sounds/SASA/Roll.wav</path>
<property>gear/gear[2]/wow</property>
<volume>
<property>sim/sound/other/roll</property>
<property>/sim/sound/other/roll-v</property>
<factor>1</factor>
</volume>
<pitch>
<property>sim/sound/other/rollp</property>
<property>/sim/sound/other/roll-p</property>
</pitch>
</roll>
@ -1097,9 +1068,6 @@
<value>IDLE</value>
</equals>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
</volume>
</detenta>
<detentb>
@ -1112,9 +1080,6 @@
<value>IDLE</value>
</equals>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
</volume>
</detentb>
<detenta>
@ -1127,9 +1092,6 @@
<value>MAN</value>
</equals>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
</volume>
</detenta>
<detentb>
@ -1142,9 +1104,6 @@
<value>MAN</value>
</equals>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
</volume>
</detentb>
<detenta>
@ -1157,9 +1116,6 @@
<value>CL</value>
</equals>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
</volume>
</detenta>
<detentb>
@ -1172,9 +1128,6 @@
<value>CL</value>
</equals>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
</volume>
</detentb>
<detenta>
@ -1187,9 +1140,6 @@
<value>MAN THR</value>
</equals>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
</volume>
</detenta>
<detentb>
@ -1202,9 +1152,6 @@
<value>MAN THR</value>
</equals>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
</volume>
</detentb>
<detenta>
@ -1217,9 +1164,6 @@
<value>MCT</value>
</equals>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
</volume>
</detenta>
<detentb>
@ -1232,9 +1176,6 @@
<value>MCT</value>
</equals>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
</volume>
</detentb>
<detenta>
@ -1247,9 +1188,6 @@
<value>TOGA</value>
</equals>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
</volume>
</detenta>
<detentb>
@ -1262,9 +1200,6 @@
<value>TOGA</value>
</equals>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
</volume>
</detentb>
<detenta>
@ -1277,9 +1212,6 @@
<value>0</value>
</equals>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
</volume>
</detenta>
<detentb>
@ -1292,9 +1224,6 @@
<value>0</value>
</equals>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
</volume>
</detentb>
<detenta>
@ -1307,9 +1236,6 @@
<value>1</value>
</equals>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
</volume>
</detenta>
<detentb>
@ -1322,9 +1248,6 @@
<value>1</value>
</equals>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
</volume>
</detentb>
<sb>
@ -1340,9 +1263,6 @@
<property>/sim/sounde/seatbelt-sign</property>
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
</volume>
</sb>
<ns>
<mode>once</mode>
@ -1357,9 +1277,6 @@
<property>/sim/sounde/no-smoking-sign</property>
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
</volume>
</ns>
<switch>
@ -1370,7 +1287,6 @@
<property>/sim/sounde/btn1</property>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
<factor>0.75</factor>
</volume>
</switch>
@ -1383,7 +1299,6 @@
<property>/sim/sounde/oh-btn</property>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
<factor>0.75</factor>
</volume>
</switch>
@ -1396,7 +1311,6 @@
<property>/sim/sounde/btn3</property>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
<factor>0.75</factor>
</volume>
</switch>
@ -1409,8 +1323,7 @@
<property>/sim/sounde/knb1</property>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
<factor>0.60</factor>
<factor>0.6</factor>
</volume>
</switch>
@ -1422,7 +1335,6 @@
<property>/sim/sounde/switch1</property>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
<factor>0.75</factor>
</volume>
</switch>
@ -1438,7 +1350,6 @@
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
<factor>0.75</factor>
</volume>
</switch>
@ -1448,10 +1359,6 @@
<mode>in-transit</mode>
<path>Aircraft/IDG-A32X/Sounds/SASA/A320_flapmotor.wav</path>
<property>/surface-positions/flap-pos-norm</property>
<volume>
<property>/sim/sound/other/flaps</property>
<factor>1.00</factor>
</volume>
</switch>
<cvrtone>
@ -1460,7 +1367,7 @@
<path>Aircraft/IDG-A32X/Sounds/Cockpit/700hz.wav</path>
<condition>
<and>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
<equals>
<property>controls/CVR/tone</property>
<value>1</value>
@ -1468,8 +1375,7 @@
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
<factor>0.60</factor>
<factor>0.6</factor>
</volume>
</cvrtone>
@ -1484,8 +1390,7 @@
</greater-than>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
<factor>0.80</factor>
<factor>0.8</factor>
</volume>
</relay>
@ -1500,8 +1405,7 @@
</greater-than>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
<factor>0.80</factor>
<factor>0.8</factor>
</volume>
</relay>
@ -1522,8 +1426,7 @@
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
<factor>0.60</factor>
<factor>0.6</factor>
</volume>
</relay>
@ -1538,8 +1441,7 @@
</equals>
</condition>
<volume>
<property>/systems/acconfig/options/sound/effects-volume</property>
<factor>0.60</factor>
<factor>0.6</factor>
</volume>
</relay>
@ -1549,7 +1451,7 @@
<path>Aircraft/IDG-A32X/Sounds/320efis.wav</path>
<condition>
<and>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
<or>
<greater-than>
<property>/systems/electrical/bus/ac1</property>
@ -1563,8 +1465,7 @@
</and>
</condition>
<volume>
<property>/systems/acconfig/options/sound/avionics-volume</property>
<factor>0.60</factor>
<factor>0.6</factor>
</volume>
</relay>
@ -1579,7 +1480,7 @@
</equals>
</condition>
<volume>
<factor>0.60</factor>
<factor>0.6</factor>
</volume>
</announcements>
@ -1594,7 +1495,7 @@
</equals>
</condition>
<volume>
<factor>0.60</factor>
<factor>0.6</factor>
</volume>
</announcements>
@ -1609,7 +1510,7 @@
</equals>
</condition>
<volume>
<factor>0.60</factor>
<factor>0.6</factor>
</volume>
</announcements>
@ -1624,7 +1525,7 @@
</equals>
</condition>
<volume>
<factor>0.60</factor>
<factor>0.6</factor>
</volume>
</announcements>
@ -1639,7 +1540,7 @@
</equals>
</condition>
<volume>
<factor>0.60</factor>
<factor>0.6</factor>
</volume>
</announcements>
@ -1654,7 +1555,7 @@
</equals>
</condition>
<volume>
<factor>0.60</factor>
<factor>0.6</factor>
</volume>
</announcements>
@ -1666,9 +1567,6 @@
<condition>
<property>/sim/sound/warnings/chime</property>
</condition>
<volume>
<property>/systems/acconfig/options/sound/avionics-volume</property>
</volume>
<reference-dist>10</reference-dist>
<max-dist>100</max-dist>
</chime>
@ -1685,10 +1583,7 @@
</and>
</condition>
<volume>
<product>
<property>/systems/acconfig/options/sound/avionics-volume</property>
<value>0.8</value>
</product>
<factor>0.8</factor>
</volume>
<reference-dist>10</reference-dist>
<max-dist>100</max-dist>
@ -1697,19 +1592,16 @@
<stall-voice>
<name>stall-voice</name>
<mode>looped</mode>
<path>/Aircraft/IDG-A32X/Sounds/Cockpit/stall_voice.wav</path>
<path>Aircraft/IDG-A32X/Sounds/Cockpit/stall_voice.wav</path>
<type>avionics</type>
<condition>
<property>warnings/stall/active</property>
</condition>
<volume>
<property>/systems/acconfig/options/sound/avionics-volume</property>
<factor>3</factor>
<!--offset>1</offset-->
<min>1</min>
<max>6</max>
</volume>
<reference-dist>10</reference-dist>
<max-dist>100.0</max-dist>
</stall-voice>

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -5,13 +5,13 @@
<engine>
<name>a320_a1s</name>
<mode>looped</mode>
<path>FL2070/abn1strt.wav</path>
<path>NEO/abn1strt.wav</path>
<volume>
<property>a320/sound/a1strt</property>
<property>/sim/sound/a1strt</property>
<offset>0</offset>
</volume>
<pitch>
<property>a320/sound/a1strtp</property>
<property>/sim/sound/a1strtp</property>
<offset>0</offset>
</pitch>
<position>
@ -24,13 +24,13 @@
<engine>
<name>a320_b1s</name>
<mode>looped</mode>
<path>FL2070/abn1strt.wav</path>
<path>NEO/abn1strt.wav</path>
<volume>
<property>a320/sound/b1strt</property>
<property>/sim/sound/b1strt</property>
<offset>0</offset>
</volume>
<pitch>
<property>a320/sound/b1strtp</property>
<property>/sim/sound/b1strtp</property>
<offset>0</offset>
</pitch>
<position>
@ -48,20 +48,20 @@
<engine>
<name>a320_a11</name>
<mode>looped</mode>
<path>FL2070-NEO/cfm11a.wav</path>
<path>NEO/cfm11a.wav</path>
<condition>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
<less-than>
<property>sim/current-view/z-offset-m</property>
<property>/sim/current-view/z-offset-m</property>
<value>-2</value>
</less-than>
</condition>
<volume>
<property>a320/sound/a11</property>
<property>/sim/sound/a11</property>
<offset>0</offset>
</volume>
<pitch>
<property>a320/sound/a11p</property>
<property>/sim/sound/a11p</property>
<offset>0</offset>
</pitch>
<position>
@ -74,20 +74,20 @@
<engine>
<name>a320_a12</name>
<mode>looped</mode>
<path>FL2070-NEO/cfm12a.wav</path>
<path>NEO/cfm12a.wav</path>
<condition>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
<less-than>
<property>sim/current-view/z-offset-m</property>
<property>/sim/current-view/z-offset-m</property>
<value>-2</value>
</less-than>
</condition>
<volume>
<property>a320/sound/a12</property>
<property>/sim/sound/a12</property>
<offset>0</offset>
</volume>
<pitch>
<property>a320/sound/a12p</property>
<property>/sim/sound/a12p</property>
<offset>0</offset>
</pitch>
<position>
@ -100,20 +100,20 @@
<engine>
<name>a320_a13</name>
<mode>looped</mode>
<path>FL2070-NEO/cfm13a.wav</path>
<path>NEO/cfm13a.wav</path>
<condition>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
<less-than>
<property>sim/current-view/z-offset-m</property>
<property>/sim/current-view/z-offset-m</property>
<value>-2</value>
</less-than>
</condition>
<volume>
<property>a320/sound/a13</property>
<property>/sim/sound/a13</property>
<offset>0</offset>
</volume>
<pitch>
<property>a320/sound/a13p</property>
<property>/sim/sound/a13p</property>
<offset>0</offset>
</pitch>
<position>
@ -126,20 +126,20 @@
<engine>
<name>a320_b11</name>
<mode>looped</mode>
<path>FL2070-NEO/cfm11b.wav</path>
<path>NEO/cfm11b.wav</path>
<condition>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
<less-than>
<property>sim/current-view/z-offset-m</property>
<property>/sim/current-view/z-offset-m</property>
<value>-2</value>
</less-than>
</condition>
<volume>
<property>a320/sound/b11</property>
<property>/sim/sound/b11</property>
<offset>0</offset>
</volume>
<pitch>
<property>a320/sound/b11p</property>
<property>/sim/sound/b11p</property>
<offset>0</offset>
</pitch>
<position>
@ -152,20 +152,20 @@
<engine>
<name>a320_b12</name>
<mode>looped</mode>
<path>FL2070-NEO/cfm12b.wav</path>
<path>NEO/cfm12b.wav</path>
<condition>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
<less-than>
<property>sim/current-view/z-offset-m</property>
<property>/sim/current-view/z-offset-m</property>
<value>-2</value>
</less-than>
</condition>
<volume>
<property>a320/sound/b12</property>
<property>/sim/sound/b12</property>
<offset>0</offset>
</volume>
<pitch>
<property>a320/sound/b12p</property>
<property>/sim/sound/b12p</property>
<offset>0</offset>
</pitch>
<position>
@ -178,20 +178,20 @@
<engine>
<name>a320_b13</name>
<mode>looped</mode>
<path>FL2070-NEO/cfm13b.wav</path>
<path>NEO/cfm13b.wav</path>
<condition>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
<less-than>
<property>sim/current-view/z-offset-m</property>
<property>/sim/current-view/z-offset-m</property>
<value>-2</value>
</less-than>
</condition>
<volume>
<property>a320/sound/b13</property>
<property>/sim/sound/b13</property>
<offset>0</offset>
</volume>
<pitch>
<property>a320/sound/b13p</property>
<property>/sim/sound/b13p</property>
<offset>0</offset>
</pitch>
<position>
@ -213,20 +213,20 @@
<engine>
<name>a320_a21</name>
<mode>looped</mode>
<path>FL2070/axx21.wav</path>
<path>NEO/axx21.wav</path>
<condition>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
<greater-than>
<property>sim/current-view/z-offset-m</property>
<property>/sim/current-view/z-offset-m</property>
<value>-1.9</value>
</greater-than>
</condition>
<volume>
<property>a320/sound/a11</property>
<property>/sim/sound/a11</property>
<offset>0</offset>
</volume>
<pitch>
<property>a320/sound/a11p</property>
<property>/sim/sound/a11p</property>
<offset>0</offset>
</pitch>
<position>
@ -239,20 +239,20 @@
<engine>
<name>a320_a22</name>
<mode>looped</mode>
<path>FL2070/axx22.wav</path>
<path>NEO/axx22.wav</path>
<condition>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
<greater-than>
<property>sim/current-view/z-offset-m</property>
<property>/sim/current-view/z-offset-m</property>
<value>-1.9</value>
</greater-than>
</condition>
<volume>
<property>a320/sound/a12</property>
<property>/sim/sound/a12</property>
<offset>0</offset>
</volume>
<pitch>
<property>a320/sound/a12p</property>
<property>/sim/sound/a12p</property>
<offset>0</offset>
</pitch>
<position>
@ -265,20 +265,20 @@
<engine>
<name>a320_a23</name>
<mode>looped</mode>
<path>FL2070/axx23.wav</path>
<path>NEO/axx23.wav</path>
<condition>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
<greater-than>
<property>sim/current-view/z-offset-m</property>
<property>/sim/current-view/z-offset-m</property>
<value>-1.9</value>
</greater-than>
</condition>
<volume>
<property>a320/sound/a13</property>
<property>/sim/sound/a13</property>
<offset>0</offset>
</volume>
<pitch>
<property>a320/sound/a13p</property>
<property>/sim/sound/a13p</property>
<offset>0</offset>
</pitch>
<position>
@ -291,22 +291,22 @@
<engine>
<name>a320_b21</name>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
<mode>looped</mode>
<path>FL2070/axx21.wav</path>
<path>NEO/axx21.wav</path>
<condition>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
<greater-than>
<property>sim/current-view/z-offset-m</property>
<property>/sim/current-view/z-offset-m</property>
<value>-1.9</value>
</greater-than>
</condition>
<volume>
<property>a320/sound/b11</property>
<property>/sim/sound/b11</property>
<offset>0</offset>
</volume>
<pitch>
<property>a320/sound/b11p</property>
<property>/sim/sound/b11p</property>
<offset>0</offset>
</pitch>
<position>
@ -319,20 +319,20 @@
<engine>
<name>a320_b22</name>
<mode>looped</mode>
<path>FL2070/axx22.wav</path>
<path>NEO/axx22.wav</path>
<condition>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
<greater-than>
<property>sim/current-view/z-offset-m</property>
<property>/sim/current-view/z-offset-m</property>
<value>-1.9</value>
</greater-than>
</condition>
<volume>
<property>a320/sound/b12</property>
<property>/sim/sound/b12</property>
<offset>0</offset>
</volume>
<pitch>
<property>a320/sound/b12p</property>
<property>/sim/sound/b12p</property>
<offset>0</offset>
</pitch>
<position>
@ -345,20 +345,20 @@
<engine>
<name>a320_b23</name>
<mode>looped</mode>
<path>FL2070/axx23.wav</path>
<path>NEO/axx23.wav</path>
<condition>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
<greater-than>
<property>sim/current-view/z-offset-m</property>
<property>/sim/current-view/z-offset-m</property>
<value>-1.9</value>
</greater-than>
</condition>
<volume>
<property>a320/sound/b13</property>
<property>/sim/sound/b13</property>
<offset>0</offset>
</volume>
<pitch>
<property>a320/sound/b13p</property>
<property>/sim/sound/b13p</property>
<offset>0</offset>
</pitch>
<position>
@ -377,16 +377,16 @@
<engine>
<name>xa320_a11</name>
<mode>looped</mode>
<path>FL2070/xabn11.wav</path>
<path>NEO/xabn11.wav</path>
<condition>
<not><property>sim/current-view/internal</property></not>
<not><property>/sim/current-view/internal</property></not>
</condition>
<volume>
<property>a320/sound/a11</property>
<property>/sim/sound/a11</property>
<offset>0</offset>
</volume>
<pitch>
<property>a320/sound/a11p</property>
<property>/sim/sound/a11p</property>
<offset>0</offset>
</pitch>
<position>
@ -399,16 +399,16 @@
<engine>
<name>xa320_a12</name>
<condition>
<not><property>sim/current-view/internal</property></not>
<not><property>/sim/current-view/internal</property></not>
</condition>
<mode>looped</mode>
<path>FL2070/xabn12.wav</path>
<path>NEO/xabn12.wav</path>
<volume>
<property>a320/sound/a12</property>
<property>/sim/sound/a12</property>
<offset>0</offset>
</volume>
<pitch>
<property>a320/sound/a12p</property>
<property>/sim/sound/a12p</property>
<offset>0</offset>
</pitch>
<position>
@ -421,16 +421,16 @@
<engine>
<name>xa320_a13</name>
<condition>
<not><property>sim/current-view/internal</property></not>
<not><property>/sim/current-view/internal</property></not>
</condition>
<mode>looped</mode>
<path>FL2070/xabn13.wav</path>
<path>NEO/xabn13.wav</path>
<volume>
<property>a320/sound/a13</property>
<property>/sim/sound/a13</property>
<offset>0</offset>
</volume>
<pitch>
<property>a320/sound/a13p</property>
<property>/sim/sound/a13p</property>
<offset>0</offset>
</pitch>
<position>
@ -444,16 +444,16 @@
<engine>
<name>xa320_b11</name>
<condition>
<not><property>sim/current-view/internal</property></not>
<not><property>/sim/current-view/internal</property></not>
</condition>
<mode>looped</mode>
<path>FL2070/xabn11.wav</path>
<path>NEO/xabn11.wav</path>
<volume>
<property>a320/sound/b11</property>
<property>/sim/sound/b11</property>
<offset>0</offset>
</volume>
<pitch>
<property>a320/sound/b11p</property>
<property>/sim/sound/b11p</property>
<offset>0</offset>
</pitch>
<position>
@ -466,16 +466,16 @@
<engine>
<name>xa320_b12</name>
<condition>
<not><property>sim/current-view/internal</property></not>
<not><property>/sim/current-view/internal</property></not>
</condition>
<mode>looped</mode>
<path>FL2070/xabn12.wav</path>
<path>NEO/xabn12.wav</path>
<volume>
<property>a320/sound/b12</property>
<property>/sim/sound/b12</property>
<offset>0</offset>
</volume>
<pitch>
<property>a320/sound/b12p</property>
<property>/sim/sound/b12p</property>
<offset>0</offset>
</pitch>
<position>
@ -488,16 +488,16 @@
<engine>
<name>xa320_b13</name>
<condition>
<not><property>sim/current-view/internal</property></not>
<not><property>/sim/current-view/internal</property></not>
</condition>
<mode>looped</mode>
<path>FL2070/xabn13.wav</path>
<path>NEO/xabn13.wav</path>
<volume>
<property>a320/sound/b13</property>
<property>/sim/sound/b13</property>
<offset>0</offset>
</volume>
<pitch>
<property>a320/sound/b13p</property>
<property>/sim/sound/b13p</property>
<offset>0</offset>
</pitch>
<position>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -23,7 +23,7 @@
</expression>
</input>
<output>
<prop>sim/sound/engines/a1strt</prop>
<prop>/sim/sound/engines/a1strt</prop>
</output>
</filter>
@ -45,7 +45,7 @@
</expression>
</input>
<output>
<prop>sim/sound/engines/a1strtp</prop>
<prop>/sim/sound/engines/a1strtp</prop>
</output>
</filter>
@ -67,7 +67,7 @@
</expression>
</input>
<output>
<prop>sim/sound/engines/b1strt</prop>
<prop>/sim/sound/engines/b1strt</prop>
</output>
</filter>
@ -88,7 +88,7 @@
</expression>
</input>
<output>
<prop>sim/sound/engines/b1strtp</prop>
<prop>/sim/sound/engines/b1strtp</prop>
</output>
</filter>
@ -134,7 +134,7 @@
</expression>
</input>
<output>
<prop>a320/sound/a11</prop>
<prop>/sim/sound/a11</prop>
</output>
</filter>
@ -156,7 +156,7 @@
</expression>
</input>
<output>
<prop>a320/sound/b11</prop>
<prop>/sim/sound/b11</prop>
</output>
</filter>
@ -178,7 +178,7 @@
</expression>
</input>
<output>
<prop>a320/sound/a12</prop>
<prop>/sim/sound/a12</prop>
</output>
</filter>
@ -200,7 +200,7 @@
</expression>
</input>
<output>
<prop>a320/sound/b12</prop>
<prop>/sim/sound/b12</prop>
</output>
</filter>
@ -221,7 +221,7 @@
</expression>
</input>
<output>
<prop>a320/sound/a13</prop>
<prop>/sim/sound/a13</prop>
</output>
</filter>
@ -242,7 +242,7 @@
</expression>
</input>
<output>
<prop>a320/sound/b13</prop>
<prop>/sim/sound/b13</prop>
</output>
</filter>
@ -288,7 +288,7 @@
</expression>
</input>
<output>
<prop>a320/sound/a11p</prop>
<prop>/sim/sound/a11p</prop>
</output>
</filter>
@ -308,7 +308,7 @@
</expression>
</input>
<output>
<prop>a320/sound/b11p</prop>
<prop>/sim/sound/b11p</prop>
</output>
</filter>
@ -327,7 +327,7 @@
</expression>
</input>
<output>
<prop>a320/sound/a12p</prop>
<prop>/sim/sound/a12p</prop>
</output>
</filter>
@ -346,7 +346,7 @@
</expression>
</input>
<output>
<prop>a320/sound/b12p</prop>
<prop>/sim/sound/b12p</prop>
</output>
</filter>
@ -365,7 +365,7 @@
</expression>
</input>
<output>
<prop>a320/sound/a13p</prop>
<prop>/sim/sound/a13p</prop>
</output>
</filter>
@ -384,7 +384,7 @@
</expression>
</input>
<output>
<prop>a320/sound/b13p</prop>
<prop>/sim/sound/b13p</prop>
</output>
</filter>
@ -455,13 +455,13 @@
<entry><ind>0.00</ind> <dep>1.00</dep></entry>
<entry><ind>22.0</ind> <dep>0.10</dep></entry>
</table>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
<property>/systems/acconfig/options/sound/mechanical-volume</property>
</product>
</expression>
</input>
<output>
<prop>sim/sound/other/gear</prop>
<prop>/sim/sound/other/gear</prop>
</output>
</filter>
@ -476,13 +476,13 @@
<entry><ind>300</ind> <dep>1.00</dep></entry>
<entry><ind>301</ind> <dep>0.00</dep></entry>
</table>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
<property>/systems/acconfig/options/sound/avionics-volume</property>
</product>
</expression>
</input>
<output>
<prop>sim/sound/other/callout</prop>
<prop>/sim/sound/other/callout</prop>
</output>
</filter>
@ -497,13 +497,13 @@
<entry><ind>-11</ind> <dep>0.00</dep></entry>
<entry><ind>-12</ind> <dep>1.00</dep></entry>
</table>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
<property>/systems/acconfig/options/sound/avionics-volume</property>
</product>
</expression>
</input>
<output>
<prop>sim/sound/other/callout2</prop>
<prop>/sim/sound/other/callout2</prop>
</output>
</filter>
@ -521,13 +521,13 @@
<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>
<property>/sim/current-view/internal</property>
<property>/systems/acconfig/options/sound/effects-volume</property>
</product>
</expression>
</input>
<output>
<prop>sim/sound/other/cockpit-wind</prop>
<prop>/sim/sound/other/cockpit-wind</prop>
</output>
</filter>
@ -537,8 +537,8 @@
<input>
<condition>
<or>
<property>sim/sound/wingview-aft</property>
<property>sim/sound/wingview-fwd</property>
<property>/sim/sound/wingview-aft</property>
<property>/sim/sound/wingview-fwd</property>
</or>
</condition>
<expression>
@ -559,17 +559,17 @@
<condition>
<and>
<not>
<property>sim/sound/wingview-aft</property>
<property>/sim/sound/wingview-aft</property>
</not>
<not>
<property>sim/sound/wingview-fwd</property>
<property>/sim/sound/wingview-fwd</property>
</not>
</and>
</condition>
<value>0</value>
</input>
<output>
<prop>sim/sound/other/wind</prop>
<prop>/sim/sound/other/wind</prop>
</output>
</filter>
@ -584,12 +584,12 @@
<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>
<property>/sim/sound/internal-custom</property>
</product>
</expression>
</input>
<output>
<prop>sim/sound/other/windp</prop>
<prop>/sim/sound/other/windp</prop>
</output>
</filter>
@ -598,7 +598,7 @@
<gain>1</gain>
<input>
<condition>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
</condition>
<expression>
<product>
@ -617,12 +617,12 @@
</input>
<input>
<condition>
<not><property>sim/current-view/internal</property></not>
<not><property>/sim/current-view/internal</property></not>
</condition>
<value>0</value>
</input>
<output>
<prop>sim/sound/other/cockpit-roll</prop>
<prop>/sim/sound/other/cockpit-roll</prop>
</output>
</filter>
@ -632,8 +632,8 @@
<input>
<condition>
<or>
<property>sim/sound/wingview-aft</property>
<property>sim/sound/wingview-fwd</property>
<property>/sim/sound/wingview-aft</property>
<property>/sim/sound/wingview-fwd</property>
</or>
</condition>
<expression>
@ -655,17 +655,17 @@
<condition>
<and>
<not>
<property>sim/sound/wingview-aft</property>
<property>/sim/sound/wingview-aft</property>
</not>
<not>
<property>sim/sound/wingview-fwd</property>
<property>/sim/sound/wingview-fwd</property>
</not>
</and>
</condition>
<value>0</value>
</input>
<output>
<prop>sim/sound/other/roll</prop>
<prop>/sim/sound/other/roll</prop>
</output>
</filter>
@ -675,8 +675,8 @@
<input>
<condition>
<or>
<property>sim/sound/wingview-aft</property>
<property>sim/sound/wingview-fwd</property>
<property>/sim/sound/wingview-aft</property>
<property>/sim/sound/wingview-fwd</property>
</or>
</condition>
<expression>
@ -690,17 +690,17 @@
<condition>
<and>
<not>
<property>sim/sound/wingview-aft</property>
<property>/sim/sound/wingview-aft</property>
</not>
<not>
<property>sim/sound/wingview-fwd</property>
<property>/sim/sound/wingview-fwd</property>
</not>
</and>
</condition>
<value>0</value>
</input>
<output>
<prop>sim/sound/other/flaps</prop>
<prop>/sim/sound/other/flaps</prop>
</output>
</filter>
@ -709,7 +709,7 @@
<gain>1</gain>
<input>
<condition>
<property>sim/sound/internal-custom</property>
<property>/sim/sound/internal-custom</property>
</condition>
<expression>
<table>
@ -724,12 +724,12 @@
</input>
<input>
<condition>
<not><property>sim/sound/internal-custom</property></not>
<not><property>/sim/sound/internal-custom</property></not>
</condition>
<value>0</value>
</input>
<output>
<prop>sim/sound/other/rollp</prop>
<prop>/sim/sound/other/rollp</prop>
</output>
</filter>
@ -738,7 +738,7 @@
<gain>1</gain>
<input>
<condition>
<property>sim/sound/internal-custom</property>
<property>/sim/sound/internal-custom</property>
</condition>
<expression>
<product>
@ -750,12 +750,12 @@
</input>
<input>
<condition>
<not><property>sim/sound/internal-custom</property></not>
<not><property>/sim/sound/internal-custom</property></not>
</condition>
<value>0</value>
</input>
<output>
<prop>sim/sound/other/air-con</prop>
<prop>/sim/sound/other/air-con</prop>
</output>
</filter>
@ -785,7 +785,7 @@
<value>0</value>
</input>
<output>
<prop>sim/sound/wingview-fwd</prop>
<prop>/sim/sound/wingview-fwd</prop>
</output>
</filter>
@ -827,7 +827,7 @@
<value>0</value>
</input>
<output>
<prop>sim/sound/wingview-aft</prop>
<prop>/sim/sound/wingview-aft</prop>
</output>
</filter>
@ -838,7 +838,7 @@
<condition>
<or>
<equals>
<property>sim/current-view/internal</property>
<property>/sim/current-view/internal</property>
<value>1</value>
</equals>
<equals>
@ -860,7 +860,7 @@
<input>
<condition>
<and>
<not><property>sim/current-view/internal</property></not>
<not><property>/sim/current-view/internal</property></not>
<not>
<equals>
<property>/sim/current-view/view-number</property>
@ -884,7 +884,7 @@
<value>0</value>
</input>
<output>
<prop>sim/sound/internal-custom</prop>
<prop>/sim/sound/internal-custom</prop>
</output>
</filter>
</PropertyList>

217
Systems/sound-common.xml Normal file
View file

@ -0,0 +1,217 @@
<?xml version="1.0"?>
<!-- Copyright (c) 2019 Joshua Davidson (Octal450) -->
<PropertyList>
<!-- Sound View Logic -->
<logic>
<input>
<equals>
<property>/sim/current-view/view-number</property>
<value>13</value>
</equals>
</input>
<output>/sim/sound/wingview-fwd</output>
</logic>
<logic>
<input>
<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>
</input>
<output>/sim/sound/wingview-aft</output>
</logic>
<logic>
<input>
<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>
</input>
<output>/sim/sound/internal-custom</output>
</logic>
<!-- Misc -->
<filter>
<type>gain</type>
<gain>1</gain>
<input>
<expression>
<product>
<property>/sim/sound/internal-custom</property>
<table>
<property>/sim/current-view/z-offset-m</property>
<entry><ind>-8.0</ind> <dep>0.1</dep></entry>
<entry><ind> 0.0</ind> <dep>1.0</dep></entry>
<entry><ind>22.0</ind> <dep>0.1</dep></entry>
</table>
</product>
</expression>
</input>
<output>/sim/sound/other/gear</output>
</filter>
<filter>
<type>gain</type>
<gain>1</gain>
<input>
<expression>
<product>
<property>/sim/current-view/internal</property>
<table>
<product><property>/velocities/groundspeed-kt</property><value>1</value> </product>
<entry><ind> 0</ind><dep>0.0001</dep></entry>
<entry><ind> 10</ind><dep>0.0010</dep></entry>
<entry><ind>100</ind><dep>0.0100</dep></entry>
<entry><ind>250</ind><dep>0.1000</dep></entry>
<entry><ind>550</ind><dep>0.3000</dep></entry>
</table>
</product>
</expression>
</input>
<output>/sim/sound/other/cockpit-wind-v</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>
<property>/velocities/groundspeed-kt</property>
<entry><ind> 0</ind><dep>0.0001</dep></entry>
<entry><ind> 10</ind><dep>0.0010</dep></entry>
<entry><ind>100</ind><dep>0.0100</dep></entry>
<entry><ind>250</ind><dep>0.1000</dep></entry>
<entry><ind>550</ind><dep>0.3000</dep></entry>
</table>
</expression>
</input>
<input>0</input>
<output>/sim/sound/other/wind-v</output>
</filter>
<filter>
<type>gain</type>
<gain>1</gain>
<input>
<expression>
<product>
<property>/sim/sound/internal-custom</property>
<table>
<property>/velocities/groundspeed-kt</property>
<entry><ind> 0</ind><dep>0.5</dep></entry>
<entry><ind>550</ind><dep>1.0</dep></entry>
</table>
</product>
</expression>
</input>
<output>/sim/sound/other/wind-p</output>
</filter>
<filter>
<type>gain</type>
<gain>1</gain>
<input>
<condition>
<property>/sim/current-view/internal</property>
</condition>
<expression>
<table>
<property>/velocities/groundspeed-kt</property>
<entry><ind> 10</ind><dep>0.0</dep></entry>
<entry><ind>110</ind><dep>0.5</dep></entry>
<entry><ind>140</ind><dep>1.0</dep></entry>
</table>
</expression>
</input>
<input>0</input>
<output>/sim/sound/other/cockpit-roll-v</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>
<property>/velocities/groundspeed-kt</property>
<entry><ind> 10</ind><dep>0.0</dep></entry>
<entry><ind>110</ind><dep>0.5</dep></entry>
<entry><ind>140</ind><dep>1.0</dep></entry>
</table>
</expression>
</input>
<input>0</input>
<output>/sim/sound/other/roll-v</output>
</filter>
<filter>
<type>gain</type>
<gain>1</gain>
<input>
<condition>
<property>/sim/sound/internal-custom</property>
</condition>
<expression>
<table>
<property>/velocities/groundspeed-kt</property>
<entry><ind> 10</ind><dep>0.5</dep></entry>
<entry><ind>140</ind><dep>1.0</dep></entry>
</table>
</expression>
</input>
<input>0</input>
<output>/sim/sound/other/roll-p</output>
</filter>
<filter>
<type>gain</type>
<gain>0.025</gain>
<input>
<condition>
<property>/sim/sound/internal-custom</property>
</condition>
<property>/systems/pneumatic/pack-psi</property>
</input>
<input>0</input>
<output>/sim/sound/other/air-con</output>
</filter>
</PropertyList>

File diff suppressed because it is too large Load diff

View file

@ -1 +1 @@
4802
4803