Dave PERRY: fixes pilot and nav light colors
[fg:toms-fgdata.git] / Aircraft / rallye-MS893 / Sounds / rallye-MS893-sound-simple.xml
1 <?xml version="1.0"?>
2  
3 <PropertyList>
4
5  <fx>
6  
7   <crank>
8    <name>engstart</name>
9    <path>Sounds/engstart.wav</path>
10    <property>Aircraft/rallye-MS893/Sounds/MS893A_starter_recip1.wav</property>
11    <volume>
12     <offset>0.4</offset>
13    </volume>
14   </crank>
15
16   <crank>
17    <name>crank</name>
18    <mode>looped</mode>
19    <path>Aircraft/rallye-MS893/Sounds/MS893A_starter_recip1.wav</path>
20    <condition>
21     <property>/engines/engine/cranking</property>
22     <not>
23      <property>/engines/engine/running</property>
24     </not>
25    </condition>
26    <volume>
27     <offset>0.5</offset>
28    </volume>
29   </crank>
30
31   <crank>
32    <name>cough</name>
33    <path>Sounds/coughing.wav</path>
34    <property>/engines/engine/running</property>
35    <volume>
36     <offset>0.3</offset>
37    </volume>
38   </crank>
39
40   <engine>
41    <name>engine</name>
42    <mode>looped</mode>
43    <path>Aircraft/rallye-MS893/Sounds/MS893A_engn1_INN.wav</path>
44    <property>/engines/engine/running</property>
45    <volume>
46     <property>/engines/engine/mp-osi</property>
47     <factor>0.00375</factor>
48     <min>0.15</min>
49     <max>0.5</max>
50    </volume>
51    <volume>
52     <property>/orientation/alpha-deg</property>
53     <type>log</type>
54     <min>1.0</min>
55     <max>1.5</max>
56    </volume>
57    <volume>
58     <property>/sim/current-view/internal</property>
59     <offset>1.0</offset>
60     <factor>-0.7</factor>
61    </volume>
62    <pitch>
63     <property>/engines/engine/rpm</property>
64     <factor>0.0004</factor>
65     <min>0.5</min>
66     <max>2.0</max>
67     <offset>0.15</offset>
68    </pitch>
69   </engine>
70
71   <propeller>
72    <name>propeller</name>
73    <mode>looped</mode>
74    <path>Aircraft/rallye-MS893/Sounds/MS893A_prop1.wav</path>
75    <property>/engines/engine/running</property>
76    <volume>
77     <property>/orientation/alpha-deg</property>
78     <type>log</type>
79     <min>0.2</min>
80     <max>1.0</max>
81    </volume>
82    <volume>
83     <property>/sim/current-view/internal</property>
84     <factor>0.5</factor>
85    </volume>
86    <pitch>
87     <property>/engines/engine/mp-osi</property>
88     <factor>0.0036</factor>
89     <min>0.5</min>
90     <max>2.0</max>
91     <offset>0.9</offset>
92    </pitch>
93   </propeller>
94
95   <rumble>
96    <name>rumble</name>
97    <mode>looped</mode>
98    <path>Aircraft/rallye-MS893/Sounds/MS893A_roll_runway.wav</path>
99    <condition>
100     <or>
101      <property>/gear/gear[0]/wow</property>
102      <property>/gear/gear[1]/wow</property>
103      <property>/gear/gear[2]/wow</property>
104     </or>
105     <!-- <property>/sim/current-view/internal</property> -->
106    </condition>
107    <volume>
108     <property>/velocities/airspeed-kt</property>
109     <type>log</type>
110     <factor>0.25</factor>
111    </volume>
112   </rumble>
113
114 <!-- the c172 doesn't have a retractable landing gear
115   <gear>
116    <name>gear</name>
117    <mode>in-transit</mode>
118    <path>Sounds/gear.wav</path>
119    <property>/gear/gear[0]/position-norm</property>
120   </gear>
121
122   <gear>
123    <name>gear-lock</name>
124    <path>Sounds/gear-lck.wav</path>
125    <condition>
126     <greater-than>
127      <property>/gear/gear[0]/position-norm</property>
128      <value>0.9</value>
129     </greater-than>
130    </condition>
131   </gear>
132 -->
133
134   <squeal>
135    <name>squeal</name>
136    <path>Sounds/squeal.wav</path>
137    <condition>
138     <or>
139      <property>/gear/gear[0]/wow</property>
140      <property>/gear/gear[1]/wow</property>
141      <property>/gear/gear[2]/wow</property>
142     </or>
143    </condition>
144    <volume>
145     <property>/velocities/speed-down-fps</property>
146     <factor>0.5</factor>
147     <max>1.0</max>
148    </volume>
149    <volume>
150     <property>/velocities/airspeed-kt</property>
151     <factor>0.01</factor>
152     <max>1.0</max>
153    </volume>
154    <volume>
155     <internal>dt_stop</internal>
156     <factor>0.05</factor>
157     <max>1.0</max>
158    </volume>
159    <pitch>
160     <property>/velocities/airspeed-kt</property>
161     <factor>0.0025</factor>
162     <offset>1.2</offset>
163    </pitch>
164   </squeal>
165  
166   <flap>
167    <name>flaps</name>
168    <mode>in-transit</mode>
169    <path>Sounds/flaps.wav</path>
170    <property>/surface-positions/flap-pos-norm</property>
171    <volume>
172     <factor>0.8</factor>
173    </volume>
174    <reference-dist>10.0</reference-dist>
175    <max-dist>20.0</max-dist>
176   </flap>
177
178   <wind>
179    <name>wind</name>
180    <mode>looped</mode>
181    <path>Sounds/wind.wav</path>
182    <property>/velocities/airspeed-kt</property>
183    <volume>
184     <property>/position/altitude-ft</property>
185     <factor>-0.000015</factor>
186     <offset>1.0</offset>
187     <min>0.1</min>
188     <max>1.0</max>
189    </volume>
190    <volume>
191      <property>/velocities/airspeed-kt</property>
192      <factor>0.0015</factor>
193      <min>0.03</min>
194      <max>0.25</max>
195    </volume>
196    <pitch>
197     <property>/velocities/airspeed-kt</property>
198     <factor>0.0035</factor>
199     <offset>1.25</offset>
200    </pitch>
201   </wind>
202  
203   <stall>
204    <name>stall</name>
205    <mode>looped</mode>
206    <path>Sounds/stall.wav</path>
207    <condition>
208     <and>
209      <property>/sim/alarms/stall-warning</property>
210      <greater-than>
211        <property>/velocities/airspeed-kt</property>
212        <value>10</value>
213      </greater-than>
214      <not>
215        <property>/gear/gear[0]/wow</property>
216        <property>/gear/gear[1]/wow</property>
217        <property>/gear/gear[2]/wow</property>
218      </not>
219     </and>
220     <!-- <property>/sim/current-view/internal</property> -->
221    </condition>
222    <volume>
223     <property>/sim/alarms/stall-warning</property>
224     <max>1.0</max>
225    </volume>
226    <reference-dist>10.0</reference-dist>
227    <max-dist>20.0</max-dist>
228   </stall>
229  
230 <!-- no binding yet?
231   <click>
232    <name>click</name>
233    <path>Sounds/click.wav</path>
234   </click>
235 -->
236
237 </fx>
238  
239 </PropertyList>